remne / p1ib

P1 Interface Bridge
Other
56 stars 5 forks source link

Feature request: composite MQTT messages #13

Closed albinsunnanbo closed 9 months ago

albinsunnanbo commented 1 year ago

Currently p1ib publishes 1 topic per metric. It would be nice if there would be an option to get a single topic with a composite JSON document with all metrics instead. This would simplify some calculations and improve performance for some clients.

remne commented 1 year ago

Hi, Thanks for the request. I will add this feature in next coming development firmware.

Regards, Andreas

albinsunnanbo commented 1 year ago

Thanks It would be nice if you could also trim leading zeroes, like in image Some libraries are really strict about number formatting

remne commented 10 months ago

Json payload for sensors states is nov available in dev firmware (2023-09-14, adcc0f7).

Regards, Andreas