astroeng / Tank_Sensor

0 stars 0 forks source link

Add configuration panel #1

Open astroeng opened 6 years ago

astroeng commented 6 years ago

Being able to update the parameters of the sensor through a configuration page would improve deployability.

fergyfresh commented 6 years ago

https://github.com/tzapu/WiFiManager

astroeng commented 6 years ago

Compiled and uploaded a few of the examples to test them out. Seems like the whole premise of the project is centered around setup, the configuration panel is not available after setup is complete. The only way to get the configuration panel back is to not have the configured WiFi network be reachable. For my project I am looking for something that is available all of the time. Secondly the WiFi manager does not allow itself to be integrated with an existing instance of the ESP8266WebServer (atleast on the same port). WiFi manager internally consumes port 80 as this is the typical http port. I might try and tweak this WiFiManager to suit my needs, it is a well structured library. Couple of ideas to enable integration with existing ESP8266WebServers is to have a method to pass in a reference to the server. That will be an issue since the WiFiManager resets the server and creates a new one.