Home-Assistant with ConBee II

Hey there,

I’m using the linuxserver/homeassistant Docker-Image (in Version 2024.02.1), but if I want to access the connected ConBee II stick (for Zigbee Home Automation integration) I have to start the container with privileged: true.

Is there any sys capability I can set to avoid that? Here is also my compose file:

---
version: "3.8"

services:
  home-assistant:
    image: linuxserver/homeassistant:2024.2.1
    pull_policy: if_not_present
    restart: on-failure:5
    container_name: home-assistant
    networks:
      - web
      - nginx-proxy-manager_reverse-proxy
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - /run/dbus:/run/dbus:ro
      - config:/config
    devices:
      - /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_XXXXX
    cap_add:
      - NET_ADMIN
      - NET_RAW
    privileged: true
    environment:
      TZ: "Europe/Berlin"
      PUID: 30001
      PGDI: 30001
    configs:
      - source: configuration
        target: /config/configuration.yaml

volumes:
    config:

networks:
  web:
    driver: bridge
    ipam:
      config:
        - subnet: 172.28.6.0/24
  nginx-proxy-manager_reverse-proxy:
    external: true

Thanks for your help!

- Styless

Instead of by-id, try mapping the device /dev/ttyUSB0 or the like. I believe the by-id one is a symlink to the actual device

You are right, that worked for me - Thanks!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.