This commit is contained in:
Robert Borzutzki 2022-10-19 08:44:21 +02:00
parent 3fb12a58a8
commit b1471f27be

View File

@ -51,7 +51,7 @@ client.connect(broker, port=port)
client.loop_start() #start the loop client.loop_start() #start the loop
while Connected != True: #Wait for connection while Connected != True: #Wait for connection
time.sleep(0.1) time.sleep(1)
client.subscribe(topic) client.subscribe(topic)