update
This commit is contained in:
parent
7e11c54515
commit
9dcd34b915
1
MQTT.py
1
MQTT.py
|
@ -58,6 +58,7 @@ def on_message(client, userdata, msg):
|
||||||
elif data == "status":
|
elif data == "status":
|
||||||
# 查看运行状态
|
# 查看运行状态
|
||||||
get_status(client)
|
get_status(client)
|
||||||
|
client.publish('error', payload='No Such Type2', qos=0)
|
||||||
else:
|
else:
|
||||||
# 错误类型
|
# 错误类型
|
||||||
client.publish('error', payload='No Such Type', qos=0)
|
client.publish('error', payload='No Such Type', qos=0)
|
||||||
|
|
Loading…
Reference in New Issue