You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 25, 2021. It is now read-only.
Hi @khoih-prog
Yes, it's been some while. I'm back at it, adding OTA to all my sketches.
Request: I have forgotten how to cause the Config Portal to come up from a ESP32 or 8266 sketch.
I thought Blynk.clearConfigData(); followed by a ESP.restart(); would do it. The restart works, but the Confog Portal doesn't post.
Would you be kind enough to (re)explain how to get a Config Portal up besides mechanically using DRD? (I'm going for touch-free devices!)
Thanks again for all your help, and in advance.
{
// Get the Reset button value, Hit Reset and reboot if = 1
int buttonVal = param[0].asInt();
Serial.print ( " " );
Serial.print ( "RESET Button Hit with value = " ); Serial.println ( buttonVal );
if ( buttonVal == 1 )
{
Serial.println ( " \n REBOOTING " );
Blynk.clearConfigData();
delay ( 8000 );
ESP.restart();
}
}
I've been using your Blynk_WM on SONOFFs and on a variety of ESPx monitors. WM Library has been helpful, stable, useful and reliable to me. Thanks. @thorathome