Should test locally first...
This commit is contained in:
parent
b62da77718
commit
0234131aa3
|
|
@ -34,7 +34,7 @@ client = paho.mqtt.client.Client(protocol=paho.mqtt.client.MQTTv5,
|
||||||
transport="websockets")
|
transport="websockets")
|
||||||
client.username_pw_set("jimmy", password=token)
|
client.username_pw_set("jimmy", password=token)
|
||||||
client.tls_set()
|
client.tls_set()
|
||||||
client.connect("mqtt.jpace121.net", port=443)
|
client.connect("localhost", port=8082)
|
||||||
|
|
||||||
print("Waiting on connection.")
|
print("Waiting on connection.")
|
||||||
time.sleep(20)
|
time.sleep(20)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue