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

Update camera.py

parent 6179f2bd
......@@ -32,6 +32,13 @@ client = mqtt.Client()
client.on_connect = on_connect
client.on_message = on_message
client.on_publish = on_publish
client.connect("broker.hivemq.com", 1883, 60)
client.connect(
host = "50ffbd7e701c480ca097875a1621692c.s1.eu.hivemq.cloud",
port= 8883,
keepalive = 60,
username="birdie",
password="tjhpnHMQb2021",
ssl=True
)
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