mariolukas / Bluetti_ESP32_Bridge

Bluetti Power Station ESP32 Bluetooth to MQTT Bridge
GNU General Public License v3.0
88 stars 29 forks source link

Rename topics #38

Closed gerab closed 1 year ago

gerab commented 1 year ago

It would be good to add a leading 0 to the topic name, like INTERNAL_CELL1_VOLTAGE => INTERNAL_CELL01_VOLTAGE. That'll remove the necessity of additional transformations to sort cells 1 to the last cell number. On a huge data set, it takes a significant amount of CPU time to rename and reorder them.

image

AlexBurghardt commented 1 year ago

Good proposal. We can do that, but let Mario merge my 1st PR. Then I will do a 2nd one. From which system is that visualization? Looks good.

gerab commented 1 year ago

Spent a day with Grafana. Thanks to your extended info data set I'm now able to build all the cool data and graphs, like how long ac200 would be living from battery. Super useful to have it here in Ukraine during the power outages to control my consumption. I'm really greatfull for your work, guys it significantly helps me to build a reliable power system. Check it out

IMG_20230201_215631_593 IMG_20230201_215634_116

AlexBurghardt commented 1 year ago

Glad to read that the great work of Mario, all the other contributions and my own small improvements help you during this hard time. I wish you all the best and that this horror comes to a good end as soon as possible.

gerab commented 1 year ago

should be fixed as of now