Planned export times seem affected by use of the Automation API
Describe the bug I have been experimenting with the Automation API to reduce the battery discharge rate for planned export (just prior to the IOG cheap rate slot)
I've noticed that setting inverter_limit_discharge(0)=2000 changes the timings of forced export on the plan. Instead of as late as possible, it moves it much earlier. If i cancel the override, then it moves back to the expected 'late as possible' slots
Expected behaviour Export to be as late as possible on a 2 rate tariff with fixed export
Predbat version
v8.16.3
Environment details
- GivEnergy AC3 + 2x5.2 batteries
- Standard HAOS installer
Screenshots
Log file Can you capture a log file from the time of the issue, debug mode is not normally required.
Predbat debug yaml file
As an additional observation (as it's just happened). Every day the freeze discharges disappear from my plan, but it maintains the forced exports, which doesn't make sense. Debug attached
I think this is as expected, if you can only export at a lower rate then you need longer so must start earlier.
Why are you doing this ?
I understand it needing to take longer, but why is export set 3 til 4 pm in the plan, then a long pause until it commences again at 11pm? Wouldn't we expect it to be ordered as late as possible, so starting at 10pm for a longer block?
Reason I was doing it was to change discharge speed, as it was causing a spurious soc adjustment on 3020 firmware around 40%. I wanted to see if changing the power prevented this - spoiler, it didn't!
However it may still be useful for a kinder slower discharge