-
dbus-serialbattery 0.14.3 is installed on a Cerbo GX v2.93. My battery is connected from a JK BMS to the Cerbo via an isolated USB to RS485 Converter with a CH340E Chip. Every time I reboot the Cerbo the SerialBattery VRM Instance toggles between 1 and 2. Has anyone ever observed the behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 24 replies
-
Hi, I see the same behaviour and I think this issue (#456) is caused by that fact. |
Beta Was this translation helpful? Give feedback.
-
Just as additional information: I just had the problem, I had to restart my VenusOS
Tried another reboot and I got the original VRM instances assigned. I think this is by chance... |
Beta Was this translation helpful? Give feedback.
-
On my Installation it´s changing always between the VRM instance 1-3 after reboot. It‘s even more worth because if connected with Cerbogx and BMS you need to choose ohne BMS as reference. If the instance is changing after reboot - the MPPT will fail with Code67 which results in no charge of the MPPTs. Therefore ím using the Smart Shunt as reference. Maybe Louis can investigate? |
Beta Was this translation helpful? Give feedback.
-
Have you all only one BMS or multiple BMS?
This should be the relevant lines to this: dbus-serialbattery/etc/dbus-serialbattery/dbushelper.py Lines 42 to 84 in 6471152 A possible solution would be to bind the |
Beta Was this translation helpful? Give feedback.
-
Hi all, |
Beta Was this translation helpful? Give feedback.
-
Hello, how it works with VenusOS 3.x / RPI2 ..I tryed to make some udev-rules for creating new symlinks but "serial battery" further use /dev/ttyUSBX (created by serial starter udev rule?) which are using for setting the VRM Instance ID.. If I set the symlink directly to /dev/ttyUSB0, it will be ignored or overwritten (by serial starter udev rule?) |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tutorial but when I run dbus-spy the devices are still connected via ttyUSB* don't you have to adjust something on venus here? example on dbus-spy com.victronenergy.battery.DALY-BMS so we would have a really fixed assignment |
Beta Was this translation helpful? Give feedback.
Have you all only one BMS or multiple BMS?
ttyUSB0
tottyUSB1
?dbus-spy
the value undercom.victronenergy.settings -> Settings/Devices/serialbattery_zero/ClassAndVrmInstance
This should be the relevant lines to this:
dbus-serialbattery/etc/dbus-serialbattery/dbushelper.py
Lines 42 to 84 in 6471152