Louisvdw / dbus-serialbattery

Battery Monitor driver for serial battery in VenusOS GX systems
MIT License
522 stars 164 forks source link

reverse reading charging / discharging on Daly BMS #70

Closed nhybrow closed 2 years ago

nhybrow commented 2 years ago

Hello, On the Daly bms, when the battery is charging, the BMS displays discharging, and when the battery is discharging it displays charging. On venusOS and VRM the direction of the current is therefore reversed, the reading of information is therefore mistaken. Is there a way to reverse the direction in order to interpret the values as they are displayed on the BMV, so that the current direction is correct? Thanks in advance,

nhybrow commented 2 years ago

Screenshot_2021-11-09-08-10-53-25_40deb401b9ffe8e1df2f1cc5ba480b12

Louisvdw commented 2 years ago

Hi @nhybrow There is already an solution for this that will be included in the next release. See issue #65 In short, Daly firmware has this in different directions for different BMS version, so you can switch if with a flag in the driver.