-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
WiFi dropouts unless using WiFi.setSleepMode(WIFI_NONE_SLEEP) #135
Comments
This is most likely related to the fact that the default for the wifi sleep type is MODEM_SLEEP, a change in behaviour resulting from the ESP8266 Arduino core updating the underlying nonos-sdk and the introduction of the |
You are probably correct here. I've posted and linked the two issues. Closing this one. |
I've noticed lately that multiple devices I have have started dropping off WiFi and reconnecting (causing MQTT dropouts etc) unless I specify
WiFi.setSleepMode(WIFI_NONE_SLEEP)
when setting up the WiFi adapter.ESP.getFullVersion() output:
WiFi setup code in setup():
And the functions:
update_status is a global string that is included on the web page interface.
If I comment out the setSleepMode line, I get regular wifi disconnections.
The text was updated successfully, but these errors were encountered: