correct bug with new mqtt server
This commit is contained in:
@@ -41,7 +41,7 @@ def command():
|
||||
|
||||
if not client.is_connected():
|
||||
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)
|
||||
|
||||
content = f"Command: {command} triggered with opts: {opts}"
|
||||
|
||||
Reference in New Issue
Block a user