Help.
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?
Calm.
Calm.
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.
I had read the data on this link, but I could not understand it well.
because I have to translate, the translation comes out a bit confusing.
For a better understanding, the Blynk masters always help.
I edited the programming in ESP32, I will carry out the tests.
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.connectWiFi(ssid, pass);
Blynk.config(auth, server ,port);
Blynk.connect(timeout);
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.