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

Reset all pin in case of loss of internet

Hello,

I am using esp32 with Blynk2.0 for a simple project for my home automation.

Issue is that when my device loss internet its all pin get reset.

As we have BLYNK_CONNECTED() event to handle when we connected to blynk server, similarly I think blynk library has handled disconnect event to reset all pins.

Kindly provide solution to overwrite disconnect event.

Thanks

Ashutosh

Hey there,
When you create a datastream there’s an option in the additional settings " Sync with latest server value every time device connects to the cloud ", make sure to activate it.