Files
AI-on-the-edge-device/code/components/jomjol_mqtt
CaCO3 a1a77ae5d9 Improve MQTT (#2091)
* moved functions

* use hostname as default MQTT maintopic if parameter is not set

* use hostname as default MQTT client ID

* Only send Homassistant Discovery and Static Topics on the first connect. Retry in next round if any topic failed

* .

* add missing return code usage

* send maintopic/connection on every round like the system topics

---------

Co-authored-by: CaCO3 <caco@ruinelli.ch>
2023-02-27 18:26:46 +01:00
..
2023-02-27 18:26:46 +01:00
2023-02-27 18:26:46 +01:00
2023-02-27 18:26:46 +01:00