update
This commit is contained in:
parent
c7eeb48577
commit
95bca848c9
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue