ı have 2 esp32 , a raspberry pi 4b used for a blynk local server, a router
ı use blynk app to control lights by esp32
at beginning everything is ok, ı try the system many times, it works well for hours
4-5 hours later ı found both esp32 offline, ı control, local blynk server, router, blynk app all of them is ok except for esp32, they are offline, when ı reset them they immediately connect and works truely,
they need to reset, it is some annoying.
ı use arduino IDE and codes are from blynk example library
as ı say it works for hours but something happens that makes esp32 to be offline and they dont reconnect to server
Take a look at this article that shows different ways to automatically reconnect to wi-fi if the connection is lost:
If you have a wi-fi repeater or a wi-fi booster in your local network, it may cause issues with the ESP32 wi-fi network.
ı use blynk app so ı dont know how to integrate these codes to my project
as you know, ı sue blynk codes in my project
actually ı believe blynk code contains codes related to wifi reconnect and ı see it in my applications
esp32 breaks and reconnect immediately but from time to time ı see the mentioned problem forgetting to reconnect wifi
I don’t use blynk. But if you share your code, maybe I can help.
However, if it is something related to blynk, it would be better to use their forum.
They are a very active community, and they may be more familiar with those issues.
Here’s the link: https://community.blynk.cc/c/projecthelp/22
I hope this helps.