fixed mqtt error

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-12 23:47:03 +01:00
parent cad5e32c84
commit 76b2d20b25
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ def connect_mqtt():
client = mqtt.Client(mqtt_client_id) client = mqtt.Client(mqtt_client_id)
client.on_connect = on_connect() client.on_connect = on_connect()
client.connect("localhost", 1883) client.connect("localhost", 1883, 60)
return client return client