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
Reboot when node can not connect to AP #2338
Comments
In the advanced settings you can change a few things. For example you may set the WiFi to B/G mode, which will make the connection more stable when you have poor wifi reception.
This allows to perform a reboot after the set number of failed connection attempts. (default 0 = disable this feature) |
Connection Failure Threshold is set to 0. |
What core version do you use? Also if possible, you can also try to rotate the ESP to maybe improve WiFi reception. For the PCB trace antenna, it is mainly sensitive in the direction where the trace points to. (starting at the 2 lines next to eachother) Also reception may improve when not positioned on the ground and try to move a bit away from metal. |
Well, after trying to rotate your house and settling with the neighbors, you can always try the wifi extender ;) |
:) But it's bad that if you lose WIFI coverage, the node resets. It should normally work offline from time to time trying to connect to WIFI. |
This rule will reboot the ESP after 2 minutes that the MQTT is not reachable.
|
@TD-er Maybe something can be done to make the whole flash clean with OTA flash? |
Sometimes I get the impression some left-over settings which are out of our reach, may affect wifi performance.
|
Only in my case the version is the same, the physical conditions are the same. The difference is in cleaning the flash. |
Yep, clearing the flash is a good one (I just suggested to do the same on another issue) |
I do not see any problem to clear flash with every update. But only if I can do it through OTG without removing the ESP from the wall. |
Clearing the flash will also clear the configuration (SPIFFS filesystem) so then you have to redefine the wifi settings for example. |
In one room I have a weak wifi coverage.
Is there any function in the code that triggers a reset on connection problems?
The text was updated successfully, but these errors were encountered: