ConBee /// - installation
2025-07-18 / 2025-07-23 | ||
Installation des ConBee ///. [Kopie der ConBee⌶⌶ Anleitung und muss noch ausgearbeitet werden!]
Documentation
Installation
sudo gpasswd -a $USER dialout
sudo reboot
wget -qO- https://phoscon.de/apt/deconz.pub.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/deconz-keyring.gpg >/dev/null
sudo sh -c "echo 'deb http://phoscon.de/apt/deconz generic main' > /etc/apt/sources.list.d/deconz.list"
update
install deconz
echo ACTION=='"add"', SUBSYSTEMS=='"usb"', \
ATTRS{product}=='"ConBee III"', \
RUN+='"/bin/stty -F /dev/%k 115200"' | \
sudo tee /etc/udev/rules.d/99-conbee3.rules
sudo systemctl enable deconz
sudo nano /etc/systemd/system/multi-user.target.wants/deconz.service
--http-port= auf Port 8008
sudo systemctl daemon-reload
sudo systemctl restart deconz
ufw
Falls von anderem Host erreichbar sein soll, sonst über reverse proxy.
sudo ufw allow from 192.168.5.45 to any port 8008 #conbee3 http
sudo ufw allow from 192.168.5.45 to any port 8088 #conbee3 websocket (?)
apache reverse proxy
Klappert irgendwie noch nicht...
Wichtig scheint aber zu sein nicht auf 127.0.0.1 umzuleiten, sondern die externe IP-Adresse unter der auch der Server so zu erreichen wäre.
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName conbee.l337.l11
SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyPass / http://192.168.1.37:8008/
ProxyPassReverse / http://192.168.1.37:8008/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/certs/apache.crt
SSLCertificateKeyFile /etc/ssl/private/apache.key
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
</VirtualHost>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName www.l337.l11
ServerAlias l337.l11 *.l337.l11
. . .
Firmware Update
https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Update-deCONZ-manually
sudo systemctl stop deconz
#letzte Firmware suchen: https://deconz.dresden-elektronik.de/deconz-firmware/?C=M;O=D
wget https://deconz.dresden-elektronik.de/deconz-firmware/deCONZ_ConBeeIII_0x26550900.bin.GCF
sudo GCFFlasher_internal -t 60 -d /dev/ttyUSB0 -f deCONZ_ConBeeIII_0x26550900.bin.GCF
sudo systemctl start deconz