Hi espressif staft,
Do you have any guide to do Wi-Fi Provisioning over web browser in which you have any template to send ssid and password, I'm using esp-idf 4.4.6? A client (computer) must connect to the esp32, and open a captive portal automatically.
Thanks in advance.
I'm folowing this example https://github.com/espressif/esp-idf/bl ... g.rst#id41 but it use a mobile app, and I do not need to my application, only use a web browser.
Wi-Fi Provisioning over web broser example
-
- Posts: 10
- Joined: Tue Sep 22, 2020 4:53 pm
-
- Posts: 24
- Joined: Wed Jul 06, 2022 8:36 am
Re: Wi-Fi Provisioning over web broser example
Hello @iotdeveloperfw,
Not exactly a way to use the browser but you can use the ESP Provisioning Tool: https://github.com/espressif/esp-idf/tr ... s/esp_prov to connect your host (computer) with esp32.
Thanks!
Not exactly a way to use the browser but you can use the ESP Provisioning Tool: https://github.com/espressif/esp-idf/tr ... s/esp_prov to connect your host (computer) with esp32.
Thanks!
-
- Posts: 10
- Joined: Tue Sep 22, 2020 4:53 pm
Re: Wi-Fi Provisioning over web broser example
Hi,
Thank you for your reply, Unfortunatly I can apply in my solution because it's a requirement that the wifi provisioning must use a web browser so it implicates that esp support ap mode, open a captive portal, put the new credentials and connect to it.
Thank you for your reply, Unfortunatly I can apply in my solution because it's a requirement that the wifi provisioning must use a web browser so it implicates that esp support ap mode, open a captive portal, put the new credentials and connect to it.
Re: Wi-Fi Provisioning over web broser example
hi
try
ESP32 WiFi Connect to an access point or create an access point using SSID/Pass saved in NVS.
https://github.com/ok-home/nvs_wifi_connect/tree/master
try
ESP32 WiFi Connect to an access point or create an access point using SSID/Pass saved in NVS.
https://github.com/ok-home/nvs_wifi_connect/tree/master
-
- Posts: 1
- Joined: Sat Nov 09, 2024 8:42 am
Re: Wi-Fi Provisioning over web broser example
I've developed a solution for using IDF WiFi Provisioning with a custom endpoint that serves a webpage that allows to do exactly what you need. I'm thinking about polishing it and releasing as an standalone component, maybe in the future.
You can take a look here: https://github.com/pablogs9/robotlearni ... .cpp#L2333
Sorry for the code, its an ongoing project and it requires some cleanup.
Hope that works.
You can take a look here: https://github.com/pablogs9/robotlearni ... .cpp#L2333
Sorry for the code, its an ongoing project and it requires some cleanup.
Hope that works.
Who is online
Users browsing this forum: Baidu [Spider] and 122 guests