USB serial device returns incorrect readings

I have an serial USB device (mbus, but that’s not important) plugged into one of the USB ports on my raspberry pi 3+ running Hassio. I call this serial device in node-red to read out the bytes. The messages i get out of it are very inconsistent in length, and reading the data it is not correct. It is also missing the start and stop bits these messages should have.

While the exact same pi with the exact same serial device was running raspbian, i got sensible messages output, with about 115 bytes per message, with the correct start- and stop-bits.

This device is /dev/ttyUSB0 in both instances.

On Hassio I have edited /config/configuration.yaml to make the USB device useable in hassio (The AMS Mbus USB device, the “yr” one is a weather thing, unrelated and was pre-installed):
image

After this the device became visible in the /dev/ directory.

Now I loaded the same node-red code i used on the raspbian instance:
(Image limitation, see image in comment)
These settings are the correct ones for this USB device, at least on raspbian.
As I said here on hassio the serial node in node-red only returns jibberish, even though the settings are the same as they were when the pi was running raspbian.

I have a suspicion the baudrate is incorrect, in spite of me setting it to 2400 in the configuration.yaml file, i suspect hassio is reading it with the wrong baudrate. I tried with the default 9600 too with no noticeable change.
Can anyone tell me is the configuration i added to configuration.yaml is correct?

Is there any other way i can see the raw data in ssh from the /dev/ttyUSB0 ?
Is there anything else I can try?

As stated in the post, here’s the settings in node-red which i couldn’t upload in the post due to an image limitation:
image

I assume you are using the Hassio HassOS image on your Pi. It is possible to install Hassio on Raspbian.
I run Hassio on Raspbian Lite. It could be a driver issue with the limited HassOs operating system.

Since the device worked with Raspbian, moving back to that S may be a good option.

I meant HassOS anywhere i wrote Hassio, yes.

I didn’t know hassio could run on raspbian. If nobody else has any ideas for what the issue on hassos might be, then that’s probably what i will do.

Instructions are a little tricky but I have it running