correct bug with new mqtt server

This commit is contained in:
2022-11-06 11:50:13 +01:00
parent 60c47cad0f
commit c515daa76e

View File

@@ -41,7 +41,7 @@ def command():
if not client.is_connected(): if not client.is_connected():
print("reconnection to mqtt server...") print("reconnection to mqtt server...")
client.connect("192.168.178.76",1884,keepalive=60) client.connect("192.168.178.36",1884,keepalive=60)
client.publish(command,opts) client.publish(command,opts)
content = f"Command: {command} triggered with opts: {opts}" content = f"Command: {command} triggered with opts: {opts}"