Repository navigation
|
I am creating a custom inverter configuration to work with my Growatt inverter that I have hooked up to HA with modbus. I've created simple charge/discharge start & stop services in HA and want Predbat to just use those to start and stop charging & exporting.
What am I getting wrong here? Surely predbat should just use the start/stop services I've declared rather than trying to hook into the inverter's schedule? apps.yaml here: |
Replies: 2 comments 7 replies
|
you shouldn't need to define charge start/end times https://springfall2008.github.io/batpred/inverter-setup/#inverter-control-options I can't immediately see what you have configured wrong, but you could look at the Kostal definition which also doesn't use start/stop times to see if you can see what they did differently https://raw.githubusercontent.com/springfall2008/batpred/main/templates/kostal.yaml |
|
Cracked it.
Update: It turns out that the problem was that I had to change the name I gave to my custom inverter definition. But this is fine: That seems to have cleared the warnings in the log and Predbat is no longer complaining about schedule entities not set. A a happy bi-product of this discussion, I have also set both the Thanks for all the help @gcoan :-) Complete setup here now for posterity: |
Cracked it.
I had not used the reserve feature and instead tried to setdischarge_target_socto an entity.This was incorrect as I think that variable is actually supposed to be an output from Predbat rather than a control entity.
Instead, I enabledhas_reserve_socand setreservetonumber.growatt_battery_discharge_stopped_socUpdate: It turns out that the problem was that I had to change the name I gave to my custom inverter definition.
This was causing the log errors:
But this is fine:
That seems to have cleared the warnings in the log and Predbat is no long…