Hi All,
I need to know how many Ah the solar system delivered to the battery in last 24h. System from solar unit send data (voltage on battery and current to battery) to mqtt every 10m. So i need make program, whitch make averange value from current in the last 24h, and send back to mqtt.
I would do this by sending all the data to Influxdb and then you can run a query to get the 24 hour total, or anything else you need.
However, you might not want to that length if you don't use influxdb.