I have a photovoltaik power plant with small size (400W) which is logged via zwave wall plug. So the energy meter simply increases day by day the kWh counter. Is there a “simple” way to log daily energy - maybe already in a daily bar chart…to compare days in terms of daily power generation.
Stefan, thanks for your input. sounds promising…but does your daily midnight event also do the calculation for the delta…so today highscore minus yesterday highscore = today’s energy? and write this in the DB?
I was hoping to find a more “out-of-the-box” solution that simply takes the stored DB entries and does the math to show daily energy…
Bar chart would be preferred but if the rest works fine I would of course also have no big issue with simply line-graphs…
the only “problem” with this approach is that the “total usage per day” is optically shifted one day to the right.
here are the two rules i use:
rule "Gas Tickzähler"
Item gaszaehler_tick received update ON
gasverbrauch_temp.postUpdate(gasverbrauch_temp.state as DecimalType + 1)
Time cron "0 59 23 * * ?"