Skip to content

Resolve "persistent mqtt messages"

Joost Hemmen requested to merge 29-persistent-mqtt-messages into main

Closes #29 (closed)

  • pass MQTT_QOS, MQTT_CLIENT_ID and MQTT_CLEAN_SESSION to main.py and then through to all the individual handlers
    • if env not set, defaults are MQTT_QOS=0, MQTT_CLIENT_ID='' and MQTT_CLEAN_SESSION=True
  • in AbstractAction, subscribe to TOPIC with the settings from above
  • logg out subscribed topic and qos
Edited by Joost Hemmen

Merge request reports

Loading