Skip to content
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

CCL and DCL in new Capacity and Count modes does not take in to account "Allow to charge" and "Allow to discharge" #47

Closed
AlexdeKairos opened this issue Apr 25, 2024 · 19 comments

Comments

@AlexdeKairos
Copy link

AlexdeKairos commented Apr 25, 2024

New modes does not take into account the Allow to charge and Allow to discharge if any of the parallel batteries goes into protection and the total CCL and DCL remains well pass the actual limits. Or may be we have a problem with the correlation of the battery capacity and BMS capacity. I mean, you may have a large battery ie, 460 ah. but a relative small bms like 150a. 430ah 0.5C is 215a (quite common charge rate). but the BMS has a lower capacity 150a. So maybe the problem I have with single battery with 230a 0.5C rate and a 150 BMS. Your limits computation may only have a C rate computation when actually, an smaller limit is BMS capacity.

It's a theory actually....

@pulquero
Copy link
Owner

Would it be useful if I added the ability to be able to manually specify something like the "capacities" so it could be manually tuned?

@AlexdeKairos
Copy link
Author

Battery capacity and BMS capacity are published in dbus and can be easily read. I think its a matter of limiting the computed values (whatever system is selected by user IR, Capacity and Count) and verify before publishing if battery is under protection for charging and/or discharging, and limit the value to the max bms capacity, if applicable. That should work with any computation. With dbus-serialbattery there is already implemented a max charge protection that could be based on SOC, Battery temperature or cell voltage. In this scenario batteries are well protected and the direct sum of CCL and DCL is enough. Other batteries like CAB BUS connected will take real benefit of your extra level of protection. So behaviour can be automated and all info read from dbus or CAN. I don't actually know if there is other connection type available for batteries...

@pulquero
Copy link
Owner

I already do this: for each battery I calculate the overall current reqd to reach its ccl then pick the lowest overall current as the aggregated ccl. I don't think there is anything additional I can do to know whether it is going to result in an overcurrent for a particular battery.

Maybe what I could do is start at 90% of that value and slowly increase upwards.

@AlexdeKairos
Copy link
Author

AlexdeKairos commented Apr 28, 2024 via email

@pulquero
Copy link
Owner

The code already tracks /Io/AllowToCharge etc and excludes disconnected batteries from consideration. Please turn on debug logging and capture what dbus messages are flying about so we can verify what is actually happening.

@AlexdeKairos
Copy link
Author

AlexdeKairos commented Apr 30, 2024

Hello! Testing day today. But unfortunately if I follow your debug activation sentence, I get an invalid json file and I'm unable to do the test. That's probably a silly question but I'm stuck.

Here is my json file. It only includes the exclusion of the installed victron shunt on position 6.
Any try to include debug: "logLevel": "DEBUG"
becomes in log as invalid JSON.
Can you create me a valid JSON with my setup?

config.json

@pulquero
Copy link
Owner

Sure,
{ "logLevel": "DEBUG", "excludedServices": ["com.victronenergy.battery.ttyS6"] }

Note, you can change the loglevel dynamically too. BatteryAggregator has a LogLevel dbus path that you can switch between DEBUG and INFO.

@AlexdeKairos
Copy link
Author

AlexdeKairos commented Apr 30, 2024

Ok here the logs. The test has been performed First, disconnecting and connecting charge and discharge of battery ONE. this test result was correct. So behaviour as expected. The test is repeated with battery TWO. Here the reduced limit is not applied and regardless of the disconnection (chrge or discharge) there is no significant reduction in CCL and DCL.

Here LOGS

@400000006630d29e1f0569f4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: -74.44} now has values {'com.victronenergy.battery.ttyACM0': -63.63, 'com.victronenergy.battery.ttyACM1': -74.44} with result -138.07
@400000006630d29e204cde14 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinVoltageCellId
@400000006630d29e2063d4fc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinVoltageCellId updated with {com.victronenergy.battery.ttyACM1: C4} now has values {'com.victronenergy.battery.ttyACM0': 'C4', 'com.victronenergy.battery.ttyACM1': 'C4'} with result C4
@400000006630d29e240ae3fc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinCellVoltage
@400000006630d29e241be774 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.335} now has values {'com.victronenergy.battery.ttyACM0': 3.334, 'com.victronenergy.battery.ttyACM1': 3.335} with result 3.334
@400000006630d29f04b07a44 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d29f053b2644 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -4.86} now has values {'com.victronenergy.battery.ttyACM0': -4.86, 'com.victronenergy.battery.ttyACM1': -5.58} with result -10.440000000000001
@400000006630d29f05c01584 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d29f06130bcc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -64.83} now has values {'com.victronenergy.battery.ttyACM0': -64.83, 'com.victronenergy.battery.ttyACM1': -74.44} with result -139.26999999999998
@400000006630d29f072235c4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@400000006630d29f0786c7dc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.333} now has values {'com.victronenergy.battery.ttyACM0': 3.333, 'com.victronenergy.battery.ttyACM1': 3.335} with result 3.333
@400000006630d29f1c6f22fc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Current
@400000006630d29f1c85cbc4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM1: -5.49} now has values {'com.victronenergy.battery.ttyACM0': -4.86, 'com.victronenergy.battery.ttyACM1': -5.49} with result -10.350000000000001
@400000006630d29f1dabf85c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Power
@400000006630d29f1dbd74ec DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: -73.24} now has values {'com.victronenergy.battery.ttyACM0': -64.83, 'com.victronenergy.battery.ttyACM1': -73.24} with result -138.07
@400000006630d29f1f08c93c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinVoltageCellId
@400000006630d29f1f2c666c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinVoltageCellId updated with {com.victronenergy.battery.ttyACM1: C2} now has values {'com.victronenergy.battery.ttyACM0': 'C4', 'com.victronenergy.battery.ttyACM1': 'C2'} with result C2
@400000006630d2a004a892d4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@400000006630d2a0052e129c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.334} now has values {'com.victronenergy.battery.ttyACM0': 3.334, 'com.victronenergy.battery.ttyACM1': 3.335} with result 3.334
@400000006630d2a103e09f54 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d2a104a3763c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -4.95} now has values {'com.victronenergy.battery.ttyACM0': -4.95, 'com.victronenergy.battery.ttyACM1': -5.49} with result -10.440000000000001
@400000006630d2a10506200c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d2a10519427c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -66.03} now has values {'com.victronenergy.battery.ttyACM0': -66.03, 'com.victronenergy.battery.ttyACM1': -73.24} with result -139.26999999999998
@400000006630d2a11de052b4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Current
@400000006630d2a11e315ccc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM1: -5.39} now has values {'com.victronenergy.battery.ttyACM0': -4.95, 'com.victronenergy.battery.ttyACM1': -5.39} with result -10.34
@400000006630d2a11f3422e4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Power
@400000006630d2a11f8a360c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: -71.9} now has values {'com.victronenergy.battery.ttyACM0': -66.03, 'com.victronenergy.battery.ttyACM1': -71.9} with result -137.93
@400000006630d2a2037c3064 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Voltage
@400000006630d2a203f603e4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Voltage updated with {com.victronenergy.battery.ttyACM0: 13.33} now has values {'com.victronenergy.battery.ttyACM0': 13.33, 'com.victronenergy.battery.ttyACM1': 13.34} with result 13.335
@400000006630d2a204a2a34c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d2a204b87924 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -5.93} now has values {'com.victronenergy.battery.ttyACM0': -5.93, 'com.victronenergy.battery.ttyACM1': -5.39} with result -11.32
@400000006630d2a20572c0a4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d2a2058ee3c4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -79.05} now has values {'com.victronenergy.battery.ttyACM0': -79.05, 'com.victronenergy.battery.ttyACM1': -71.9} with result -150.95
@400000006630d2a205f43d14 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@400000006630d2a20615b37c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.33} now has values {'com.victronenergy.battery.ttyACM0': 3.33, 'com.victronenergy.battery.ttyACM1': 3.335} with result 3.33
@400000006630d2a2069cecac DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxCellVoltage
@400000006630d2a206bd0f3c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.335} now has values {'com.victronenergy.battery.ttyACM0': 3.335, 'com.victronenergy.battery.ttyACM1': 3.337} with result 3.337
@400000006630d2a21df28ac4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Voltage
@400000006630d2a21e697fe4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Voltage updated with {com.victronenergy.battery.ttyACM1: 13.35} now has values {'com.victronenergy.battery.ttyACM0': 13.33, 'com.victronenergy.battery.ttyACM1': 13.35} with result 13.34
@400000006630d2a21ff28914 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Current
@400000006630d2a220140f1c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM1: 0.0} now has values {'com.victronenergy.battery.ttyACM0': -5.93, 'com.victronenergy.battery.ttyACM1': 0.0} with result -5.93
@400000006630d2a221b03ea4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Power
@400000006630d2a2227c58a4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: 0.0} now has values {'com.victronenergy.battery.ttyACM0': -79.05, 'com.victronenergy.battery.ttyACM1': 0.0} with result -79.05
@400000006630d2a222b35e94 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Io/AllowToCharge
@400000006630d2a222f3885c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Io/AllowToCharge updated with {com.victronenergy.battery.ttyACM1: 0} now has values {'com.victronenergy.battery.ttyACM0': 1, 'com.victronenergy.battery.ttyACM1': 0} with result 1
@400000006630d2a223086c04 DEBUG:com.victronenergy.battery.aggregator:Charging batteries: ['com.victronenergy.battery.ttyACM0']
@400000006630d2a2231adeac DEBUG:com.victronenergy.battery.aggregator:Current ratios: [(2.002173913043478, 'capacity')]
@400000006630d2a2232cb12c DEBUG:com.victronenergy.battery.aggregator:CCL estimates: [294.3195652173913]
@400000006630d2a223429e74 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Io/AllowToDischarge
@400000006630d2a223555f3c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Io/AllowToDischarge updated with {com.victronenergy.battery.ttyACM1: 0} now has values {'com.victronenergy.battery.ttyACM0': 1, 'com.victronenergy.battery.ttyACM1': 0} with result 1
@400000006630d2a223686e24 DEBUG:com.victronenergy.battery.aggregator:Discharging batteries: ['com.victronenergy.battery.ttyACM0']
@400000006630d2a223a61f1c DEBUG:com.victronenergy.battery.aggregator:Current ratios: [(2.002173913043478, 'capacity')]
@400000006630d2a223d34d84 DEBUG:com.victronenergy.battery.aggregator:DCL estimates: [300.32608695652175]
@400000006630d2a223f0ef74 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/NrOfModulesBlockingCharge
@400000006630d2a22404b20c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/NrOfModulesBlockingCharge updated with {com.victronenergy.battery.ttyACM1: 1} now has values {'com.victronenergy.battery.ttyACM0': 0, 'com.victronenergy.battery.ttyACM1': 1} with result 1
@400000006630d2a224b525ec DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/NrOfModulesBlockingDischarge
@400000006630d2a224c9c72c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/NrOfModulesBlockingDischarge updated with {com.victronenergy.battery.ttyACM1: 1} now has values {'com.victronenergy.battery.ttyACM0': 0, 'com.victronenergy.battery.ttyACM1': 1} with result 1
@400000006630d2a226558f7c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Info/MaxChargeCurrent
@400000006630d2a22667796c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Info/MaxChargeCurrent updated with {com.victronenergy.battery.ttyACM1: 0} now has values {'com.victronenergy.battery.ttyACM0': 147.0, 'com.victronenergy.battery.ttyACM1': 0} with result None
@400000006630d2a226eb5354 DEBUG:com.victronenergy.battery.aggregator:Charging batteries: ['com.victronenergy.battery.ttyACM0']
@400000006630d2a226fddd6c DEBUG:com.victronenergy.battery.aggregator:Current ratios: [(2.002173913043478, 'capacity')]
@400000006630d2a2277bd384 DEBUG:com.victronenergy.battery.aggregator:CCL estimates: [294.3195652173913]
@400000006630d2a227909404 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Info/MaxDischargeCurrent
@400000006630d2a227a112ac DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Info/MaxDischargeCurrent updated with {com.victronenergy.battery.ttyACM1: 0} now has values {'com.victronenergy.battery.ttyACM0': 150.0, 'com.victronenergy.battery.ttyACM1': 0} with result None
@400000006630d2a227c8fd6c DEBUG:com.victronenergy.battery.aggregator:Discharging batteries: ['com.victronenergy.battery.ttyACM0']
@400000006630d2a228acc204 DEBUG:com.victronenergy.battery.aggregator:Current ratios: [(2.002173913043478, 'capacity')]
@400000006630d2a228be0014 DEBUG:com.victronenergy.battery.aggregator:DCL estimates: [300.32608695652175]
@400000006630d2a22a33c3ac DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinCellVoltage
@400000006630d2a22a6f8c5c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.338} now has values {'com.victronenergy.battery.ttyACM0': 3.33, 'com.victronenergy.battery.ttyACM1': 3.338} with result 3.33
@400000006630d2a22a84e91c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MaxCellVoltage
@400000006630d2a22a95f84c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.339} now has values {'com.victronenergy.battery.ttyACM0': 3.335, 'com.victronenergy.battery.ttyACM1': 3.339} with result 3.339
@400000006630d2a3043d6554 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d2a30454dd24 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -10.53} now has values {'com.victronenergy.battery.ttyACM0': -10.53, 'com.victronenergy.battery.ttyACM1': 0.0} with result -10.53
@400000006630d2a3057ad30c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d2a3058fb6b4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -140.36} now has values {'com.victronenergy.battery.ttyACM0': -140.36, 'com.victronenergy.battery.ttyACM1': 0.0} with result -140.36
@400000006630d2a305c52a4c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Capacity
@400000006630d2a30612310c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Capacity updated with {com.victronenergy.battery.ttyACM0: 359.43} now has values {'com.victronenergy.battery.ttyACM0': 359.43, 'com.victronenergy.battery.ttyACM1': 300.28} with result 659.71
@400000006630d2a306c12dec DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /ConsumedAmphours
@400000006630d2a306d86354 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /ConsumedAmphours updated with {com.victronenergy.battery.ttyACM0: 100.57} now has values {'com.victronenergy.battery.ttyACM0': 100.57, 'com.victronenergy.battery.ttyACM1': 160.72000000000003} with result 261.29
@400000006630d2a4038c514c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d2a403fbb8d4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -10.26} now has values {'com.victronenergy.battery.ttyACM0': -10.26, 'com.victronenergy.battery.ttyACM1': 0.0} with result -10.26
@400000006630d2a404b423c4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d2a404cef30c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -136.77} now has values {'com.victronenergy.battery.ttyACM0': -136.77, 'com.victronenergy.battery.ttyACM1': 0.0} with result -136.77

@AlexdeKairos
Copy link
Author

AlexdeKairos commented Apr 30, 2024

i repeated the test and now doesnt wotk with any battery. I did a reset of the cerbo gx

@400000006630d54833a8fbb4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -90.98} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): -90.98, dbus.String('com.victronenergy.battery.ttyACM1'): -102.3} with result -193.28
@400000006630d54833a94204 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@400000006630d54833a9558c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.329} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): 3.329, dbus.String('com.victronenergy.battery.ttyACM1'): 3.331} with result 3.329
@400000006630d5483a2c538c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Current
@400000006630d5483a434e5c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM1: -7.59} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): -6.83, dbus.String('com.victronenergy.battery.ttyACM1'): -7.59} with result -14.42
@400000006630d5483b215e04 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Power
@400000006630d5483b426324 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: -101.1} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): -90.98, dbus.String('com.victronenergy.battery.ttyACM1'): -101.1} with result -192.07999999999998
@400000006630d54900a82104 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinVoltageCellId
@400000006630d54900fb4dfc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinVoltageCellId updated with {com.victronenergy.battery.ttyACM1: C4} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): 'C4', dbus.String('com.victronenergy.battery.ttyACM1'): 'C4'} with result C4
@400000006630d54901f9ab2c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinCellVoltage
@400000006630d5490211b384 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.33} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): 3.329, dbus.String('com.victronenergy.battery.ttyACM1'): 3.33} with result 3.329
@400000006630d5492f3fae24 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d5492f52b924 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -6.74} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): -6.74, dbus.String('com.victronenergy.battery.ttyACM1'): -7.59} with result -14.33
@400000006630d5492ffec41c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d54930b2f8ec DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -89.78} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): -89.78, dbus.String('com.victronenergy.battery.ttyACM1'): -101.1} with result -190.88
@400000006630d54931827234 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@400000006630d54931961974 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.328} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): 3.328, dbus.String('com.victronenergy.battery.ttyACM1'): 3.33} with result 3.328
@400000006630d5493a3c5534 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Capacity
@400000006630d5493a7c7b14 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Capacity updated with {com.victronenergy.battery.ttyACM1: 298.85} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): 358.11, dbus.String('com.victronenergy.battery.ttyACM1'): 298.85} with result 656.96
@400000006630d5493b291a7c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /ConsumedAmphours
@400000006630d5493b3ee884 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /ConsumedAmphours updated with {com.victronenergy.battery.ttyACM1: 162.14999999999998} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): 101.88999999999999, dbus.String('com.victronenergy.battery.ttyACM1'): 162.14999999999998} with result 264.03999999999996
@400000006630d54a0048326c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinVoltageCellId
@400000006630d54a0069acbc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinVoltageCellId updated with {com.victronenergy.battery.ttyACM1: C2} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): 'C4', dbus.String('com.victronenergy.battery.ttyACM1'): 'C2'} with result C2
@400000006630d54a00f6ba1c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MaxCellVoltage
@400000006630d54a016a8e74 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.331} now has values {dbus.String('com.victronenergy.battery.ttyACM0'): 3.333, dbus.String('com.victronenergy.battery.ttyACM1'): 3.331} with result 3.333

@AlexdeKairos
Copy link
Author

AlexdeKairos commented Apr 30, 2024

Count mode is the only one that seems to work.

Here logs

@400000006630d8783033031c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Power
@400000006630d8783045f2c4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: -90.11} now has values {'com.victronenergy.battery.ttyACM0': -78.93, 'com.victronenergy.battery.ttyACM1': -90.11} with result -169.04000000000002
@400000006630d878347ce1cc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinCellVoltage
@400000006630d878348db27c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.329} now has values {'com.victronenergy.battery.ttyACM0': 3.326, 'com.victronenergy.battery.ttyACM1': 3.329} with result 3.326
@400000006630d87834a04464 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MaxCellVoltage
@400000006630d87834b7337c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.33} now has values {'com.victronenergy.battery.ttyACM0': 3.331, 'com.victronenergy.battery.ttyACM1': 3.33} with result 3.331
@400000006630d87930df8efc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Current
@400000006630d879318a9c0c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM1: -6.68} now has values {'com.victronenergy.battery.ttyACM0': -5.93, 'com.victronenergy.battery.ttyACM1': -6.68} with result -12.61
@400000006630d8793221d6e4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Power
@400000006630d87932391bec DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: -88.91} now has values {'com.victronenergy.battery.ttyACM0': -78.93, 'com.victronenergy.battery.ttyACM1': -88.91} with result -167.84
@400000006630d8793541fad4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinCellVoltage
@400000006630d87935bb0334 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.328} now has values {'com.victronenergy.battery.ttyACM0': 3.326, 'com.victronenergy.battery.ttyACM1': 3.328} with result 3.326
@400000006630d87935d91284 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MaxCellVoltage
@400000006630d87935ed80fc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.329} now has values {'com.victronenergy.battery.ttyACM0': 3.331, 'com.victronenergy.battery.ttyACM1': 3.329} with result 3.331
@400000006630d87a0c802454 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d87a0d2d5444 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -6.02} now has values {'com.victronenergy.battery.ttyACM0': -6.02, 'com.victronenergy.battery.ttyACM1': -6.68} with result -12.7
@400000006630d87a0e4e394c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d87a0e71132c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -80.13} now has values {'com.victronenergy.battery.ttyACM0': -80.13, 'com.victronenergy.battery.ttyACM1': -88.91} with result -169.04
@400000006630d87a10a066ac DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@400000006630d87a10d253ec DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C3} now has values {'com.victronenergy.battery.ttyACM0': 'C3', 'com.victronenergy.battery.ttyACM1': 'C1'} with result C3
@400000006630d87a2feb6ee4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Current
@400000006630d87a3052c01c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM1: -6.86} now has values {'com.victronenergy.battery.ttyACM0': -6.02, 'com.victronenergy.battery.ttyACM1': -6.86} with result -12.879999999999999
@400000006630d87a312e918c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Power
@400000006630d87a323c8ebc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: -91.31} now has values {'com.victronenergy.battery.ttyACM0': -80.13, 'com.victronenergy.battery.ttyACM1': -91.31} with result -171.44
@400000006630d87a334298c4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MaxCellVoltage
@400000006630d87a33f53f24 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.33} now has values {'com.victronenergy.battery.ttyACM0': 3.331, 'com.victronenergy.battery.ttyACM1': 3.33} with result 3.331
@400000006630d87b0b2460fc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d87b0b357414 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -5.93} now has values {'com.victronenergy.battery.ttyACM0': -5.93, 'com.victronenergy.battery.ttyACM1': -6.86} with result -12.79
@400000006630d87b0e7fad74 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d87b0edce0d4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -78.93} now has values {'com.victronenergy.battery.ttyACM0': -78.93, 'com.victronenergy.battery.ttyACM1': -91.31} with result -170.24
@400000006630d87b1041f2fc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@400000006630d87b11380714 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C1} now has values {'com.victronenergy.battery.ttyACM0': 'C1', 'com.victronenergy.battery.ttyACM1': 'C1'} with result C1
@400000006630d87b310074dc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Current
@400000006630d87b314ab0c4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM1: -6.77} now has values {'com.victronenergy.battery.ttyACM0': -5.93, 'com.victronenergy.battery.ttyACM1': -6.77} with result -12.7
@400000006630d87b31a56b54 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Power
@400000006630d87b31bacbfc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: -90.11} now has values {'com.victronenergy.battery.ttyACM0': -78.93, 'com.victronenergy.battery.ttyACM1': -90.11} with result -169.04000000000002
@400000006630d87c30d3699c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Current
@400000006630d87c310b4664 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM1: -6.86} now has values {'com.victronenergy.battery.ttyACM0': -5.93, 'com.victronenergy.battery.ttyACM1': -6.86} with result -12.79
@400000006630d87c317d559c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Power
@400000006630d87c3239cf9c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM1: -91.31} now has values {'com.victronenergy.battery.ttyACM0': -78.93, 'com.victronenergy.battery.ttyACM1': -91.31} with result -170.24
@400000006630d87c330c794c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MaxCellVoltage
@400000006630d87c33299a54 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.329} now has values {'com.victronenergy.battery.ttyACM0': 3.331, 'com.victronenergy.battery.ttyACM1': 3.329} with result 3.331
@400000006630d87d0df76aa4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Soc
@400000006630d87d0e1cadb4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Soc updated with {com.victronenergy.battery.ttyACM0: 96.8} now has values {'com.victronenergy.battery.ttyACM0': 96.8, 'com.victronenergy.battery.ttyACM1': 80.75} with result 88.775
@400000006630d87d0f4bbbbc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d87d0f64ecf4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -6.02} now has values {'com.victronenergy.battery.ttyACM0': -6.02, 'com.victronenergy.battery.ttyACM1': -6.86} with result -12.879999999999999
@400000006630d87d0f95c4dc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d87d0fef2f7c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -80.13} now has values {'com.victronenergy.battery.ttyACM0': -80.13, 'com.victronenergy.battery.ttyACM1': -91.31} with result -171.44
@400000006630d87d1019e514 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Capacity
@400000006630d87d103e5534 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Capacity updated with {com.victronenergy.battery.ttyACM0: 356.24} now has values {'com.victronenergy.battery.ttyACM0': 356.24, 'com.victronenergy.battery.ttyACM1': 297.17} with result 653.4100000000001
@400000006630d87d10a99e0c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /ConsumedAmphours
@400000006630d87d10e0463c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /ConsumedAmphours updated with {com.victronenergy.battery.ttyACM0: 103.75999999999999} now has values {'com.victronenergy.battery.ttyACM0': 103.75999999999999, 'com.victronenergy.battery.ttyACM1': 163.82999999999998} with result 267.59
@400000006630d87d2fa33e6c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Capacity
@400000006630d87d300ebdf4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Capacity updated with {com.victronenergy.battery.ttyACM1: 297.16} now has values {'com.victronenergy.battery.ttyACM0': 356.24, 'com.victronenergy.battery.ttyACM1': 297.16} with result 653.4000000000001
@400000006630d87d30b5e304 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /ConsumedAmphours
@400000006630d87d31302f9c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /ConsumedAmphours updated with {com.victronenergy.battery.ttyACM1: 163.83999999999997} now has values {'com.victronenergy.battery.ttyACM0': 103.75999999999999, 'com.victronenergy.battery.ttyACM1': 163.83999999999997} with result 267.59999999999997
@400000006630d87d329c2f34 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MaxCellVoltage
@400000006630d87d32afcabc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.33} now has values {'com.victronenergy.battery.ttyACM0': 3.331, 'com.victronenergy.battery.ttyACM1': 3.33} with result 3.331
@400000006630d87e0c44116c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@400000006630d87e0d0c62ac DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -5.93} now has values {'com.victronenergy.battery.ttyACM0': -5.93, 'com.victronenergy.battery.ttyACM1': -6.86} with result -12.79
@400000006630d87e0d7af35c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@400000006630d87e0d94a964 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -78.93} now has values {'com.victronenergy.battery.ttyACM0': -78.93, 'com.victronenergy.battery.ttyACM1': -91.31} with result -170.24
@400000006630d87e31aa3db4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MaxCellVoltage
@400000006630d87e31c343f4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.329} now has values {'com.victronenergy.battery.ttyACM0': 3.331, 'com.victronenergy.battery.ttyACM1': 3.329} with result 3.331
@400000006630d87f2ff7888c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MaxCellVoltage
@400000006630d87f30b93e64 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM1: 3.33} now has values {'com.victronenergy.battery.ttyACM0': 3.331, 'com.victronenergy.battery.ttyACM1': 3.33} with result 3.331
@400000006630d880306bca44 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /System/MinVoltageCellId
@400000006630d8803088e37c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinVoltageCellId updated with {com.victronenergy.battery.ttyACM1: C4} now has values {'com.victronenergy.battery.ttyACM0': 'C4', 'com.victronenergy.battery.ttyACM1': 'C4'} with result C4

@pulquero
Copy link
Owner

What I'm expecting to see are /Io/AllowToCharge messages everytime a battery connects/disconnects. These are one of the messages that trigger a recalculation of the CCL. In the first log there was only ever one for disabling ACM1. Never one for enabling it. I think you need to ascertain whether this is being correctly set on the batteries, and maybe if for some reason the aggregator is not picking them up. Or whether the aggregator should be listening to some other alternative message instead.

@AlexdeKairos
Copy link
Author

Hi.
Battery is connecting and disconnecting both of them. I have checked with bluetooth app and in cerbo UI and they repond properly. So Battery aggregator is not caching the changes...

I send you an additional. Just changed to mode to IR

@AlexdeKairos
Copy link
Author

AlexdeKairos commented Apr 30, 2024

here last log

@4000000066311ddb0085cfdc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311ddb0085f6ec DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -25.74} now has values {'com.victronenergy.battery.ttyACM0': -25.74, 'com.victronenergy.battery.ttyACM1': 0.0} with result -25.74
@4000000066311ddb036fdc24 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@4000000066311ddb03824ae4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C3} now has values {'com.victronenergy.battery.ttyACM0': 'C3', 'com.victronenergy.battery.ttyACM1': 'C3'} with result C3
@4000000066311ddb37734254 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Voltage
@4000000066311ddb378c8ee4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Voltage updated with {com.victronenergy.battery.ttyACM1: 13.68} now has values {'com.victronenergy.battery.ttyACM0': 13.69, 'com.victronenergy.battery.ttyACM1': 13.68} with result 13.684999999999999
@4000000066311ddb39be4b94 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311ddb39f3d2b4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -1.97} now has values {'com.victronenergy.battery.ttyACM0': -1.97, 'com.victronenergy.battery.ttyACM1': 0.0} with result -1.97
@4000000066311ddb3a22be6c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311ddb3a6afe84 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -26.97} now has values {'com.victronenergy.battery.ttyACM0': -26.97, 'com.victronenergy.battery.ttyACM1': 0.0} with result -26.97
@4000000066311ddc37c45054 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311ddc37ddb83c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -2.06} now has values {'com.victronenergy.battery.ttyACM0': -2.06, 'com.victronenergy.battery.ttyACM1': 0.0} with result -2.06
@4000000066311ddc38ac85a4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311ddc38ef4394 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -28.2} now has values {'com.victronenergy.battery.ttyACM0': -28.2, 'com.victronenergy.battery.ttyACM1': 0.0} with result -28.2
@4000000066311ddc39805834 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@4000000066311ddc3990c73c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C1} now has values {'com.victronenergy.battery.ttyACM0': 'C1', 'com.victronenergy.battery.ttyACM1': 'C3'} with result C3
@4000000066311ddc3a073b74 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@4000000066311ddc3b0828e4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.42} now has values {'com.victronenergy.battery.ttyACM0': 3.42, 'com.victronenergy.battery.ttyACM1': 3.42} with result 3.42
@4000000066311ddd027e38c4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxCellVoltage
@4000000066311ddd0296394c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.424} now has values {'com.victronenergy.battery.ttyACM0': 3.424, 'com.victronenergy.battery.ttyACM1': 3.424} with result 3.424
@4000000066311ddd02be33ac DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /Dc/0/Voltage
@4000000066311ddd02d4f7cc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Voltage updated with {com.victronenergy.battery.ttyACM1: 13.69} now has values {'com.victronenergy.battery.ttyACM0': 13.69, 'com.victronenergy.battery.ttyACM1': 13.69} with result 13.69
@4000000066311ddd37c4831c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@4000000066311ddd37e17544 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C3} now has values {'com.victronenergy.battery.ttyACM0': 'C3', 'com.victronenergy.battery.ttyACM1': 'C3'} with result C3
@4000000066311ddd38f3ac7c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxCellVoltage
@4000000066311ddd390f4acc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.425} now has values {'com.victronenergy.battery.ttyACM0': 3.425, 'com.victronenergy.battery.ttyACM1': 3.424} with result 3.425
@4000000066311dde3729a2ac DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311dde373e4004 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -2.15} now has values {'com.victronenergy.battery.ttyACM0': -2.15, 'com.victronenergy.battery.ttyACM1': 0.0} with result -2.15
@4000000066311dde38274c2c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311dde38da0614 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -29.43} now has values {'com.victronenergy.battery.ttyACM0': -29.43, 'com.victronenergy.battery.ttyACM1': 0.0} with result -29.43
@4000000066311dde3a92879c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@4000000066311ddf002c077c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.421} now has values {'com.victronenergy.battery.ttyACM0': 3.421, 'com.victronenergy.battery.ttyACM1': 3.42} with result 3.42
@4000000066311ddf37e52694 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@4000000066311ddf37f56e8c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C1} now has values {'com.victronenergy.battery.ttyACM0': 'C1', 'com.victronenergy.battery.ttyACM1': 'C3'} with result C3
@4000000066311ddf3a5d75ac DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@4000000066311ddf3a6e32d4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.42} now has values {'com.victronenergy.battery.ttyACM0': 3.42, 'com.victronenergy.battery.ttyACM1': 3.42} with result 3.42
@4000000066311ddf3a824f44 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxCellVoltage
@4000000066311ddf3a93eefc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.424} now has values {'com.victronenergy.battery.ttyACM0': 3.424, 'com.victronenergy.battery.ttyACM1': 3.424} with result 3.424
@4000000066311de037409d7c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311de037621bb4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -1.97} now has values {'com.victronenergy.battery.ttyACM0': -1.97, 'com.victronenergy.battery.ttyACM1': 0.0} with result -1.97
@4000000066311de0385bc5c4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311de0389a2a6c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -26.97} now has values {'com.victronenergy.battery.ttyACM0': -26.97, 'com.victronenergy.battery.ttyACM1': 0.0} with result -26.97
@4000000066311de1373994b4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311de1377e1bac DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -2.06} now has values {'com.victronenergy.battery.ttyACM0': -2.06, 'com.victronenergy.battery.ttyACM1': 0.0} with result -2.06
@4000000066311de1387558a4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311de138a42cec DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -28.2} now has values {'com.victronenergy.battery.ttyACM0': -28.2, 'com.victronenergy.battery.ttyACM1': 0.0} with result -28.2
@4000000066311de33854576c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311de338548264 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -2.15} now has values {'com.victronenergy.battery.ttyACM0': -2.15, 'com.victronenergy.battery.ttyACM1': 0.0} with result -2.15
@4000000066311de33b3612cc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311de33b363dc4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -29.43} now has values {'com.victronenergy.battery.ttyACM0': -29.43, 'com.victronenergy.battery.ttyACM1': 0.0} with result -29.43
@4000000066311de33b5867dc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Info/MaxChargeVoltage
@4000000066311de33b6b3c2c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Info/MaxChargeVoltage updated with {com.victronenergy.battery.ttyACM0: 14.14} now has values {'com.victronenergy.battery.ttyACM0': 14.14, 'com.victronenergy.battery.ttyACM1': 13.8} with result None
@4000000066311de4013b355c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /TimeToGo
@4000000066311de4013b6824 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /TimeToGo updated with {com.victronenergy.battery.ttyACM0: 1103724} now has values {'com.victronenergy.battery.ttyACM0': 1103724, 'com.victronenergy.battery.ttyACM1': 700456} with result 902090.0
@4000000066311de40340254c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM1 /TimeToGo
@4000000066311de403522a94 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /TimeToGo updated with {com.victronenergy.battery.ttyACM1: 1013496} now has values {'com.victronenergy.battery.ttyACM0': 1103724, 'com.victronenergy.battery.ttyACM1': 1013496} with result 1058610.0
@4000000066311de438f3e32c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311de43943acf4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -1.88} now has values {'com.victronenergy.battery.ttyACM0': -1.88, 'com.victronenergy.battery.ttyACM1': 0.0} with result -1.88
@4000000066311de439d71f0c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311de439ec29c4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -25.74} now has values {'com.victronenergy.battery.ttyACM0': -25.74, 'com.victronenergy.battery.ttyACM1': 0.0} with result -25.74
@4000000066311de43b92d4e4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@4000000066311de5000a855c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C3} now has values {'com.victronenergy.battery.ttyACM0': 'C3', 'com.victronenergy.battery.ttyACM1': 'C3'} with result C3
@4000000066311de538d6490c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311de5392c40dc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -2.06} now has values {'com.victronenergy.battery.ttyACM0': -2.06, 'com.victronenergy.battery.ttyACM1': 0.0} with result -2.06
@4000000066311de539886e84 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311de539bf6ca4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -28.2} now has values {'com.victronenergy.battery.ttyACM0': -28.2, 'com.victronenergy.battery.ttyACM1': 0.0} with result -28.2
@4000000066311de637944b5c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Voltage
@4000000066311de637d4e284 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Voltage updated with {com.victronenergy.battery.ttyACM0: 13.68} now has values {'com.victronenergy.battery.ttyACM0': 13.68, 'com.victronenergy.battery.ttyACM1': 13.69} with result 13.684999999999999
@4000000066311de638f4c9a4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311de6395c70cc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -2.15} now has values {'com.victronenergy.battery.ttyACM0': -2.15, 'com.victronenergy.battery.ttyACM1': 0.0} with result -2.15
@4000000066311de63a10400c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311de63a294a34 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -29.41} now has values {'com.victronenergy.battery.ttyACM0': -29.41, 'com.victronenergy.battery.ttyACM1': 0.0} with result -29.41
@4000000066311de73a1d1534 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Voltage
@4000000066311de73a669d6c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Voltage updated with {com.victronenergy.battery.ttyACM0: 13.69} now has values {'com.victronenergy.battery.ttyACM0': 13.69, 'com.victronenergy.battery.ttyACM1': 13.69} with result 13.69
@4000000066311de801087144 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311de80146129c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -29.43} now has values {'com.victronenergy.battery.ttyACM0': -29.43, 'com.victronenergy.battery.ttyACM1': 0.0} with result -29.43
@4000000066311de8017ada54 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@4000000066311de80198979c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C1} now has values {'com.victronenergy.battery.ttyACM0': 'C1', 'com.victronenergy.battery.ttyACM1': 'C3'} with result C3
@4000000066311de837f687cc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Voltage
@4000000066311de83806eb1c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Voltage updated with {com.victronenergy.battery.ttyACM0: 13.68} now has values {'com.victronenergy.battery.ttyACM0': 13.68, 'com.victronenergy.battery.ttyACM1': 13.69} with result 13.684999999999999
@4000000066311de838dde25c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311de838fe2044 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -29.41} now has values {'com.victronenergy.battery.ttyACM0': -29.41, 'com.victronenergy.battery.ttyACM1': 0.0} with result -29.41
@4000000066311de839ab8acc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Info/MaxChargeCurrent
@4000000066311de83a003a7c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Info/MaxChargeCurrent updated with {com.victronenergy.battery.ttyACM0: 75.3} now has values {'com.victronenergy.battery.ttyACM0': 75.3, 'com.victronenergy.battery.ttyACM1': 0} with result None
@4000000066311de83a60928c DEBUG:com.victronenergy.battery.aggregator:Charging batteries: ['com.victronenergy.battery.ttyACM0']
@4000000066311de83a9d265c DEBUG:com.victronenergy.battery.aggregator:Current ratios: [(2.002173913043478, 'capacity')]
@4000000066311de83ad4ebb4 DEBUG:com.victronenergy.battery.aggregator:CCL estimates: [150.7636956521739]
@4000000066311de83b0d35dc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@4000000066311de83b300fbc DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.419} now has values {'com.victronenergy.battery.ttyACM0': 3.419, 'com.victronenergy.battery.ttyACM1': 3.42} with result 3.419
@4000000066311de83b4919e4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxCellVoltage
@4000000066311de83b7efec4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.423} now has values {'com.victronenergy.battery.ttyACM0': 3.423, 'com.victronenergy.battery.ttyACM1': 3.424} with result 3.424
@4000000066311de9381f7c2c DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Voltage
@4000000066311de93831b054 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Voltage updated with {com.victronenergy.battery.ttyACM0: 13.69} now has values {'com.victronenergy.battery.ttyACM0': 13.69, 'com.victronenergy.battery.ttyACM1': 13.69} with result 13.69
@4000000066311de9392ff9fc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311de9398b971c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -2.43} now has values {'com.victronenergy.battery.ttyACM0': -2.43, 'com.victronenergy.battery.ttyACM1': 0.0} with result -2.43
@4000000066311de93a1e49cc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311de93b33152c DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -33.27} now has values {'com.victronenergy.battery.ttyACM0': -33.27, 'com.victronenergy.battery.ttyACM1': 0.0} with result -33.27
@4000000066311dea01a55d24 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MinCellVoltage
@4000000066311dea01cf99a4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MinCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.42} now has values {'com.victronenergy.battery.ttyACM0': 3.42, 'com.victronenergy.battery.ttyACM1': 3.42} with result 3.42
@4000000066311dea01f6f3dc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxCellVoltage
@4000000066311dea020ddb24 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxCellVoltage updated with {com.victronenergy.battery.ttyACM0: 3.424} now has values {'com.victronenergy.battery.ttyACM0': 3.424, 'com.victronenergy.battery.ttyACM1': 3.424} with result 3.424
@4000000066311dea38ee2a54 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Current
@4000000066311dea397fdb34 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Current updated with {com.victronenergy.battery.ttyACM0: -2.06} now has values {'com.victronenergy.battery.ttyACM0': -2.06, 'com.victronenergy.battery.ttyACM1': 0.0} with result -2.06
@4000000066311dea3a128de4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /Dc/0/Power
@4000000066311dea3aba5704 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /Dc/0/Power updated with {com.victronenergy.battery.ttyACM0: -28.2} now has values {'com.victronenergy.battery.ttyACM0': -28.2, 'com.victronenergy.battery.ttyACM1': 0.0} with result -28.2
@4000000066311dea3b6b6ef4 DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@4000000066311deb003e2fec DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C3} now has values {'com.victronenergy.battery.ttyACM0': 'C3', 'com.victronenergy.battery.ttyACM1': 'C3'} with result C3
@4000000066311deb393587dc DEBUG:com.victronenergy.battery.aggregator:Battery value changed: com.victronenergy.battery.ttyACM0 /System/MaxVoltageCellId
@4000000066311deb39a312d4 DEBUG:com.victronenergy.battery.aggregator:Aggregator for /System/MaxVoltageCellId updated with {com.victronenergy.battery.ttyACM0: C1} now has values {'com.victronenergy.battery.ttyACM0': 'C1', 'com.victronenergy.battery.ttyACM1': 'C3'} with result C3

@pulquero
Copy link
Owner

pulquero commented May 2, 2024

To check for inconsistencies between the batteries and aggregator, I've create a dbus_dump.py tool available in the latest version. Please run:

python3 dbus_dump.py com.victronenergy.battery

before and after a battery connection/disconnection. It'll write files to /data/dbus_dump_*. Please attach these files to this issue, thanks.

@AlexdeKairos
Copy link
Author

AlexdeKairos commented May 7, 2024

may be something misssing?

python3: can't open file 'dbus_dump.py': [Errno 2] No such file or directory
I'm on v3.0.52
fancy for a remote session?

@pulquero
Copy link
Owner

pulquero commented May 8, 2024

You probably havent changed directories, try cd /data/BatteryAggregator first. Sure, happy to have a remote session via discord or something.

@AlexdeKairos
Copy link
Author

Hi. I wont be able to test untill next week initially. We keep in touch to prepare a remote session

@AlexdeKairos
Copy link
Author

@pulquero Hi, if you want. About 1030 am, I'll be able for a remote session

@pulquero
Copy link
Owner

Good with me.

@pulquero pulquero closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants