kakopappa / sinric

Amazon Alexa Smart home skill / Google Home Action for ESP8266 / ESP32 / Arduino
https://sinric.com
284 stars 166 forks source link

WiFi does not reconnect after long connection #458

Open ajarsco opened 3 years ago

ajarsco commented 3 years ago

WiFi does not reconnect after long constant connection(disconnects automatically and doesn't reconnect)

For short time periods the reconnection code works (WiFi.setAutoReconnect(true);), But for long time the ESP becomes unreliable.

The ESP should be restarted to regain the connection. On restarting it again goes to the setup part to WiFi.begin(MySSID, MyWifiPassword);

What should we do to regain the WiFi in this situation! Help me to solve this issue.