From 9dcd34b9153cd2cdb6c7735030edd12a7e2040d6 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Thu, 7 Dec 2023 18:17:56 +0800 Subject: [PATCH] update --- MQTT.py | 1 + 1 file changed, 1 insertion(+) diff --git a/MQTT.py b/MQTT.py index b14f826..165825a 100644 --- a/MQTT.py +++ b/MQTT.py @@ -58,6 +58,7 @@ def on_message(client, userdata, msg): elif data == "status": # 查看运行状态 get_status(client) + client.publish('error', payload='No Such Type2', qos=0) else: # 错误类型 client.publish('error', payload='No Such Type', qos=0)