ct-Smart-Home
ct-Smart-Home copied to clipboard
Adding ttyUSB* as serial port
I have exchanged my CC2531 stick with a Slaesh's CC2652RB stick (one of the two recommended adapter at zigbee2mqtt.io).
Unfortunately the serial port with this devices is on my RasPi /dev/ttyUSB0.
Meanwhile I found the correct mapping within docker-compose.yml: Added
- "/dev/ttyUSB0:/dev/ttyUSB0"
at zigbee -> devices and changed port in configuraton.yaml for zigbee to /dev/ttyUSB0 too.
BUT start.sh is not working as there ttyACM* is given at several places. As I am a noob in programming I am not sure how to overcome this.
I started the docker container manually:
docker-compose up -d nodered mqtt zigbee
But now I am not sure what will happen in case I upgrade in the future.
Thanks to @crietzschel for adding correction to support also CC2652RB stick. See Support for slaesh’s CC2652RB stick, zigbee2mqtt usb detection update, .env for compose
Hoping it works for you too. :-)