Rflink and hassio

Trying to get rflink to work, but I can’t get serial ports baud rate to stay in correct value. rflink send data with baud rate of 57600. For some reason usb serial port is configured 115200. I tried to change it with stty, but setting worked only few seconds (I saw correct data) and then it automatically returned to 115200. How can I get it to saty in 57600?

I never had to specify the baud rate.

This is what I have in configuration.yaml :

rflink:
  port: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
  wait_for_ack: false
  ignore_devices:
    - aster_0ffc_01 
    - aster_0ffc_02
    - aster_00b8_02 
    - aster_05e8*
    - aster_0bd4*
    - ev1527_012af3_02 
    - ev1527_01285a_02
    - blyss_th_*
    - doorbell_fe2a_1
    - legrandcad*
    - renkforcee*
    - fineoffset*
    - chuango_de8380_02
    - selectplus_07ffff_02
    - selectplus_00c677_02
    - ev1527_022f69*
    - eurodomest_2dd096*
    - eurodomest_0dd096*
    - eurodomest_2ed50c*

(The ignored devices are (I suspect) from my neighbors)

I didn’t have that wait for line, but it did not change anything. Still forces speed to 115200

my config:

rflink:
  port: '/dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_557363232393511191C1-if00'
  wait_for_ack: false

rflink is the one from nodo-shop.nl, with arduino mega 2560 and 433 transceiver. It works fine when attached to computer. In raspberry, baud is wrong.

My Mega is connected via USB and anything works just fine:

port: /dev/ttyUSB0
wait_for_ack: false
ignore_devices:

What OS are you using ?

hassio image on raspberry pi 3

OK, then it is not modem manager that is interfering. I don’t know what to next.

It was zigbee2mqtt configured to use wrong port…Fixed the port and both began to slightly better.

I’m having problems. I’m not sure if it was HA being upgraded, but I now get garbage on the /dev/ttyUSB0. I’ve checked the RFLink arduino mega on another PC with the baud of 57600 via serial on PUTTY and it works fine.

The garbage looks like typical incorrect baud settings. See log below:

2020-04-02 15:05:00 INFO (MainThread) [homeassistant.components.rflink] Initiating Rflink connection
2020-04-02 15:05:00 INFO (MainThread) [homeassistant.components.rflink] Connected to Rflink
2020-04-02 15:05:00 DEBUG (MainThread) [rflink.protocol] connected
2020-04-02 15:05:01 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���1�
2020-04-02 15:05:02 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N� �1�
2020-04-02 15:05:02 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���1�
2020-04-02 15:05:02 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���1�
2020-04-02 15:05:03 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���1�
2020-04-02 15:05:03 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���1�
2020-04-02 15:05:03 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���1�
2020-04-02 15:05:04 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���1�
2020-04-02 15:05:04 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: g����;��
2020-04-02 15:05:04 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���1�
2020-04-02 15:05:04 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: g����;��
2020-04-02 15:05:05 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���1�
2020-04-02 15:05:05 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: g����;��
2020-04-02 15:05:06 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: ;N���9�!�L�H�k8��)!�HYz�9��HL
2020-04-02 15:05:06 WARNING (MainThread) [rflink.protocol] Error during decode of data, invalid data: H�gk

type or paste code here