megakid / ha_octopus_intelligent

Apache License 2.0
86 stars 10 forks source link

Agile style prices, that change with the IO slots #19

Open plandregan opened 1 year ago

plandregan commented 1 year ago

Is there a way we can get half hour prices for the slots scheduled, can then overlay on this actual consumption

plandregan commented 1 year ago

example current_cost would switch between 0.29p or 0.075p depending if Intelligent slot is ON or OFF. This would over time produce a nice graph of costs. Even then going a step further, to the next 24hr, as the slots are known, either none (default 23:30-0530 or car is plugged in and clots have been mapped)

plandregan commented 1 year ago

I can draw this from the standard timings, but would love it to be integral to your code, pull the current cost, image