Mixed characters in output of USB serial device

The issue might be a more generic Linux one, but as it is key for my Home-assistant setup I will post it here.

I have a Currentcost Envi running with several IAM’s that I read through a raspberry PI and feed into homeassistant through a script. Since a few days I cannot get any data. After checking (cat /dev/ttyUSB2) I see that some of the characters in the output are mixed. I verified the right baudrate and parity, but the problem still exists. I also tried fully resetting the Envi, but same problem arises.

Anyone knows what is wrong here?

See the sample output below:

<srcC28-v18</src>sb>061</ds<time>233:31<tme>tmp>0.0</tp><seno>0</ses>d>009</id> <msg>8-v1.4<src>dsb>026</dsb>time>1:33:37<tme>tmp <s><src>sb>021</dsb>ime>1>20.0<tpr><sesor>0</esor>d0959</i<type>1<wt01952/atts><c1>$msg><c>CC1281.48</s>sb21</ds<me>12:302</tim<tmpr>19tmpr>ensor<sensorid>009</id>

EDIT: I tried hooking up the Envi to a Windows PC and in there I get valid output (see below)

<msg><src>CC128-v1.48</src><dsb>02061</dsb><time>16:27:09</time><tmpr>19.6</tmpr><sensor>0</sensor><id>00959</id><type>1</type><ch1><watts>00271</watts></ch1></msg>
<msg><src>CC128-v1.48</src><dsb>02061</dsb><time>16:27:15</time><tmpr>19.7</tmpr><sensor>0</sensor><id>00959</id><type>1</type><ch1><watts>00274</watts></ch1></msg>
<msg><src>CC128-v1.48</src><dsb>02061</dsb><time>16:27:21</time><tmpr>19.6</tmpr><sensor>0</sensor><id>00959</id><type>1</type><ch1><watts>00274</watts></ch1></msg>
<msg><src>CC128-v1.48</src><dsb>02061</dsb><time>16:27:27</time><tmpr>19.6</tmpr><sensor>0</sensor><id>00959</id><type>1</type><ch1><watts>00271</watts></ch1></msg>```

EDIT2: I found the culprit; there was another script running. After killing that script the output is fine again!