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

Huawei charge - stop #1381

Open JohanAlvedal opened 2 months ago

JohanAlvedal commented 2 months ago

Describe the bug My inverter that stops when it reaches the target (%) which is quite narrow ie is reached quickly. it might be better to set a time on the time slot 30 min instead of %.

Expected behavior Instead of charging Force charge in % when the target is reached too quickly. Force charge in time (30min) instead of %. not sure if it's enough though but might be worth a try.

action: huawei_solar.forcible_charge data: duration: 30 power: "3500" device_id: 6893ee838a0972bd3e50d9e0faa0ba5a

Predbat version 8.3.5

Environment details

Screenshots pb4

Log file https://justpaste.it/cege1

springfall2008 commented 2 months ago

Good point, although 30 minute maybe too long?

springfall2008 commented 2 months ago

What if instead it set the target % as +1 for charge and -1 for discharge?

BTW: You can change it to 30 minutes if you like, just edit your apps.yaml template