Replies: 8 comments 1 reply
-
Hello,
Please note that sensor doesn't work retrospectively and it needs to aggregate data for 30 days to show actual value. |
Beta Was this translation helpful? Give feedback.
-
Thanks. |
Beta Was this translation helpful? Give feedback.
-
No problem. Could you please close the issue and reopen if you have any further issues. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to get the avg for the current month and week. For example feb, mar, apr etc... Would be great if this value was stored in nordpool sensor.
|
Beta Was this translation helpful? Give feedback.
-
Hello @Henrik1986 What would be your use case for the averages in context of Home Assistant? There are multiple ways to achieve this and it depends on use case. |
Beta Was this translation helpful? Give feedback.
-
I don't pay hourly for my kWh, I pay for an average for the month + fees. |
Beta Was this translation helpful? Give feedback.
-
Option 1: Use "Average Sensor" component and create last week and last month sensors. You will need to increase data retention as it defaults to 10 days - https://www.home-assistant.io/integrations/recorder/#purge_keep_days. Option 2: Feed Nordpool data into InfluxDB and/or Grafana and then build necessary dashboards. In this option you will have the most flexibility. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the options. Some questions to option 1. I can't see if its possible to choose the month. If I use start and end i should use timestamp. Will it work if i use this? start: {{ now().date().replace(day=now().day - now().day+1 ) }} And is it possible to add the sensor to long term statistic? https://data.home-assistant.io/docs/statistics/ |
Beta Was this translation helpful? Give feedback.
-
This is not a issue.
I wonder if there is anyone who can help me with a formula.
I would like to get the average price over, let's say, one month from the values from Nordpool.
Is here anyone that has done this and are willing to share this with me?
Beta Was this translation helpful? Give feedback.
All reactions