WiFi manager for ESP8266 - ESP12 - ESP32 for micropython
Go to file
Dheeraj kumar 3c380fbc17
Merge 769c5574ab into b86a900cf5
2021-06-04 19:37:30 +05:30
.gitignore add a .gitignore 2017-12-11 14:43:23 +01:00
LICENSE Initial commit 2017-10-22 22:47:31 +03:00
README.md feat(json): add json response feature 2021-06-04 19:25:22 +05:30
WiFi_Manager.png new layout 2017-12-18 11:14:11 +03:00
main.py Rename module name to wifimgr 2017-12-18 08:37:30 +03:00
wifimanager-html.py feat(json): add json response feature 2021-06-04 19:25:22 +05:30
wifimanager-json.py feat(json): add json response feature 2021-06-04 19:25:22 +05:30

README.md

WiFi Manager

Lang : Micropython Tested : 1.15

Description : WiFi manager for ESP8266 - ESP12 - ESP32 for micropython

Main Features:

  • Web based connection manager
  • Save wifi password in "wifi.dat" (csv format)
  • Easy to apply

Added Features:

  • Add Json response feature instead of html
  • Can Integrate to any native app with json response

Usage:

Upload main.py and wifimanager-html.py to ESP.(for configure with browser) Use wifimanager-json.py to ESP.(for configure with Native App) Write your code into main.py or import it from main.py.

  • 192.168.1.4 will return available network ssid in json response.
  • 192.168.1.4/configure send ssid and password in json data and it will return success/failed message in json response.

Logic:

  1. step: Check "wifi.dat" file and try saved networks/passwords.
  2. step: Publish web page to configure new wifi.
  3. step: Save network/password to "wifi.dat" file.
  4. step: Run user code.

alt text

**web server based on code of CPOPP - https://github.com/cpopp/MicroPythonSamples