I’ve had to reinstall from scratch following an SSD failure.
Of course I did not backup the data folder
Now I’m trying to start again with the zigbee2mqtt container, but it fails to connect to my CC2531:
Zigbee2MQTT:error 2020-12-02 14:23:30: Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/CC2531'
my CC2531 shows a green light when I plug it in, but after starting the container it eventually turns off.
I’ve tried various connection settings (/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E1B0D2-if00
, /dev/ttyACM1
) to no avail
I’ve also checked that my user is allowed to write to the port (test -w /dev/ttyACM1 && echo success || echo failure
)
and I’ve uninstalled modemmanager
It looks as though the devices
command is ignored from my docker-compose file as I can’t see the device when logging into the container:
version: '3'
services:
z2m:
container_name: z2m
image: koenkk/zigbee2mqtt:latest
volumes:
- /home/cctv/zigbee2mqtt/data:/app/data
- /run/udev:/run/udev:ro
devices:
- /dev/CC2531:/dev/CC2531
restart: always
network_mode: host
privileged: true
environment:
- TZ=Europe/London
Do I need to perform some sort of reset so ZB2MQTT talks to it again?