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

Web portal should load after wifi connection details established #13

Closed
vanstinator opened this issue Sep 7, 2021 · 12 comments
Closed
Labels
enhancement New feature or request

Comments

@vanstinator
Copy link

I used the website to flash an esp32 dev board. After connecting to wifi I was hoping to change additional settings from my desktop but the captive portal doesn't seem to be available. I would love to be able to hit the board at it's IP and be able to mess with additional settings.

@vanstinator vanstinator added the enhancement New feature or request label Sep 7, 2021
@DTTerastar
Copy link
Contributor

Totally agree. WifiSettings lib doesn't do that out of the box. Looking for lib that supports that.

@ragenhe
Copy link

ragenhe commented Sep 8, 2021

It might just be a tiny web server that is needed?

@DTTerastar
Copy link
Contributor

PRs accepted!

@czendler
Copy link

This might be useful
https://github.com/rjwats/esp8266-react

@DTTerastar
Copy link
Contributor

That is VERY cool. The issue is it uses SPIFFS to store the web server contents, but we use SPIFFS to store the settings atm:

https://github.com/Juerd/ESP-WiFiSettings/blob/master/WiFiSettings.cpp#L3
https://github.com/Juerd/ESP-WiFiSettings/blob/master/WiFiSettings.cpp#L43

If we added that everyones ESPs would forget what Wifi to connect to every new firmware.

@RichieFrame
Copy link
Contributor

Is that a huge problem though? I have no issue reconnecting a few devices back to wifi if it means I can easily change a setting later. Later down the line could it be possible to use versioning? Can you store the web server contents AND the settings, but not have either of them be overwritten during the upgrade? That way, you could have major upgrades that overwrite SPIFFS, and minor upgrades that do not, or is that not possible?

@DTTerastar
Copy link
Contributor

Not unsurmountable for sure.

@vanstinator
Copy link
Author

vanstinator commented Sep 13, 2021 via email

@DTTerastar
Copy link
Contributor

v1.5.5 allows you to change the maxDistance via mqtt.

@DTTerastar
Copy link
Contributor

This has been implemented in master. Any kind souls want to test it before I roll it out?

@RichieFrame
Copy link
Contributor

downloading

@DTTerastar
Copy link
Contributor

Released!

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

No branches or pull requests

5 participants