Replies: 2 comments 5 replies
|
Good work making progress with sunsynk and predbat. I'm using AI to try and crack the code and it has referenced your example above several times, specifically relating to the time slot predicament. Everytime I think it's getting close to providing a working solution, it then takes another fork in the road and gets lost and has to start from scratch again. Is there any chance of seeing your actual Apps.yaml at all (sanitized if required obviously). After sevaral days i'm beginning to think that my existing Solar Assitant config is doing a better job but i'm keen to be proved wrong and make better use of the features of the combined efforts using Home Assistant, Kellerza, Solar prediction, sunsynk and predbat. Cheers, Steve. |
|
The normal approach for Predbat controlling inverters is to only set the first charge and discharge slots. I see from the Sunsynk documentation that the original author took a 6-slot approach which feels unusual to me. If this is a more reliable setup then could you raise a PR to update the Predbat Sunsynk documentation to this approach https://springfall2008.github.io/batpred/inverter-setup/#sunsynk and by all means reference the changes that can be made to use all 6 slots if that is preferable to some people |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I've been running this successfully since March and wanted to share my Sunsynk configuration because I couldn't get the standard six-slot approach to behave reliably.
I found that mapping Predbat across all six Sunsynk program slots eventually caused timer overlap issues, especially when a charge period crossed midnight. Sunsynk timer behaviour did not appear to handle the overlapping/rolling slots in the same way Predbat expected, and over time I found the six-slot configuration became unreliable.
My workaround was to give Predbat one dedicated Sunsynk timer slot and leave the remaining five slots parked outside the operating window.
This is the apps.yaml mapping I am using:
===============================
SUNSYNK CONTROLS
===============================
use_timer:
timed_charge_current:
timed_discharge_current:
===============================
PROGRAM CONTROL
===============================
charge_limit:
charge_rate:
charge_start_time:
charge_end_time:
charge_enable:
On the Sunsynk inverter timer page I configure:
Timer 1 = 00:30
Timer 2 = 23:00
Timer 3 = 23:30
Timer 4 = 23:30
Timer 5 = 23:30
Timer 6 = 23:30
Only Timer 1 has grid charging enabled.
The remaining timer slots are left unticked (including Gen Charge) and are effectively parked outside the operating window. Predbat only controls Timer 1.
Predbat then writes the required charge window into that single Sunsynk timer slot.
For example, Predbat generated a charge period of:
charge_start_time = 15:30:00
charge_end_time = 16:00:00
This creates the Predbat entities:
sensor.predbat_SK_0_charge_start_time = 15:30:00
sensor.predbat_SK_0_charge_end_time = 16:00:00
select.ss_prog1_charge_2 = Allow Grid
The Sunsynk Prog1 timer slot is then updated accordingly.
This setup has been running successfully for several months and has also handled charge windows that cross midnight without the timer overlap problems I experienced with the six-slot configuration.
I am not suggesting the six-slot method is wrong, only that this single-slot approach has been more reliable for my Sunsynk inverter.
I couldn't find this approach documented elsewhere, so I thought I would share it in case it helps anyone else who is struggling with Sunsynk timer behaviour.
Thanks to everyone involved with Predbat and the Sunsynk integration work — hopefully this helps another Sunsynk user
All reactions