Control WiFi Radio

Hi,

Would it be possible to add a commandset to turn on and off the WiFi Radio?

This would permit a scene to trigger the activation or de-activation of the Wifi (going to sleep or leaving the house could shutdown the wifi radio).

Kind regards,

Tjardick van der Kraan

There are various openwrt packages that if installed would all you to write Luup that could shell out to the OS to turn the radio on and off. Just Google for “openwrt radio off”.

os.execute(“command”) will all you to run shell commands within a Luup scene. You need to include the double quotes around you command.

I’m also interested in turning wifi off/on from a timer within a scene.

Anyone figure out the actual code needed?

https://forum.openwrt.org/viewtopic.php?id=13176