BLYNK
BLYNK.IO       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

BlynkEdgent, How it works?

Hi Blynkers,

I’m “upgrading” my skecht from Blynk Legacy to Blynk 2.0, with the BlynkEdgent.

In the old days (one month ago), in order to handle a sudden energy power off, and power on, I used the wifiManager timeout:

wifiManager.setConfigPortalTimeout(180);

The reason for that was the longer time took by the AP in provide internet access after a power ON.

It worked like a charm.

My question is how to manage this with BlynkEdgent. Assuming that the user already made the Wifi provissioning, and the device was working fine for a time, but a sudden power shut down,happens and after a time the power is recovered, but no WiFi is available right away (it ussually takes about 2 or 3 minutes to be ready).

BlynkEdgent is not a library (yet?). it is only a template/example sketch.
see enterConnectNet in ConfigMode.h