@ -22,7 +22,6 @@ class MQTTClient:
self.topic = topic
self.username = username
self.password = password
# 千万不要指定client_id 不然死翘翘
self.client = mqtt.Client(client_id=subscribe_topic)
self.client.username_pw_set(self.username, self.password)
self.client.on_connect = self.on_connect