|
|
@@ -9,7 +9,7 @@ import signal
|
|
|
import paho.mqtt.client as mqtt
|
|
|
|
|
|
HOST = 'xt.wenhq.top'
|
|
|
-PORT = 8581
|
|
|
+PORT = 8581
|
|
|
TOPIC_PREFIX = '线架系统'
|
|
|
|
|
|
received = {}
|
|
|
@@ -78,3 +78,4 @@ client.on_disconnect = on_disconnect
|
|
|
print(f"正在连接 {HOST}:{PORT} ...")
|
|
|
client.connect(HOST, PORT, keepalive=60)
|
|
|
client.loop_forever()
|
|
|
+# test hook
|