Addded MQTT event loop start
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b788695dc5
commit
f533a36196
@ -81,4 +81,5 @@ if __name__ == "__main__":
|
|||||||
mqtt = MQTT()
|
mqtt = MQTT()
|
||||||
mqtt.topic = config.MQTT_TOPIC
|
mqtt.topic = config.MQTT_TOPIC
|
||||||
mqtt.connect()
|
mqtt.connect()
|
||||||
|
mqtt.client.loop_start() # Start MQTT event loop on a different thread
|
||||||
setup_rabbit(mqtt)
|
setup_rabbit(mqtt)
|
||||||
|
Loading…
Reference in New Issue
Block a user