Java Runtime Environment: 11.0.15 (Temurin-11.0.15+10) (running in Docker)
openHAB version: 3.3.0 (running in Docker)
ConBee 2 USB stick
Dear community,
I’m completely new to the field of home automation and making my very first steps. My goal is to control some Philips Hue Smart Plugs via ZigBee.
As you can read in the platform information, I’m running openHAB 3 on my Raspberry Pi 4 via Docker. For this I’ve created a dedicated openHAB user called myopenhabuser on the host that is used for the Docker container.
I can successfully access openHAB’s UI via http://myRaspi:8080.
I’ve bought a ConBee 2 USB stick as ZigBee gateway. When plugging-in the stick, I can successfully see it as /dev/ttyACM0. Then I’ve executed sudo usermod -a -G dialout myopenhabuser and restarted the openHAB Docker container with the following command:
Is there any specific reason that you do not use openhabian as OS ?
openhabian supports setup for Conbee. So it would not be required to run it in docker environment.
'm hosting several other applications on my Raspi which are running in Docker as well. So the Raspi/Docker setting existed long before getting started with openHAB and a dedicated Raspi just for openHAB would just be a waste of resources in my case.
Navigate to http://myRaspi:9080 and create a new Phoscon gateway with a password.
Still on http://myRaspi:9080, navigate to Einstellungen → Gateway → Erweitert.
Open a new tab for http://myRaspi:8080 (openHAB) and navigate to Settings → Things.
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
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 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.