I am having problems with Sample code of Blynk EdgentESP8266 https://docs.blynk.io/en/getting-started/activating-devices/blynk-edgent-wifi-provisioning
I use the Blynk IoT application to connect WiFi network to ESP and everything works well (ESP connected to Blynk Cloud). But then 1-2 minutes, ESP lost the connection.
I observed on the serial screen, it seems that the program itself resets returns to the original configuration although there is no impact from the physical push button.
Anyone has encountered the same problem please share! Thanks
You haven’t un-commented a board type in your sketch, and the “Hold the button for 10 seconds…” message tells me that you are using the button pin for the default board configuration for something else in your sketch.
You should read this:
especially the " Defining your physical switch and LED" section.
Thanks Pete. problem solved
I found another problem is when I reconfigure esp and reconnect to wifi network I have to add new device and remove previous device
Is there any other way than above solution?