When I start the ESP32 with the WIFI network turned on, the program performs as correct.
The manual trigger only works when the network is switched off, when the network is switched on BLYNK automatically connects.
But if you start with the WIFI turned off, the program gets stuck, and does not even start LOOP ().
In other posts I realized that this happens because (Blynk.begin () tries to connect, and the LOOP is only going to work when ouver connect
Is there a way to make the program work without this failure?
I know how to use basic Blynk.config () code, just connected in Wfi, but I always start the program without a Wifi network the program gets locked inside the SETUP (), as already said in the help request.
in this part that peciso helps.
Hello everyone. I have the same problem. Has anyone solved this problem? At the moment I want to build a new project on ESP32. This project requires high stability regardless of the availability of the Internet or wifi.
This code works fine if the wifi router online:
Blynk.config(auth, server ,port);
However, if the router is offline the ESP32 hangs on the line №1.
If I use instead of the first line: WiFi.begin(ssid, pass);, the code always hangs on the line №3 regardless of the connection status and timeout.