Commit 0c247474 authored by Daniel Kolibár's avatar Daniel Kolibár
Browse files

Update camera.py

parent 1e8467a8
......@@ -32,13 +32,11 @@ client = mqtt.Client()
client.on_connect = on_connect
client.on_message = on_message
client.on_publish = on_publish
client.username_pw_set("birdie", "tjhpnHMQb2021")
client.connect(
host = "50ffbd7e701c480ca097875a1621692c.s1.eu.hivemq.cloud",
port= 8883,
keepalive = 60,
user="birdie",
password="tjhpnHMQb2021",
ssl=True
keepalive = 60
)
client.loop_forever()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment