Commit f0b9f433 authored by Eric Duminil's avatar Eric Duminil
Browse files

Notes

parent 060b4069
......@@ -79,6 +79,8 @@ namespace web_server {
# endif
iotWebConf->setWifiConnectionTimeoutMs(1000UL * WIFI_TIMEOUT);
WiFi.setHostname(ampel.sensorId);
iotWebConf->setWifiConnectionCallback([]() {
led_effects::showKITTWheel(color::green);
Serial.println();
......@@ -120,6 +122,8 @@ namespace web_server {
//TODO: Use HTTP_USER / HTTP_PASSWORD for config
//TODO: Move to own class
//TODO: Remove AP Password config?
//TODO: Save LoRaWAN key if possible?
//FIXME: Why does MQTT fail?
iotWebConf->init();
sensor_console::defineCommand("reset_config", []() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment