question

rahra avatar image
rahra asked

VictronConnect interferes with USB-attached N2K-bridge

This is more a bug report than a question...

I run a SignalK server on Ubuntu Linux, attached through an Actisense NGT-1 to the N2K bus of the boat which is on /dev/ttyUSB0. I further use VictronConnect to connect to my two Victron devices (a battery charger and a battery monitor) via Bluetooth. I recently discovered that as soon as I start VictronConnect I got some error messages in the syslog and there are no more inserts into the InfluxDB from SignalK (which is visible on the Grafana dashboard because no data is display in the graphs during that time):

Apr  9 18:43:41 mi5 systemd[1101]: Started VictronConnect.
Apr  9 18:43:44 mi5 signalk-server[758]: DLE followed by unexpected char , ignore message
Apr  9 18:43:54 mi5 signalk-server[758]: message repeated 332 times: [ DLE followed by unexpected char , ignore message]
Apr  9 18:43:54 mi5 signalk-server[758]: DLE followed by unexpected char , ignore message
Apr  9 18:43:57 mi5 signalk-server[758]: message repeated 84 times: [ DLE followed by unexpected char , ignore message]

I then looked a little bit more into detail and ran lsof. It shows that the VicronConnect app somehow accesses the USB device which seems to cause the problem:

VictronCo 36212 36250 QSGRender            mi5   18uW     REG               0,32       100         18 /run/lock/LCK..ttyUSB0
VictronCo 36212 36250 QSGRender            mi5   19u      CHR              188,0       0t0        539 /dev/ttyUSB0

As soon as I close the VictronConnect, everything continues to work as expected. So it looks like that the VictronConnect claims a USB device which it shouldn't.

VictronConnectlinux
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers

Related Resources

VictronConnect Manual

Download for iOS / Android / Mac / Windows

Additional resources still need to be added for this topic