springfall2008 / batpred

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

SOC setpoint keeps fluctuating #1304

Open tmh88 opened 3 months ago

tmh88 commented 3 months ago

Describe the bug SOC setpoint keeps fluctuating instead of been constant

Expected behavior A clear and concise description of what you expected to happen.

Predbat version

8.2.4

Environment details

Screenshots 451098860_10231752012279374_96496217931067638_n

apps.yaml apps.txt

log files logs.txt

springfall2008 commented 3 months ago

Okay I can see the issue here, the current reserve is reading as 1.6% when it should be 1.6kWh. Looking why...

springfall2008 commented 3 months ago

Your apps.yaml does not set 'reserve' but it sets 'battery_min_soc' to a value in kWh when it should be a value in %.

tmh88 commented 3 months ago

Your apps.yaml does not set 'reserve' but it sets 'battery_min_soc' to a value in kWh when it should be a value in %.

Thats sorted it thanks

tmh88 commented 3 months ago

@springfall2008

apps.txt

tmh88 commented 3 months ago

@springfall2008 grid charging window finished at 8:30am

logs 15-07-24.txt

tmh88 commented 3 months ago

@springfall2008 I have done some more testing tonight, i had made a few indents errors in my config which I have corrected. I have noticed that the charge current doesn’t always update, even with force charging, discharge current seems fine. by toggling on/off switch.predbat_set_charge_freeze or switch.predbat_set_discharge_freeze_only. not sure if this is coincidence or not. haven’t been able to reproduce the fault but currently is giving me a charge current setpoint so see how it goes overnight.

Config and logs below apps.txt

logs after config corrections 15-07-24.txt