Closed Jese44 closed 8 months ago
Also all data shown in this (copypasted the code from your example) is correct. HA data: core 2024.1.2 supervisor: 2023.12.0 OS: 11.2 frontend:20240104.0
Nordpool current version. Helen hacs integration version 51ba965 Exchange contract.
Same for me, it almost works with the energy dashboard but it has these differences compared to the Oma Helen dashboard:
SCAN_INTERVAL = timedelta(hours=3)
, changed to hours=1 but didn't notice any effect.Hi and thanks for the feedback!
The first problem is that Oma Helen is not a real time tracker. It usually only refreshes your data once per day and sometimes not even that often. When the data does get refreshed, HA inserts the new data into the energy consumption diagram and just assumes that the change was real time i.e. the timestamp which it inserts the data into is always current time.
The second problem is that the energy dashboard does not currently support inserting data in to past so there is no way to distribute the hourly data into the diagram with correct timestamps.
Ah that makes sense! I asked Helen's customer support if they're planning to add realtime data, but probably not. I suppose the addon could output yesterday's hourly values at the same hour today (like, output yesterday's 13:00 reading at 13:00 today, then yesterday's 14:00 reading at 14:00 today, etc) to get it to play with the HA graph better, but it's a bit hacky and has the 1 day offset.
I see, thanks for the solution and reply. Hopefully it's possible to use data from your integration some day!
Hi there! i was able to add the values to HA energy consumption tab (after struggling for unknown reason; system wouldn't get data from helen and/or calculate with nordpool integrations price but now it at least measures) but i've gotten max 2 values per day, i.e. 9.1. i got two measurements to energy tab; 18:00 and 21:00 (15,67 kWh and 26,18kWh) and by far on 10.1. (at 21:00) i have just one at 18:00 (15,39kWh).... does it work as intended or should I get measurements for every hour of a day (i know helen seems to report data for every hour on their website)? 10.1. was the first day without any struggles with HA or energy tab. also something is not measured right; for 9.1. energy tab shows 41,85kWh as consumption whereas Helen shows 15,39kWh... Have i done smth wrong or is there a bug? sensors i have: consumption: sensor.helen_monthly_consumption used with entity with current price: Nordpool_kwh_fi_eur_3_10_024 https://github.com/custom-components/nordpool/