Closed Scheppo closed 1 year ago
Ok, I have deleted the config.json file. Now the ssh connection is stable again. I have uninstalled BatteryAggregator befor but it was hard to come to the ssh console.
config.json: { "excludedServices": ["com.victronenergy.battery.socketcan_can1"] "capacity": 400 }
The min and maxcellvoltage is null:
The error is your json file is invalid, missing a comma separating the two entries. I suspect it got stuck in a loop trying to continually restart the service. Added a check to safely ignore invalid files. Note you can check the log for errors with
cat /var/log/BatteryAggregator/current
Sorry iam Beginner in Linux so i don’t know the right Syntax in json file.
It works now, but the Detail Page is empty:
The detail Page is in 1.8.2 also empty, because i excluded the Can Battery in config file.
Look at the log, can you see everything wrong?
Log looks ok. To confirm, the details page works if you don't exclude the can battery? So, I think you need to exclude the smart shunt for the can battery instead of the can battery.
Yes, details are working when can battery is not excluded. The reason why I use the Shunts for measure Volt and Ampere is the much better accuracy. The Bms don’t measure Current under 1 Ampere, the shunt can do till 0,1 Ampere.
Ah, I see, so really want you need is a "virtual battery" that merges the shunt and can data. Then aggregate that with the other shunt?
Yes I need only MinCellVolt and MaxCellVolt from Can Battery in Batteryaggregator.
My System is follow: One 120Ah Battery with Smartshunt One 280Ah Battery with Smartshunt and also Can connected.
I've now added virtual battery support. Note, there is an issue with stopping the service - you'll need to manually kill any child processes.
First of all thx for your fast programming.
when I add the „capacity“: 400 to config.json then the System don’t work. SSH connection is very slow and I can’t change the config.json anymore. Reboot don’t help