This fixes an issue with a restricted network without internet access,
where the hardcoded ntp server can't be reached and thus the esp resets,
as it's not able to finish initalization.
* modify mqtt init at startup + after disconnection
* mqtt_init only when not initialized
* Minor udapte
* Apply suggestions from code review
Co-authored-by: CaCO3 <caco3@ruinelli.ch>
* Correct typo
Co-authored-by: CaCO3 <caco3@ruinelli.ch>
* consolidate info page
* use new REST API
* .
* .
* .
* .
* .
* .
* .
* Make sure after the reboot we go to the overview page
* .
* Update server_main.cpp
* slow down constant reboots caused by the flow. With this, after a restart due to exception/panic the first round gets delayed by 5 minutes
* catch empty reference images
* .
Co-authored-by: CaCO3 <caco@ruinelli.ch>
* slow down constant reboots caused by the flow. With this, after a restart due to exception/panic the first round gets delayed by 5 minutes
* retry InitCam() if it failed
* restart after 5 minutes if NTP init failed
* .
Co-authored-by: CaCO3 <caco@ruinelli.ch>
* SHhw Web UI version and compare it with the firmware. If it does not match, show a warning in the log
* compare version on Web UI loading and show alert on mismatch
* restructured info page
* Updated the web Installer page, removed all redudnant files in the docs folder, updated the main README
* .
* consolidate the 2 identical ZerlegeZeile() function and move it to Helper.cpp and add workaround for whitespace and equal sign in password fields
* remove redundant code in HelperZerlegeZeile()
* Updated the web Installer page, removed all redudnant files in the docs folder, updated the main README
* .
* consolidate the 2 identical ZerlegeZeile() function and move it to Helper.cpp and add workaround for whitespace and equal sign in password fields
* remove redundant code in HelperZerlegeZeile()
* Update server_mqtt.cpp
* Update server_mqtt.cpp
* skipp all MQTT publishing until the next round if an error occures
* improve logging
* only use group for uid and topic if there is more than one number
* .
* .
* HTML: implement data viewer
* Correct CSV error
* Improve OTA
* Use consistent Log TAG syntax, name TAG variable the same in every file.
* .
* .
* .
* .
* .
* Update server_tflite.cpp
* Correct CSV error
* Improve OTA
* Use consistent Log TAG syntax, name TAG variable the same in every file.
* .
* .
* .
* .
* .
* Update server_tflite.cpp
* .
* .
* .
* .
* .
* .
* .
* .
Co-authored-by: jomjol <30766535+jomjol@users.noreply.github.com>
* manual re-creation of #1246
* removed non-working approach to get interval
* postpone the MQTT service start until the ClassFlowControll::ReadParameter() gets called
* Increase the max_uri_handlers to 35 (was 30)
* removed newlines in logs
* added parameter to UI
* Register handler to re-start MQTT Discovery
* fix param