Skip to content

Battery continues discharging below configured reserve #3313

@maturnbull

Description

@maturnbull

Describe the bug
Sometimes the inverter is instructed to continue discharging below the configured reserve percentage, even though the log file shows that Predbat recognises that the current SoC is already at (or below) the desired level.

The plan screen shows SoC should be held, but dash shows the battery discharging and log shows a discharge slot being set and activated.

Restarting Predbat or HomeAssistant does not help. Predbat has to be put in Monitor mode and GivEnergy controls used to clear the configured discharge slot.

Expected behaviour
If SoC is at or below the configured reserve SoC then the battery should not discharge.

Predbat version
8.32.12

Environment details
GivEnergy AIO
Standard HAOS on HomeAssistant Yellow

Screenshots
Battery chart screenshot shows reserve SoC reached around 18:00 and battery holds that level correctly. Around 21:30 with no change battery starts to discharge below the reserve SoC. Manual intervention around 22:00 to stop the issue.

Image

Log file
Log file attached shows the issue occurring on line 7926 at time 21:30:04.225659, discharge window is set from 21:25 to 23:31 and discharge target is set to 4% - lower than the configured reserve target of 20%

predbat.log

Predbat debug yaml file

predbat_debug.yaml.txt

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions