question

xychiux avatar image
xychiux asked

multiplus disconnects from VenusOS

All was running fine, the setup is: VenusOS (large) on pi3b - usb serial connection to JDB bms - 2x usb to MPPT chargers - 1x usb setup to Multiplus 12/1600/40 Setup is in ESS mode, ran perfectly fine for almost a year in this specific setup. Now all of the sudden the Multi appears as 'off' on in VRM, and state 'unknown' in remote console. When I ssh into the RPi and type `dmesg` i see the following errors:

[18778.189640] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[18778.197763] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[18779.181226] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18780.182971] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18781.183976] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18782.186723] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18784.886473] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18785.884238] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18786.886221] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18787.881970] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18788.880856] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18789.883878] ftdi_sio ttyUSB0: failed to set flow control: -32
[18792.635854] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18793.631222] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
[18794.634098] ftdi_sio ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32

Anyone any idea what I might be facing? rebooting the RPi will result in finding the multi again, and within a few hours the same issue occurs. I get the feeling the Multi is fine, it's either the VenusOS or the Original Victron cable that connects the Multi and the RPi. Any hints / help in debugging this is welcome!

Venus OSmultiplus ve.bus
2 |3000

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

4 Answers
gerard-van-seventer avatar image
gerard-van-seventer answered ·

Most likely the power supply of the Pi is the problem. Must be a little over 5v and enough amps. Most non original psu's have a too low voltage.

2 |3000

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

xychiux avatar image
xychiux answered ·

Hi Gerard, I doubt this as it it an original PSU and worked fine for years, and almost a year in latest setup. I could attempt a powered USB hub to take the load of the original PSU.

Nevertheless, good hint as weak PSU's are common mistake in RPi applications.

2 |3000

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

gerard-van-seventer avatar image
gerard-van-seventer answered ·

ok, should be fine then. On the other hand I had several psu's that after some years gave less power because of aging capacitors. On the pi it is usually easy to see as the red led isn't always steady on. When it blinks so now and then there is definitely a psu problem. Might not be your case but could help someone else :-)


2 |3000

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

xychiux avatar image
xychiux answered ·

Did replace the PSU to be sure, still the same problem. I figured out that a nodered flow doing an HTTP call that would endup in a timeout triggered the issue straight away. I'm now running without the large feature on. See if that helps.Potentially will move the nodered logic to a seperate machine.

Will have to read up to see if I can tell the VenusOS to subscribe and write to an external MQTT server.

2 |3000

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

Related Resources

Additional resources still need to be added for this topic

Victron Venus OS Open Source intro page

Venus OS GitHub (please do not post to this)