diff --git a/sensor_to_server.py b/sensor_to_server.py index e5d0a7e..fc7026a 100755 --- a/sensor_to_server.py +++ b/sensor_to_server.py @@ -238,6 +238,6 @@ if __name__ == '__main__': client.on_connect = on_connect # Establish a connection # ceshi-mqtt.lihaink.cn - client.connect('ceshi-mqtt.lihaink.cn', 1883) + client.connect('192.168.1.27', 1883) # Publish a message client.loop_forever()