Hi
I’m trying to have a CC2531 (zigbee2mqtt) and RFLink USB key to work together.
My config for zigbee2mqtt is
{
"data_path": "/share/zigbee2mqtt",
"homeassistant": true,
"permit_join": false,
"mqtt_base_topic": "zigbee2mqtt",
"mqtt_server": "mqtt:/IP",
"serial_port": "/dev/ttyACM0",
"disable_led": true,
"mqtt_user": "user",
"mqtt_pass": "pass"
}
and this is the RFLink config
rflink:
port: /dev/ttyACM1
wait_for_ack: false
The RFLink does not work and this is the log
2019-01-21 19:21:17 INFO (MainThread) [homeassistant.components.rflink] Initiating Rflink connection
2019-01-21 19:21:17 ERROR (MainThread) [homeassistant.components.rflink] Error connecting to Rflink, reconnecting in 10
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/serial/serialposix.py", line 244, 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/ttyACM1'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/rflink.py", line 228, in connect
transport, protocol = await connection
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 212, in coro
res = func(*args, **kw)
File "/usr/local/lib/python3.6/site-packages/serial_asyncio/__init__.py", line 410, in create_serial_connection
ser = serial.serial_for_url(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/serial/__init__.py", line 88, in serial_for_url
instance.open()
File "/usr/local/lib/python3.6/site-packages/serial/serialposix.py", line 247, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyACM1: [Errno 2] No such file or directory: '/dev/ttyACM1'
2019-01-21 19:21:27 WARNING (MainThread) [homeassistant.components.rflink] disconnected from Rflink, reconnecting
2019-01-21 19:21:27 INFO (MainThread) [homeassistant.components.rflink] Initiating Rflink connection
2019-01-21 19:21:27 ERROR (MainThread) [homeassistant.components.rflink] Error connecting to Rflink, reconnecting in 10
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/serial/serialposix.py", line 244, 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/ttyACM1'
Is there a way to let them work together?
Thanks