We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Turning off wifi



  • Hi All,
    Is it possible to switch off wifi, and what current does it draw without wifi?
    Looking to run off batteries for as long as possible.
    Thanks
    David



  • @David-Wallis95 said in Turning off wifi:

    Is it possible to switch off wifi, and what current does it draw without wifi?

    Yes definitely, you can easily switch off the wifi. On my bench an Omega2 draws 190mA with wifi on and 120mA with the wifi turned off.
    Here are several ways to disable wifi -

    1. During a session - in a terminal window the command "wifi down" turns off the wifi and "wifi" or "wifi up" turns it back on. Documented here near page bottom.

    2. First I'll state the obvious... you will have a UART or appropriate dock for serial connection before testing this. By modifying the wireless config file, as mentioned here the Omega will turn off wifi while starting up.

    3. You can toggle wifi off/on via a push button or a timer and the scripts, as detailed in those LEDE instructions. (edit - here the code tied to the "SES" button would be changed to work with input from a push-button on an Omega GPIO pin.)



  • @Ken-Conrad
    Sorry for replying to such an old topic but I'm looking to do this with an Omega2S+. I can see it does indeed have the hotplug.d directory so this should work. I however am not sure what to replace "SES" with in the shell script. I want to toggle WiFi on/off when GPIO 19 goes low. Would I just replace "ses" with "19"?


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.