Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make AutoAP run only once after a reboot #159

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

S57PNX
Copy link
Contributor

@S57PNX S57PNX commented Aug 16, 2024

Previously, AutoAP restarted immediately after the timeout, so it was effectively running all the time if wifi was absent or not configured.

With this change, If wifi goes away, AutoAP mode will run only once. After AutoAP timeout, code will check regularily if wifi returns and during checks the wifi card will be idle. If wifi is not configured, AutoAP will run only once and then keep card idle for lower power consumption.

Display is adjusted accordingly, with "Wifi: --" when the card is in idle mode and "Wifi: BK" in BACKUP DIGI MODE.

This reduces idle current consumption on my Lora32 2.1_1.6 from approx. 85mA @12v (with AutoAP running) to 37mA (stopped wifi).

@richonguzman
Copy link
Owner

could you test this again with this if your results are the same with this KILL WIFI??

added a WIFI KILL Switch (on Wifi AP section of webUI config)

this is to kill Wifi and WifiAP completely from restart for pure Remote Digirepeater which should lower power comsumption a lot (as we need for this special cases)

please test it a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants