springfall2008 / batpred

Home battery prediction and charging automation for Home Assistant, supporting many inverter types
https://springfall2008.github.io/batpred/
129 stars 44 forks source link

Suggestion - new option for rates_import_override #1564

Open Nilogax opened 3 weeks ago

Nilogax commented 3 weeks ago

When Octopus run their free electricity sessions I expect many people's usage sees an uncharacteristic spike. This load spike then shows up in later predbat plans, as dictated by the history settings, but it's probably not representative of actual load so the resulting plan would be sub optimal.

So a suggestion would be to add another line to the rates_import_override config in apps.yaml to indicate that load during the period should be excluded from future plans eg

rates_import_override:
  - date : "YYYY-MM-DD"
    start : "HH:MM:SS"
    end : "HH:MM:SS"
    rate : pence
    exclude_history : true/false
springfall2008 commented 2 weeks ago

Good idea