You can enable the debug logs and check for rflink logs during the HA startup.
Once it is working, every time you unplug and plug it again new logs are generated.
i don#t know how… i only find instructions for enable debugging in the detail page from the integrations. But i had no detaill page or anything in the gui from rflink.
i got this this 3 Errors/Warnings if i reconnet it.
Logger: homeassistant.components.rflink
Source: components/rflink/__init__.py:283
Integration: RFLink (documentation, issues)
First occurred: 21:02:30 (1 occurrences)
Last logged: 21:02:30
Error connecting to Rflink, reconnecting in 10
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyACM0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/rflink/__init__.py", line 283, in connect
transport, protocol = await connection
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/serial_asyncio/__init__.py", line 448, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.11/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
Logger: rflink.protocol
Source: /usr/local/lib/python3.11/site-packages/rflink/protocol.py:149
First occurred: 21:02:30 (1 occurrences)
Last logged: 21:02:30
disconnected due to exception
NoneType: None
Logger: homeassistant.components.rflink
Source: components/rflink/__init__.py:258
Integration: RFLink (documentation, issues)
First occurred: 21:02:30 (2 occurrences)
Last logged: 21:02:40
Disconnected from Rflink, reconnecting