-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] charging to SoC target with defined power after "Immediate charging requested" by Pylontech #723
Comments
@MalteSchm Is this something you'd like to takle? |
My system tells me: yes I should address that... Here is why: I just checked my dashboard and found all alarms red. It seemed that the inverter operated at full power with communication between openDTU and the inverter being broken. Soft and hard restarts of the ESP were unsuccessful. I got the system back by issuing an inverter reset command. I think that resetting the inverter when communication is broken for a long time and starting up the PSU when charging is requested would be countermeasures that should be implemented. So in general: the battery SoC drops to that level it is likely that the inverter runs mad. Implementing only the PSU solution is not sufficient IMHO. |
Meh... You, too? There are other users who recently started reporting that their inverter is somehow stuck and must be revived through a reboot command, as even with my more recent changes that repeat limit updates and power requests their inverter somehow manages to keep in standby... This is weird... The DPL could (quite easily with the recent changes) detect if the inverter is not reaching the desired state for a longer time and trigger issuing a reboot message. Should we do that? Can you open a respective issue if you think that's desirable?
That would be a last resort, i.e., after issuing the reboot command did not do the trick. |
@MalteSchm To be prepared: "I got the system back by issuing an inverter reset command.": how do I do this? This is not possible in the WebUI, right? |
Yes I had that twice now. There could have been other cases that went without me noticing. The inverter is reset in regular intervals at night so the issue will resolve over time. The battery stays fully discharged during this period, potentially even disconnected as the BMS will cut the cord at some point. I think changing the DPL this way is desirable yes. And I also think we should trigger an ESP reset as a last resort First time: 0%, yesterday 2%. I think the inverter did shut off at this stage but: Once the PSU started charging the inverter also started up again. |
Created #748 |
@MalteSchm
I'm stupid I guess: next to the turn on/off there's the grid info: Or do you meant the on/off is the inverter reset? |
Click on this on/off button. There is more... |
@schlimmchen This did not work: |
You can't. Battery returns a Your request is valid, of course, so lets work out a solution. The goal is to know the value of We can't ask PylontechCanReceiver, as there is no public instance. Class That might sound cumbersome, but this kind of encapsulation, separation of concern, and ownership rules, saves us headaches in other contexts. So I think the best way is to define a new method This answer war quite verbose, but maybe you appreciate knowing my train of thought. Please rebase onto 56353e4 😊 |
Thanks! |
I also like the original idea with forced loading. This function can also be useful for a long service life in winter. Instead of using the SoC in the limit range, the voltage would be more suitable. The SoC can stop if there is only a small standby consumption and the voltage still continues to fall |
@MalteSchm Do you have the dtata stored from the time your inverter went rogue? This is the reason why I have a SHELLY 1PM connected to the 230V side of the inverter.... 😉 |
Really good idea. I'll probably install a Zigbee relay right now. |
I would like to extend this approach with the following suggestion: Currently the automatic charge control (Huawei automatic charge control) does NOT consider the feedback from the BMS during charging, especially the "charge currrent limitation" as provided by the Pylontech BMS (don't know abut the other BMSs). In order to support this, it would be good to have an additional method
|
I already have that implemented but still need to test it |
Draft PR in #767 |
I consider this closed as completed since #767 was merged into development and will be released eventually. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. |
Is your feature request related to a problem? Please describe.
When the SoC, for whatever reason, drops so low that an immediate charge is requested by the Pylontech battery, to avoid damage, currently nothing happens. Though a controllable AC charger is present and could charge the battery again to safe level.
Describe the solution you'd like
When "Immediate charging requested" switches from "No" to "Yes" the AC charger should charge to an specified SoC Target with a to be specified power.
Also it would be good if any of these situations would be logged.
Describe alternatives you've considered
Use an external script (like NodeRed) which monitors via MTTQ the "Immediate charging requested" state and sets via MTTQ the charge power until the target SoC is reached.
Additional context
Currently I use a minimal SoC of 20%. Implementing this automatically charging feature would enable to put for example a SoC of 15% as minimum, of even 10%. With the logging one could decide to top balance (charging 100%) or put the minimal SoC higher to avoid such immediate charge request.
The text was updated successfully, but these errors were encountered: