Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic WifiManager replacement example? #9

Open
schweini opened this issue Mar 25, 2018 · 2 comments
Open

basic WifiManager replacement example? #9

schweini opened this issue Mar 25, 2018 · 2 comments

Comments

@schweini
Copy link

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?

@JensW2000
Copy link

  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

@arlaor
Copy link

arlaor commented May 16, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants