pulquero / BatteryAggregator

MIT License
32 stars 7 forks source link

Bug: Smart Shunt is detected as Battery #8

Closed WaldemarFech closed 1 year ago

WaldemarFech commented 1 year ago

I've got 2 Batteries and one SmartShunt - so the BatteryAggregator detects 3 Batteries.

One Battery is currently not charging- and discharging. So the values of the other Battery is doubled, because of the Shunt. image

WaldemarFech commented 1 year ago

My Fault: RTFM sorry!

Configuration Optionally create the file /data/setupOptions/BatteryAggregator/config.json.

To exclude the battery service com.victronenergy.battery.shunt1, add:

{ "excludedServices": ["com.victronenergy.battery.shunt1"] }

pulquero commented 1 year ago

The other option is to create a virtual battery from the merged combination of the shunt + battery it is monitoring.

WaldemarFech commented 1 year ago

My Fault: RTFM sorry!

Configuration Optionally create the file /data/setupOptions/BatteryAggregator/config.json.

To exclude the battery service com.victronenergy.battery.shunt1, add:

{ "excludedServices": ["com.victronenergy.battery.shunt1"] }

In my case it is a VE-direct Shunt. So i had to insert:

com.victronenergy.battery.ttyS7

It would be great if we could choose which battery to aggregate or to exclude in the Remote-Console