From a83ddc66ae62aef002bcc504e7d9c3c298ebb6fb Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Tue, 5 Dec 2023 17:06:09 +0800 Subject: [PATCH] update --- ceshi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceshi.py b/ceshi.py index 1caf9fd..3b5d4e3 100644 --- a/ceshi.py +++ b/ceshi.py @@ -35,7 +35,7 @@ if __name__ == '__main__': client.on_connect = on_connect client.on_connect_fail = on_connect_fail # Establish a connection - client.connect('127.0.0.1', 1883) + client.connect('192.168.1.27', 1883) # Publish a message client.loop_forever() except Exception as e: