r-downing/PersWiFiManager

basic WifiManager replacement example?

schweini opened this issue · 2 comments

This library sounds exactly like what I need right now - but I have to admit that I can't find any basic documentation on how to get it running?

It sounds as if this module offers the same functionality as WifiManager (start AP mode with wifi configuration captife portal) if the ESP8266 can't connect to its previous network), but allow the ESP8266 to run other stuff while in AP mode. If this is indeed the case, how do I actually do that?

  1. the captive portal gets "http://<apmode_ip>/".
  2. the webserver behind redirects "/" to "index.htm"

  1. you must design an index.htm that will be displayed in captive portal mode or when calling "http://<apmode_ip>/" in a browser
  2. this index htm shouds contain at least two links > for example "WiFi-manager stuff (target: /settings.htm)" and "other stuff (target: myStuff.htm)"
  3. some APIs are available as default. For exampla /wifi, /wifi/rst,
  4. you can create custom APIs (see examples > "server.on"-handlers
  5. all htm files must be uploaded to the flash memory before running the project

Hi @JensW2000

How can I adapt this library to be used without SPIFFS? the idea is that the htm pages are inside the code in the .ino file
What parts of the code should I modify and by what commands should I replace them?