ct-Open-Source / ct-Smart-Home

A ready-to-use Node-RED setup for home automation
https://ct.de/smarthome
GNU General Public License v2.0
165 stars 40 forks source link

Adding ttyUSB* as serial port #47

Open miwe-video opened 3 years ago

miwe-video commented 3 years ago

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.

miwe-video commented 3 years ago

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

crietzschel commented 3 years ago

Hoping it works for you too. :-)