Commit dd7f0e02 authored by ZZH's avatar ZZH

fix meter 3rd data pub 2026-5-25 12:52

parent eb80aa41
......@@ -112,7 +112,7 @@ class Meter3rdForward:
logger.error(f"Parse topic {sid} failed, pyd:{payload}")
continue
topic = f"{self.pub_topic_pfx}/{topic}/{sid}"
topic = f"{self.pub_topic_pfx}{topic}/{sid}"
self.client_pub.publish(topic, json.dumps(payload), qos=1)
cnt += 1
......
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