• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 WifiManager

Q&A Forum › Category: ESP32 › ESP32 WifiManager
0 Vote Up Vote Down
Pat McKay asked 3 years ago

Hi,
Making real progress and I’m now needing to setup wifi manager. Is there a sample/example to show the setup of WifiManager for ESP32 (AI-Thinker board)?
Thanks again
Pat

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Setting up Wi-Fi Manager for the AI-Thinker is the same as setting up Wi-Fi Manager for any other ESP32 board.
At the moment, we don’t have any tutorial about WiFi Manager with the ESP32.
I think this is the most used library for that, but it hasn’t been updated for some time: https://github.com/zhouhan0126/WIFIMANAGER-ESP32
Regards,
Sara

0 Vote Up Vote Down
Pat McKay answered 3 years ago

Thanks Sara,
Tried the library you mentioned but, as you say, its pretty old and couldn’t get it to work.
However what I’m thinking is to store the SSID/password in nvs or spiffs and have the code check if exists and try to connect. if no connection stored or it fails then we launch in soft mode. I’ll have a http endpoint (something like http://[ip_address]/manager to launch a page to post SSID/password back to ESP32 storage.
Hope this makes sense and if someone else has done this maybe point me in the right direction?
Regards
Pat

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi Pat.

We have a topic about storing the SSID and password on SPIFFS.
One of our readers shared his example: https://rntlab.com/question/read-spiffs-file-line-by-line/

Scroll all the way down until the end of the discussion.

Once you can do this, try to connect to the network saved in spiffs. If it fails after an X number of attempts, start in access point mode.

I hope this helps.

I’m sorry, but at the moment, we don’t have that example you’re looking for.

If you have some issues throughout the process, you can ask.

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.