There's already an excellent BMS reader - dbus-serialbattery.
But it is for Venus OS only.
I'd like to do the same on any platform - PCs, microcontrollers, and SBCs.
- a reusable Python library, so that it can be run on Raspberry Pi and any SBCs/PCs.
- inherit the
Batteryabstract class ofdbus-serialbattery, so that it'll support as many BMS asdbus-serialbatterydoes.
- support MicroPython compatible for running on microcontrollers
- support more BMS protocols that
dbus-serialbatterydoesn't yet - support more interfaces, e.g. CAN, SMbus, Bluetooth(LE)
| Battery | Vendor | Protocol |
|---|---|---|
| 48NPFC50 | MPINarada | Shinwa BMS Protocol |
| ZTT48100 | Zhongtian | Zhongtian BMS Protocol |
(I hope more batteries are added in this list. But these two are only batteries that I have at the moment of writing.)



