Hello Community,
I followed the instruction to download the blynk library and launch the edgent and I got about 6 tabs of code.
I input my template ID and my firmware ID as well. I ran it on my nodemcu board and I was able to connect to my device using the old app.
This was awesome at first but now, I have been trying to run the code again and each time, it still trying to connect to my old wifi.
I don’t want this. I want my device to be in AP mode so I can connect to a different wifi. I don’t know how to do this. I have gone through the code but don’t know how to tell the code to return back to AP mode after few tries connecting to the previous wifi.
I’m not that familiar with the NodeMCU boards or ESP8266’s in general but is there a chance you have your previous credentials stuck in flash?
I’d try running the esptool erase_flash and trying again, alternatively Pete’s, and quicker would be Pete’s suggestion which uses one of the boards buttons to reboot it in AP mode.
If you decide to go the esptool route and you don’t have it:
Yes Pete. I uncommented USE_NODE_MCU_BOARD in Edgent_ESP8266.ino.
Is there an extra code I can put in to say, after this many tries connecting to the last known wifi, set wifi status back to AP mode? Thank you.