Daly BMS 10S LTO (MGod branded) shows discharging state as charging?
See original GitHub issueDescribe the bug
To Reproduce Steps to reproduce the behavior: Connect the MGod BMS via RS485 to USB cable to Raspberry Pi. Logs would be like:
root@raspberrypi2:~# tail -f /data/log/dbus-serialbattery.ttyUSB1/current
...
@40000000611ea5c536bf82b4 INFO:__main__:dbus-serialbattery v0.5
@40000000611ea5c536d05364 INFO:__main__:Testing Daly
@40000000611ea5c53947fe6c INFO:utils:DalyBMS 10 cells
@40000000611ea5c6017fcfdc INFO:__main__:Battery connected to dbus from /dev/ttyUSB1
@40000000611ea5d014d71734 ERROR:utils:>>> ERROR: No reply - returning
@40000000611ea5d6185c9474 ERROR:utils:>>> ERROR: No reply - returning
@40000000611ea61219cdbc5c ERROR:utils:>>> ERROR: No reply - returning
@40000000611ea62818ad583c ERROR:utils:>>> ERROR: No reply - returning
@40000000611ea64c23e6161c ERROR:utils:>>> ERROR: No reply - returning
@40000000611ea67a24c2e18c ERROR:utils:>>> ERROR: No reply - returning
...
Then when discharging the battery (by wiring it on to a step up converter to charge another battery), I saw this on the VRM website:

Which shows charging state.
Also from the control UI seeing the amp and power is not negative perhaps that means charging as well?

One more thing I should mention is perhaps the Amp reading, which in this 2.4 to 2.6A, but with my other physical meters it reads around 2.1A. Not sure why there is some difference and what could be causing it.
Another thing is what I am not sure about those ERROR:utils:>>> ERROR: No reply - returning output means. Perhaps that means something is not working correctly?
Expected behavior
It should show power usage stage as discharge when the current is going out?
VenusOS (please complete the following information):
- Device type: Raspberry Pi
- Firmware Version v2.72
Battery/BMS (please complete the following information):
- BMS/Battery type: [Daly branded with MGod, LTO version]
- Cells: [10]
- Interface: [USB-RS485]
Additional context I have asked the seller why MGod BMS looks very similar with Daly BMS, he told me they are corporative companies. I suppose the Daly driver can work out of the box but perhaps there is a few things I need to tweak for the MGod BMS to work?
As I can see the driver is already output some of the key values such as voltage and max,min cells, SOC, so I guess now it should be simple to fix it?
Thank you very much
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)

Top Related StackOverflow Question
Most BMS are not good at reading small currents accurately (<1A normally is an issue)
The Daly works with a constant and when the current is more or less than that it will show a charge or discharge.
If you can charge it with more power it would show the charge/discharge better. It could be that the BMS brand you have is using another constant, but I would not expect that. They normally only put another sticher on the same hardware.
In the next release you can change the utils.py to invert the current measurement
INVERT_CURRENT_MEASUREMENT = -1