I read the above, and was a little worried, it all seemed complicated.
However, following the instructions was simple,and it worked first time.
Here’s is a account of what I did, so it may make it seem a little simpler for others.
I have a Rasberry Pi 4.
I use HA Core (2012.12.3), running in a Python Virtual Environment
I have ConBee II - Do not plug into USB untill instructed below.
Installed Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker pi
Installed the DeConz Container…
docker pull deconzcommunity/deconz:latest
sudo usermod -a -G dialout pi
sudo apt install wiringpi
Configured the serial ports
List your devices…
ls /dev > ~/devices.txt
From https://github.com/deconz-community/deconz-docker
To disable the login shell over serial and enable the serial port hardware:
1. sudo raspi-config
2. Select Interfacing Options
3. Select Serial
4. “Would you like a login shell to be accessible over serial?” Select No
5. “Would you like the serial port hardware to be enabled?” Select Yes
6. Exit raspi-config and reboot
and (not sure this was actually needed or did anything useful, but did it anyway…)
echo 'dtoverlay=pi3-miniuart-bt'|sudo tee -a /boot/config.txt
- NOW plug in ConBee II to USB Port (via USB extension cable)
- Reboot.
Find the ConBee II device
ls /dev > ~/devices2.txt
diff ~/devices.txt ~/devices2.txt
This will show the new device.
In my case it was /dev/ttyACM0
Run the container…
NOTE the line --device=/dev/ttyACM0
below - use the new device name from above.
docker run -d \
--name=deconz \
--restart=always \
-p 80:80 \
-p 443:443 \
-v /etc/localtime:/etc/localtime:ro \
-v /opt/deconz:/opt/deCONZ \
--device=/dev/ttyACM0\
deconzcommunity/deconz
Connect to Phoscon
Point a web browser at Phoscon
Change 192.168.1.10
to the IP address of your PI.
- Pair your zigbee devices vi the Phoscon app.
(I didn’t bother adding groups etc in Phoscon - I did this HA later).
Connect to HA
- Connect to Home Assistant
It reported a newly discovered integration.
Press setup
, and follow the instrution to authenticate the app.
- My Zigbee deivces appeared in HA.
ConBee II Firmware update
Having got it all running, I thought I should check the firmware.
It runs out mine was already up to date.
I discovered this by using the Windows version of Phoscon, and following these instructions.
Summary
It took me about 2 hours, from the start…
Hope this helps others, like me initially worried the comments above make is seem complex.