Wi-Fi Provisioning over web broser example

iotdeveloperfw
Posts: 10
Joined: Tue Sep 22, 2020 4:53 pm

Wi-Fi Provisioning over web broser example

Postby iotdeveloperfw » Wed Jan 03, 2024 7:39 pm

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.

ESP_harshal
Posts: 24
Joined: Wed Jul 06, 2022 8:36 am

Re: Wi-Fi Provisioning over web broser example

Postby ESP_harshal » Thu Jan 04, 2024 8:59 am

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!

iotdeveloperfw
Posts: 10
Joined: Tue Sep 22, 2020 4:53 pm

Re: Wi-Fi Provisioning over web broser example

Postby iotdeveloperfw » Thu Jan 04, 2024 4:56 pm

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.

User avatar
ok-home
Posts: 78
Joined: Sun May 02, 2021 7:23 pm
Location: Russia Novosibirsk
Contact:

Re: Wi-Fi Provisioning over web broser example

Postby ok-home » Thu Jan 04, 2024 5:51 pm

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

pablogarrido
Posts: 1
Joined: Sat Nov 09, 2024 8:42 am

Re: Wi-Fi Provisioning over web broser example

Postby pablogarrido » Sat Nov 09, 2024 8:49 am

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.

Who is online

Users browsing this forum: MSN [Bot] and 174 guests