ConBee 2 and openHAB 3 in Docker on RP4 keeps Initializing

Okay, it was a hell of a ride, but now it’s working :muscle:t2: I had to do the following:

  1. Run the following docker-compose.yaml via docker compose up -d on the Raspi:
version: "3"
services:
  deconz:
    image: deconzcommunity/deconz:latest
    container_name: deconz
    restart: always
    ports: 
      - 9080:9080
      - 9443:9443
    volumes:
      - /opt/deCONZ:/opt/deCONZ
      - /etc/localtime:/etc/localtime:ro
    devices:
      - /dev/ttyACM0
    environment:
      - DECONZ_WEB_PORT=9080
      - DECONZ_WS_PORT=9443
      - DECONZ_DEVICE=/dev/ttyACM0
  openHAB:
    image: openhab/openhab:latest
    container_name: openhab
    restart: always
    network_mode: host
    depends_on:
      - deconz
    volumes:
      - /opt/deconz:/opt/deCONZ
      - /opt/openhab/addons:/openhab/addons
      - /opt/openhab/userdata:/openhab/userdata
      - /opt/openhab/conf:/openhab/conf
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    devices:
      - /dev/ttyACM0
    environment:
      - CRYPTO_POLICY=unlimited
      - GROUP_ID=<<group ID of the openHAB user>>
      - USER_ID=<<user ID of the openHAB user>>
  1. Navigate to http://myRaspi:9080 and create a new Phoscon gateway with a password.
  2. Still on http://myRaspi:9080, navigate to Einstellungen → Gateway → Erweitert.
  3. Open a new tab for http://myRaspi:8080 (openHAB) and navigate to Settings → Things.
  4. If not already done, install the deCONZ binding and create a new thing of type deCONZ Gateway with the following parameters, BUT DO NOT YET SAVE:
    • IP address: <<IP address of your Raspi>>
    • HTTP port: 9080
    • Websocket port: 9443
  5. Switch to the Phoscon tab (http://myRaspi:9080), click App verbinden (a timer of 60 seconds should start), switch back to the openHAB tab and now click save.

After a couple of seconds, the configuration could be finished and the gateway came online :muscle:t2: when adding new deCONZ things (e. g. a light sensor) with the newly created bridge/gateway within openHAB, they do also appear on http://myRaspi:9080.