Replies: 6 comments
-
That is a very good point and really bad that zendure is not providing these counters out of the box. However it would be possible to calculate the charged and discharged amount of energy on your own by using influxdb/grafana/homeassistant. You need to constantly store the outputPackPower- and packInputPower-counters (see mqtt), and afterwards it is possible to use calculations explained for example in https://community.grafana.com/t/daily-power-consumption-from-watts/16196/33 to calculate appropriate kwh-counters for a specified time-range. |
Beta Was this translation helpful? Give feedback.
-
I'm also using a timeseries database to store the current power values (pull them off mqtt via telegraf/homeassistant) and do the calculation visualization externally (either in homeassistant or via influx queries). In homassistant it's actually rather easy: use a riemann sum integral helper to get Wh from Watts: https://www.home-assistant.io/integrations/integration/ In influxdb you can also use an integral function, I'm doing it for my panels like this (which gives me the kWh produced per week):
|
Beta Was this translation helpful? Give feedback.
-
Just use mqtt itself as persistent/external storage. The two counters should only represent the daily wh-counters. At midnight (or maybe at sunrise) the two counters will be set to zero, otherwise the mqtt-counters will be incremented by outputPackPower/packInputPower with a correction-factor based on your constant duty-interval. This really would help all the people who are not so experienced in using the long-term aggregation homeassistant riemann or influxdb integral functions. And these counters will be good as additional indicators how efficent the batteries are working in a typical day/night cycle in terms of how much energy goes into and how much energy comes out of the battery |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
outputPackPower = battery charge [W] |
Beta Was this translation helpful? Give feedback.
-
Thanks, that was easy :) |
Beta Was this translation helpful? Give feedback.
-
Hey :)
is it possible to get this data in Homeassistant?
Or can i calculate it with the given data?
Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions