Following Franky’s deCONZ nginx Reverse Proxy Guide - Adjustments & Solutions
The post of Franky was spot-on. Solved the slow Alexa responds. I followed the guide, but had to do minor adjustments, hope it helps others, my setup was a little bit outdated ![]()
My Setup
- Hardware: Raspberry Pi 4 Model B
- OS: Raspbian Buster (Debian 10) - 32-bit armv7l
- OpenSSL: 1.1.0i (had to update to 1.1.1n, to newer version to be able to generate the certificate)
Issues Encountered & Solutions
1. OpenSSL Version and -addext Flag
Problem: The certificate generation command failed with:
req: Unknown digest addext
Cause: Older OpenSSL version on Buster doesn’t support -addext flag
Solution: Updated OpenSSL (sudo apt install --only-upgrade openssl)
2. Multiple deCONZ Services Running
This was the main issue! The guide only mentions deconz.service, but three services were installed:
deconz.service(REST API)
deconz-gui.service(GUI version)
deconz-wifi.service(WiFi service)
Problem: After configuring deconz.service correctly, deconz-gui.service was still running and holding port 443, preventing nginx from starting with:
nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
Discovery:
sudo netstat -tulpn | grep deCONZ
# Showed TWO deCONZ processes on different ports!
systemctl list-units | grep deconz
# Revealed the multiple services
Solution:
# The GUI service won't stop gracefully (freezes), kill it directly
sudo pkill -9 -f "deCONZ.*gui"
# Disable it permanently
sudo systemctl disable deconz-gui
# Now nginx can start
sudo systemctl start nginx
sudo systemctl enable nginx
Note: You only need deconz.service running - it provides the same Phoscon web interface.
3. deCONZ Not Auto-Starting After Reboot
Problem: After reboot, only nginx started. deCONZ wasn’t enabled for auto-start.
Solution:
sudo systemctl enable deconz
sudo systemctl start deconz
4. Home Assistant Not Finding Zigbee Devices
Problem: After the setup, Home Assistant couldn’t find Zigbee devices.
Solution: Just restart Home Assistant. That’s it! No reconfiguration needed. Home Assistant automatically discovered the new WebSocket port after restart.
Final Configuration
Working setup:
- deCONZ HTTP: Port 80 (internal)
- deCONZ WebSocket: Port 8443
- nginx HTTPS: Port 443 (external access via
https://192.168.1.100orhttp://192.168.1.100)
Verify everything:
sudo netstat -tulpn | grep LISTEN | grep -E ":(80|443|8443)"
Should show:
- nginx on 443
- deCONZ on 80 and 8443
Results
Access deCONZ via HTTPS or HTTP: https://192.168.1.100/pwa/index.html 192.168.1.100/pwa/index.html
Home Assistant: All Zigbee devices working (just needed restart)
Alexa: Working perfectly - no reconfiguration needed!
Self-signed certificate warning is expected (click “Advanced” → “Proceed”)
Key Takeaways
- Check for multiple deCONZ services - you likely only need
deconz.service - Don’t forget to enable services for auto-start
- Just restart Home Assistant - no integration reconfiguration needed
- Total setup time: ~30 minutes including troubleshooting
Thanks to Franky for the excellent guide! The slow Alexa response issue is completely solved.

