breakout hour prices #21
Replies: 3 comments 4 replies
-
If there are more people interested in having the sensor of every hour i can make an option for that. I personally don't prefer having 48 extra sensors in my home assistant system. Other than that, wouldn't having 48 sensors also take a lot of space in the DB? You can make a graph like that with apexcharts right? Or am i missing something in that graph? |
Beta Was this translation helpful? Give feedback.
-
I think this would be a nice feature to have! |
Beta Was this translation helpful? Give feedback.
-
I found a workaround via 'Node-Red'. When you get the object info through 'get entities' in node red you can filter on the array of prices using the following: msg.payload[0].attributes.prices[0].price Once you have this you can do all sorts of things in node red:
Here's my node red flow for this:
|
Beta Was this translation helpful? Give feedback.
-
HI,
been running you fine integration for only 2 days now, and already want more ;-)
trying to create graphs like:
it would be required to breakout the hour prices somehow. I am aware you have all of that data in the attributes of (all) sensors, but that still would require a huge work on templating. Btw, those attributes are enormous, and when recorded take up a lot of space in the DB, which current HA dev's dont feel is as it should?
so, my question would be to breakout those hour prices (maybe grouped per day), so we can easily use them in hour HA systems.
I fear the best way would be to create separate sensors for each hour. (and ditch the attributes)
A bit like the forecast sensors in lets say Buienradar...
would only be 48 of them ;-)
Hope you will consider, thx!
Beta Was this translation helpful? Give feedback.
All reactions