ct-Smart-Home icon indicating copy to clipboard operation
ct-Smart-Home copied to clipboard

Support for slaesh’s CC2652RB stick, zigbee2mqtt usb detection update, .env for compose

Open crietzschel opened this issue 4 years ago • 0 comments

Changed a few things cause I'm using different hardware:

  • added support for slaesh’s CC2652RB stick
  • therefore I updated USB device detection for zigbee2mqtt
  • as CC2652RB is using ttyUSB instead of ttyACM I reworked config file creation and also compose-File to be more flexible (.env File ; could be used to map ports also, also pulling latest- without updating docker-compose.yml ; so update could work)
  • when plugging in a zigbee2mqtt compatible device after using ct-Smart-Home for a while, the config for zigbee2mqtt is created (if not created manually before)
  • so not checking directory data is existing anymore, bute checking for each config file
  • side effect: every "start" is setting permissions (if it's not intended we've to change it)

Notes: Adding more sticks should be easy. As I don't own any others only added CC2652RB. See egrep about line 15. Also you could add "vendor:product" instead of only using vendor.

Sorry for not requesting pulls for each small change. But only together it's working - at least on my stetup.

Thanks for your work!!

crietzschel avatar Feb 06 '21 20:02 crietzschel