This commit is contained in:
xyj 2023-12-09 17:25:53 +08:00
parent c7eeb48577
commit 95bca848c9
1 changed files with 1 additions and 1 deletions

View File

@ -238,6 +238,6 @@ if __name__ == '__main__':
client.on_connect = on_connect client.on_connect = on_connect
# Establish a connection # Establish a connection
# ceshi-mqtt.lihaink.cn # ceshi-mqtt.lihaink.cn
client.connect('ceshi-mqtt.lihaink.cn', 1883) client.connect('192.168.1.27', 1883)
# Publish a message # Publish a message
client.loop_forever() client.loop_forever()