Hello, my Blynk IOT device is running on an Huzzah32 connected to Arduino 1.8.8 on a Mac Pro. I am attempting to reset my WiFi-provisioned credentials by using the physical button as outlined in the doc, Step 10. When I press the button during boot up I receive the following messages:
[37471] Hold the button for 10 seconds to reset configuration...
Initialization finished
[38039] Resetting configuration!
[38042] Configuration stored to flash
[38297] nvs_flash_erase: Success
[38297] RESET_CONFIG => WAIT_CONFIG
E (38703) phy_init: esp_phy_load_cal_data_from_nvs: NVS has not been initialized. Call nvs_flash_init before starting WiFi/BT.
[40904] AP SSID: Blynk BackpAQV3-3E796
[40905] AP IP: 192.168.4.1
[40906] AP URL: blynk.setup
I then go to my WiFi tab and reset the SSID to " Blynk BackpAQV3-3E796". Next, I launch a Safari browser and enter the URL “192.168.4.1”. I then get the following message:
Not found: /
…which seems to indicate that the requested page cannot be found at that server address (i.e., a “404”). I have poked around and believe the web server is operating properly but somehow I am not fetching the correct starting page for the configuration. EDIT: I have also tried with other browsers/platforms so seems not specific to my Mac or network.
The only customization I have done to Edgent are the pins for the start reconfig (BOARD_BUTTON_PIN) and LED display (BOARD_LED_PIN_WS2812) which I modified to fit my feather board. BTW I am not getting any LEDs lit during boot or provisioning sequence…this might be a separate issue but not sure.
Any thoughts on what I am doing wrong here? I have successfully done this type of provisioning with WiFiManager (old Blynk) so I kind of know how it’s supposed to work. But this is a mystery. Thanks!
Madhukesh, thanks so much…that’s it! I was thinking of how it was done with WiFiManager which requires browser entry. What’s still puzzling, though, is that after I clicked on “New Device” and did the re-provisioning I ended up with another instance of my device…I would have expected to see the same device, just with updated (replaced) WiFi creds. This may be a bit confusing to end users if they change their WiFi a few times and start to accumulate “devices”.
Thanks again Madhukesh! I have hunted around with the app but cannot see anything other than “Add Device”…this is the screen on my iPhone that I get after pressing the “hamburger” icon in the upper right corner of the main Blynk “Devices” page:
Select your device from the “tiles” screen, then hit the three dots in the top right hand corner.
Repeat this once more, and you get this screen…
It’s about your LAN settings that may limit your cross subnets connections.
You can provide new static IP of your device that will accord to your actual LAN setup by editing #define WIFI_AP_IP#define WIFI_AP_Subnet strings in Settings.h of the sketch.
Pete, all - WiFi provisioning is working well now that I understand and follow the process. It’s actually quite easy to do once you get the “…” bits. Thanks to all for your help…it’s a terrific capability!