AI-on-the-edge-device icon indicating copy to clipboard operation
AI-on-the-edge-device copied to clipboard

Streamlined MQTT interlock when not activated

Open Slider0007 opened this issue 2 years ago • 3 comments

Follow up for topic #1476

  • Streamlined interlock of mqtt service if it's not activated in config
  • Moved config check (e.g. URI empty) to MQTT_Configure routine
  • Intelock of MQTTPublish routine and further MQTT publishing sources (Home Assistant - mqtt_server.cpp)
  • Disconnect mqtt client properly before rebooting the device
  • Avoid complete init of the mqtt client by setting the initialization flag also after event MQTT_EVENT_BEFORE_CONNECT occured because this indicates that the client is still alive but only not connected to broker

Slider0007 avatar Dec 07 '22 20:12 Slider0007

@Slider0007 ich habe dich zum Entwickungsteam dazugefügt. Hast du eine telegram adresse? dann füge ich dich in eine Gruppe ein, in der wir uns im kleinen Kreis austauschen.

jomjol avatar Dec 10 '22 20:12 jomjol

@jomjol: Vielen Dank für die Einladung. Ja, ich habe eine Telegram Adresse. Wie kann ich diese anonym übermitteln?

Slider0007 avatar Dec 10 '22 22:12 Slider0007

@jomjol: Vielen Dank für die Einladung. Ja, ich habe eine Telegram Adresse. Wie kann ich diese anonym übermitteln?

Schreib ein email an [email protected]

caco3 avatar Dec 10 '22 22:12 caco3

Close this, because follow up here: PR #1556

Slider0007 avatar Dec 11 '22 20:12 Slider0007