-
Notifications
You must be signed in to change notification settings - Fork 12
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
System keeps charging/discharging if one BMS disappears #49
Comments
Hi Berni, I cannot look on it immedoatelly, but i think there is an option in Serial Battery setup whether it has to stop or continue to run if the BMS dissapears. About BMS itself - can you check the serial hatdware wirh an oscilloscope? The first I can imagine (after months of operation and no change in the softwate) is a hardware damage. |
Hello Anton, the BMS is already running again, it only needed a poweroff/poweron cycle. My best guess is an indirect lightning strike, as we had some strong thunderstorms the last weeks. And you are right: Best regards, |
Hello Anton, I thought a bit more about this topic and came to the conclusion, you have to distinguish between two different cases:
What do you think ? Best regards, |
Hi Berni, sorry, it took some time, but now I tested it. I had no difference if disconnected serial or USB. The new serial battery driver raises /Alarms/BMScable, this I will use to put Aggregate Batteries into safe state. You right, it continues running because the last values before disconnecting remain on DBus. |
I was playing further: It does not matter whether I disconnect the serial or USB side, or BLOCK_ON_DISCONNECT in Serial Battery is set true or false: The USB instance dissapears and AggregateBatteries dies as expected. Therefore keeping the Aggregate Batteries living and controlling by /Alarms/BMScable does not work. FYI: @mr-manuel |
I made one more trial today. Since the last time I improved exception handling, now should the AggregateBatteries disconnect clearly if data from a battery instance are no more valid. When I disconnect the serial cable of one of batteries:
About the last point: Does the MPPT in this case follow its own charge parameters? If the voltage limit is set low enough - safe??? |
Hello Anton (or anybody else willing to help),
I have a problem, probably not direct related to dbus-aggregate-batteries, but I hope to get some help.
I have a similar hardware setup as you: 3x MultiPlus-II 48/5000/70-50, 1x Fronius Symo 20.0-3-M, 3x LiFePO4 batteries with JK BMS 2A24S20P
Everything runs smooth for a few months now, but recently one of the BMS failed in such a way that the USB-to-serial-adapter /dev/ttyUSB0 disappeared.
dbus-aggregate-batteries behaves as expected and keeps exiting and restarting itself forever.
I also checked the dbus values by using dbus-spy, everything as expected.
The problem is, the system now does not stop charging or discharging the 2 remaining battery-packs !
This is easily reproduced by disconnecting the USB-to-serial-adapter.
So I have 2 questions:
Thanks in advance and best regards,
lakeroe
The text was updated successfully, but these errors were encountered: