My goal is to migrate all bulbs and stuff currently connected to native HUE bridge to Deconz, but yet I’m unsure how those integrations/addons have to be connected to each other.
I still want to use Hue or Hue Essential App, but also Alexa integration, so I think, that I would be fine with diyhue.
My setup:
- hassio supervised: supervisor-2021.03.9
- marthoc/deconz: latest image with WEB_PORT 8081 and WS_PORT 8443
My guess is, that diyhue needs to conmmunicate with deconz API to fetch registered devices from there. Hue* Apps are communicating with diyhue and accessing those devices.
Based on that assumption, diyhue addon is only used to integrate the configuration and docker container management into home assistant. And finally deconz is presenting devices to home assistant and diyhue?
The default config.json uses port 8080 for communicating with deconz. Is it communication on web or ws port?
I also noticed following error message:
-----------------------------------------------------------
Add-on: diyHue
Philips Hue Bridge Emulator
-----------------------------------------------------------
Add-on version: 1.4.1
You are running the latest version of this add-on.
System: Debian GNU/Linux 10 (buster) (amd64 / qemux86-64)
Home Assistant Core: 2021.3.4
Home Assistant Supervisor: 2021.03.9
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
/config/diyhue exists.
Your Architecture is = amd64
Serve HTTPS
Host MAC given as 00012e4da112
Docker Setup Initiated
SSL certificate found
Config file found
Docker Setup Complete
Deconz IP given as 192.168.1.21
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/opt/hue-emulator/HueEmulator3.py", line 1976, in run
ctx.load_cert_chain(certfile=_certfile)
ssl.SSLError: [SSL] PEM lib (_ssl.c:4023)
{"ok"}
:Edit I was able to fix the above issue by entering docker container (docker exec -it bash) and execute genCert.sh with the configured mac address.
Still my Osram Smart Plug doesn’t show up in diyhue, but in hassio. Actually, I have no idea how to verify, if the diyhue <-> deconz connection is fine or not.
Regards
Oliver