Open zoidicus opened 7 years ago
Did you ever find a solution to this problem? I'm experiencing the exact same symptoms :(
If not tried yet, you can have a go with these tweaks and report here. You can also try to reset (only) wifi if the above don't help.
Thanks a lot for the link! I will try the tweaks.
Have you had good success getting stable operation with your ESP8266 projects?
Darren
On Tue, Aug 28, 2018 at 8:35 PM david gauchard notifications@github.com wrote:
If not tried yet, you can have a go with these tweaks https://github.com/esp8266/Arduino/issues/5083#issuecomment-416194799 and report here. You can also try to reset (only) wifi if the above don't help.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/esp8266/Arduino/issues/3561#issuecomment-416784598, or mute the thread https://github.com/notifications/unsubscribe-auth/Ag3P2xausgz6kwfUuQA07b7IwpUK80N3ks5uVeHsgaJpZM4PJqRg .
Hardware
Hardware: Adafruit Huzzah Esp8266 feather Core Version: 2.3.0
Description
After many hours of successful operation, including some successful automatic reconnects, my project (station only mode) loses WiFi connection and starts reporting WL_NO_SSID_AVAIL. The elapsed time from reboot to eventual failure is quite random; anywhere from about 1 to 20 hours. I have a scheduled task that blinks the value of WiFi.status() to the on-board LED every 10 seconds, 24x7. Normally it reports WL_CONNECTED, but once the random disconnect occurs, it reports WL_NO_SSID_AVAIL and remains that way no matter how long I let it sit. Other functions of the application appear to keep working, although it's tough to be absolutely sure. Mobile devices and laptops on the same WiFi continue to work fine. The WiFi router's list of attached devices no longer includes the Esp. If I manually reset the Esp8266, it reconnects quickly, so clearly the WL_NO_SSID_AVAIL status reported constantly for the past several hours is misleading.
It is my understanding that the core will automatically handle re-connection, but it does not always appear to be so. If I manually power off the router, the Esp reports WL_NO_SSID_AVAIL as I would expect, but as soon as I power on the router, the Esp reconnects just fine. That is not occurring after the random disconnect. I have not tried any manual disconnect/reconnect handling in code, partially because I see so many conflicting discussions about the "correct" way to do it, and whether it is needed at all.
The board is dual powered: 1A USB, and a LIPO battery (stock Adafruit Feather configuration).
Settings in IDE
Module: Adafruit Huzzah Esp8266 Flash Size: 4/1 CPU Frequency: 80Mhz Flash Mode: ? Flash Frequency: ? Upload Using: OTA Reset Method: manual reset after board loses WiFi. otherwise soft resets only.
Sketch
I don't know that a sketch is really going to be helpful, but here are the relevant bits, trimmed for brevity.