Hello.
I am on Home Assistant 0.93.2 (Ubuntu 18.04.2 LTS x64 4.15.0-50-generic).
RFLink stopped working unexpectedly giving these errors in debug log:
2019-05-30 12:12:55 INFO (MainThread) [rflink.protocol] disconnected because of close/abort.
tail: /usr/share/hassio/homeassistant/home-assistant.log: file truncated
2019-05-30 12:13:06 INFO (MainThread) [homeassistant.components.rflink] Initiating Rflink connection
2019-05-30 12:13:06 INFO (MainThread) [homeassistant.components.rflink] Connected to Rflink
2019-05-30 12:13:06 DEBUG (MainThread) [rflink.protocol] connected2019-05-30 12:13:28 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <bound method SerialTransport._read_ready of SerialTransport(<uvloop.Loop running=True closed=False debug=False>, <rflink.protocol.RflinkProtocol object at 0x7feb3474cdd8>, Serial<id=0x7feb3474c438, open=True>(port=‘/dev/ttyACM0’, baudrate=57600, bytesize=8, parity=‘N’, stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False))>
Traceback (most recent call last):
File “uvloop/cbhandles.pyx”, line 66, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/serial_asyncio/ init .py”, line 106, in _read_ready
self._protocol.data_received(data)
File “/usr/local/lib/python3.7/site-packages/rflink/protocol.py”, line 46, in data_received
data = data.decode()
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x98 in position 2: invalid start byte2019-05-30 12:13:28 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <bound method SerialTransport._read_ready of SerialTransport(<uvloop.Loop running=True closed=False debug=False>, <rflink.protocol.RflinkProtocol object at 0x7feb3474cdd8>, Serial<id=0x7feb3474c438, open=True>(port=‘/dev/ttyACM0’, baudrate=57600, bytesize=8, parity=‘N’, stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False))>
Traceback (most recent call last):
File “uvloop/cbhandles.pyx”, line 66, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/serial_asyncio/ init .py”, line 106, in _read_ready
self._protocol.data_received(data)
File “/usr/local/lib/python3.7/site-packages/rflink/protocol.py”, line 46, in data_received
data = data.decode()
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x98 in position 1: invalid start byte2019-05-30 12:13:28 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <bound method SerialTransport._read_ready of SerialTransport(<uvloop.Loop running=True closed=False debug=False>, <rflink.protocol.RflinkProtocol object at 0x7feb3474cdd8>, Serial<id=0x7feb3474c438, open=True>(port=‘/dev/ttyACM0’, baudrate=57600, bytesize=8, parity=‘N’, stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False))>
Traceback (most recent call last):
File “uvloop/cbhandles.pyx”, line 66, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/serial_asyncio/ init .py”, line 106, in _read_ready
self._protocol.data_received(data)
File “/usr/local/lib/python3.7/site-packages/rflink/protocol.py”, line 46, in data_received
data = data.decode()
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x86 in position 0: invalid start byte2019-05-30 12:13:28 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <bound method SerialTransport._read_ready of SerialTransport(<uvloop.Loop running=True closed=False debug=False>, <rflink.protocol.RflinkProtocol object at 0x7feb3474cdd8>, Serial<id=0x7feb3474c438, open=True>(port=‘/dev/ttyACM0’, baudrate=57600, bytesize=8, parity=‘N’, stopbits=1, timeout=0, xonxoff=False, rtscts=False, dsrdtr=False))>
Traceback (most recent call last):
File “uvloop/cbhandles.pyx”, line 66, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.7/site-packages/serial_asyncio/ init .py”, line 106, in _read_ready
self._protocol.data_received(data)
File “/usr/local/lib/python3.7/site-packages/rflink/protocol.py”, line 46, in data_received
data = data.decode()
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x98 in position 0: invalid start byte