Closed Rutgerdek closed 6 months ago
Enable debugging in the config file and check the parameters page in the GUI.
If you have the voltages of SOC_RESET_VOLTAGE
and MAX_CELL_VOLTAGE
only 0.001
V apart the test is not very useful, since the values are rounded. Try at least 0.01
V difference between the values.
Your log does even say that it cannot connect to the battery, therefore it's strange that you can see even data in the GUI.
If the config.default.ini
would be truncated then the driver won't even start as above and throw a lot of errors.
Hi Manuel,
Thanks for your answer. What do you mean by check the parameters page in the GUI? In the Cerbo I've tried disabling DVCC and changing/turning off BMS control, ESS is at "Keep batteries charged".
I'm now at: MAX_CELL_VOLTAGE = 3.295 FLOAT_CELL_VOLTAGE = 3.285 SOC_RESET_VOLTAGE = 3.305
Changing that seems to have changed things a bit. The MPPT's are now charging to 26.64v/3.33v. System voltage is at 26.50v now, with all cells above 3.305v. Still, no reset though.
The driver does indeed start and sometimes the connection with the battery drops (it was a bug then and I assumed it still is). It always comes back within a minute though. I've had that issue with multiple interfaces and with Venus as well as Cerbo.
Logging changed to debug and attached current logfiles. current.txt current2.txt
What do you mean by check the parameters page in the GUI?
Open the Remote Console/GUI and navigate to your Battery -> Parameters. Then post a screenshot of that page.
Still, no reset though.
I think you missunderstood the function. The driver itself is not resetting the SOC, but the BMS. Different BMS resets the SOC at different cell voltages with different settings. You have to check first at which voltage your BMS resets the SOC to 100% and then set this voltage - some little diff like 0.005
V.
E.g. if your BMS resets the SOC at 3.600
V then try to set SOC_RESET_VOLTAGE
to 3.595
V. You have to try and see which voltage fits best for you. There are many other issues where this is described. https://github.com/Louisvdw/dbus-serialbattery/issues?q=SOC_RESET_VOLTAGE
Hi Manuel, attached the screenshots of both batteries. I'm expecting the driver to overrule the BMS setting that is indeed resetting SOC at 28.6v/8. I understand my current settings are crazy low but it's just for testing.
Sorry but I cannot find any topics in your link that explain how the system should behave when SOC_RESET_VOLTAGE is reached. In the config, I read: "
"Specify the cell voltage where the SoC should be reset to 100% by the BMS."
That is exactly what I want, to overrule the BMS setting and tell it to reset SOC at a lower voltage than the setting it has in it's own configuration. If that's not how I should read the sentence above, please let me know.
"Specify the cell voltage where the SoC should be reset to 100% by the BMS."
The driver and the BMS need to work together. The driver cannot override BMS settings.
Now I found the threat I meaned: https://github.com/Louisvdw/dbus-serialbattery/issues/703
That's unfortunate, I was indeed looking for a way to "unconditionally" override the BMS settings. As my target cell voltage and the BMS settings are 0.1125v apart, I now understand this is not going to work anyway.
Thanks anyway for your support and great battery driver! Good to see active development and support.
Then you could use the soc calculation from the driver.
Thanks again, I will give that a try.
Describe the problem
Probably a user error, but here's what I encounter.
I'm unable to get the system to charge to SOC_RESET_VOLTAGE as this voltage needs to be higher than MAX_CELL_VOLTAGE, at which the Victron system stops charging. I've set both values at 0.001v apart and the battery sees that voltage regularly for a few seconds but no reset.
I also tried raising the voltages, thus charging the batteries, then lovering them and rebooting the Cerbo. This causes the cells to be higher then SOC_RESET_VOLTAGE for a few minutes but still no reset.
Driver version
1.120240121
Venus OS device type
Cerbo GX
Venus OS version
3.13 (LargeOS)
BMS type
Smart BMS (LLT, JBD, Overkill Solar)
Cell count
8
Battery count
2
Connection type
Serial USB adapter to TTL
Config file
Relevant log output
Any other information that may be helpful
This might be completely irrelevant but when I'm opening config.default.ini externally, via file explorer in "MeshCentral", the file starts at:
d on dbus [Valid values 0,1,2,3] ; 0 Do not publish all the cells (only the min/max cell data as used by the default GX) ; 1 Format: /Voltages/Cell (also available for display on Remote Console) ; 2 Format: /Cell/#/Volts ; 3 Both formats 1 and 2 BATTERY_CELL_DATA_FORMAT = 1
All text above this is just missing. If I open the file (via SSH) locally on the Cerbo, the whole file is there so probably just an issue with MeshCentral.