Victron VenusOS driver for serial connected BMS - LLT/JBD / Daly Smart / ANT / JKBMS / Heltec / Renogy

Louisvdw

Solar Enthusiast
Joined
Dec 18, 2020
Messages
93
I have created a VenusOS driver that can talk to BMS/Batteries that has serial communications (instead of the normal CANbus). RS485 & RS232 and Venus 2.60+ (including v2.80) have been tested.

Currently it works with

  • LLT Power / JBD Battery / Overkill Solar BMS
  • Daly Smart BMS / Daly Sinowealth based BMS
  • ANT BMS
  • MNB spi BMS - disabled by default as it requires extra libraries installed to work. Contact @Mike Dorsett for information
  • JKBMS / Heltec
  • Renogy

The driver will act as Battery Monitor inside VenusOS which will also publish the battery to your VRM.
The following values are included:
  • State Of Charge
  • Voltage
  • Current
  • Power
  • Can handle batteries with from 3 - 32 cells
  • battery temperature
  • min/max cell voltages
  • raise alarms from the BMS
  • available capacity
  • history of charge cycles
There is also an auto installer using a USB Flash drive or SD card, so no root access is required and the driver can handle VenusOS updates (no need to reinstall after your update)

The current release is on GitHub if you want to check it out.
 
Last edited:

Louisvdw

Solar Enthusiast
Joined
Dec 18, 2020
Messages
93
Does this have to be reinstalled after every venus firmware update?
No need to reinstall the driver. It handles VenusOS firmware upgrades gracefully.
It also has an easy installer. You don't need root access. Just download the driver to a USB flash drive (or SD card), plug it in and reboot.

The driver will act as Battery Monitor inside VenusOS and update the following values:

  • State Of Charge
  • Voltage
  • Current
  • Power
  • Can handle batteries with from 3 - 32 cells
  • battery temperature
  • min/max cell voltages
  • raise alarms from the BMS
  • available capacity
  • history of charge cycles
The only thing it does not do well yet is that the charge/discharge current limits are hard coded and it only handles 1 battery bank. This will be fixed in future builds.
 

Evado

New Member
Joined
Jun 29, 2020
Messages
10
That's great news. I can't wait for the version for Daly BMS to be released as well. I volunteer for testing!
I have a Raspberry Pi 4b loaded with VenusOS.
For that connection, we will use standard Ve.Direct USB cable to UART connector on Daly?
 

Gockleyd

New Member
Joined
Jan 13, 2021
Messages
21
This is exciting, I am planning to load VenusOS on a pi4 once I get my system up and running. With a Daly smart with uart
 

Louisvdw

Solar Enthusiast
Joined
Dec 18, 2020
Messages
93
standard Ve.Direct USB cable to UART connector on Daly
Die Daly smart BMS has a RS485 (Ve.Direct is based on RS232), so you can use Victron's RS485 cable or look at another USB-RS485 cable. Some after market cables can give issues while others do work fine. Best would be Victron's cable or a FTDI based cable
 

Louisvdw

Solar Enthusiast
Joined
Dec 18, 2020
Messages
93
Will this work with the Victron Cerbo?
Yes, it should work on any GX device. From the CCGX, the VenusGX to the latest Cerbo and the built-in Multiplus GX versions as well as the Rasberry Pi. They all run on the same VenusOS.
 

Louisvdw

Solar Enthusiast
Joined
Dec 18, 2020
Messages
93
Would be nice if someone have this for the chargery bms too
There is a Chargery driver already, but it should be easy enough to add support for that BMS this this driver.
or https://github.com/magpern/venus-chargerybms
 

vk2emp

Solar Enthusiast
Joined
Mar 2, 2020
Messages
87
Looking forward to the Daly driver code being added. Can save a fortune on a Batrium or similar BMS that speaks "Victron". Have a Pi 3B here loaded up with a touch screen. Getting the MPPT to reduce current while the BMS balances cells would be nice, and seeing all the detail on the batteries screen itself without having to pull out a phone or tablet would also be great!
 

Louisvdw

Solar Enthusiast
Joined
Dec 18, 2020
Messages
93
Do you have a driver for SBMS0?
The SBMS0 does not use a MODBUS RTU based communication protocol. Instead it has it's own custom base 91encoding data dump.

So it is not a natural fit to how the driver works and I don't currently have plans to include it. But with enough people interested things can always change. Also it does seem that you will loose the wifi connection when you want to use the UART for a data connection
 

legacyturbo

Solar Enthusiast
Joined
Jan 5, 2020
Messages
39
There is a Chargery driver already, but it should be easy enough to add support for that BMS this this driver.
or https://github.com/magpern/venus-chargerybms
Thank you very much, i will try this.
Little bit offtopic: Do you think its possible to get other devices with serial port like an Grid tie Inverter integrated in the Victron Ess?
 

Louisvdw

Solar Enthusiast
Joined
Dec 18, 2020
Messages
93
other devices with serial port like an Grid tie Inverter integrated in the Victron Ess
Possibly, but I have not looked at this so this would just be speculation. It would depend on what data you want to share and what is used and required.
 

carbon60

Solar Enthusiast
Joined
Jan 8, 2021
Messages
166
Location
Ottawa
I see that the Renogy batteries have an RS485 port, has anyone looked at the protocol?
 
Top