Commit 7e30f302 authored by ZZH's avatar ZZH

fix data collector 2026-4-22 15:44

parent dfef79c6
......@@ -59,6 +59,7 @@ class Meter3rdSrv:
self.mqtt_client.on_connect = self.on_connect
self.mqtt_client.on_subscribe = self.on_subscribe
self.mqtt_client.on_disconnect = self.on_disconnect
self.mqtt_client.on_message = self.on_message
await self.mqtt_client.connect(MQTT_BROKER, 1883)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment