Everything seems to be working well, but I am wonder how to make energy usage charts to be more user friendly. Energy will always increasing. I would like to achieve a bar chart with kWh (or Wh) of usage on Y axis and hours, days, months on X axis. Can you tell me what is the best way to achieve this?
Currently I do have only a power linear display. There is no problem to convert it to energy in kWh, but I don’t know what should I do to get a display as above.
Can you expand a little bit? If it helps I can send to Openhab an “impulse” from my enegry meter. It would be every 0,001 kWh, but still don’t know how to prepare data for openhab to count it for every time interval I want (5 minutes, 1 hour, 1 day, 1 month).
And I’ve got another question regarding the chart. At the moment I can display a chart and see how value has changed but what to do to display specific value by clicking on it. For example, I would like to check what was the exact value of power at 12:36 pm. At the moment I can only see it looking on the chart line, but the scale of chart is too big to see exact value.
Hope I understood the problem right - I have a similar use case - my HP is reporting a total number of hours being in use. I store those values in influxdb and based on those, I can chart i.e. usage per month, as below:
where gBasement_BoilerRoom_HP_DHW_InOperation_HP and gBasement_BoilerRoom_HP_RAD_InOperation_HP are number of hours (in use) for domestic hot water and floor heating, both always increasing … since HP only has resolution per hour the chart is not that detailed, but still good enough to see per month consumption