Replies: 1 comment 2 replies
-
|
I think you have the predbat side of this already in place with predbat compare https://springfall2008.github.io/batpred/compare/ |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
I just added a PR to the Octopus MinMax bot. The Octopus MinMax bot currently decides at the end of the day whether Agile or Go was cheaper for you that day based on your usage and then switches you to the correct tariff which applies retrospectively to all of your usage for that day. This is great for people without batteries but those of us with batteries will want to know from 00:00 which tariff is likely to be best for the day ahead so we can switch our tariff to it and then have predbat take advantage of cheap slots to charge, whether that's 00:30-05:30 on Go, or 03:00-08:00 on agile for that day etc.
My PR adds a predictive mode to the bot which very crudely works out if Agile has sufficiently long slots that are equal to or below Go's overnight rate, and switches you based on this. Then of course predbat connected to the Octopus API can see the tariff change and recalculate the plan.
This is great for people whose battery is larger than their daily usage but it doesnt take into account actual usage, so if you use all your battery by midday, then you might end up the rest of the day using Go's day rate when Agile may have been better.
Predbat already knows our predicted load, predicted solar etc, so is in a position to work out which tariff is likely to be best for each day. I wonder if its possible for predbat to do this calculation for the current day and the next day and expose them to home assistant as entities that can be read by other addons. It wouldn't be in scope for predbat to actually switch you but it could expose the best predicted tariff and then a minmax addon for home assistant could read this entity and perform the switch accordingly.
I look forward to hearing your feedback, cheers!
Beta Was this translation helpful? Give feedback.
All reactions