kopia lustrzana https://github.com/tayfunulu/WiFiManager
![]() |
||
---|---|---|
.gitignore | ||
LICENSE | ||
README.md | ||
WiFi_Manager.png | ||
main.py | ||
wifimanager-html.py | ||
wifimanager-json.py |
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:
- step: Check "wifi.dat" file and try saved networks/passwords.
- step: Publish web page to configure new wifi.
- step: Save network/password to "wifi.dat" file.
- step: Run user code.
**web server based on code of CPOPP - https://github.com/cpopp/MicroPythonSamples