diyHue Add-on

Hi there @MaxBec92,
yes for sure I will show you my config.
For the mac, I used the Host eth0 mac-address.
For the IP-Address i used already tried the Host IP-Address, 127.0.0.1 and the deconz docker adress.

config_path: /config/diyhue
mac: 'DC:A6:32:47:FF:87'
debug: true
deconz_ip: 10.0.0.3
[services.d] starting services
[services.d] done.
/config/diyhue exists.
Your Architecture is = BUILD_ARCH
/opt/hue-emulator/functions/entertainment.py:97: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(nativeLights) is not 0:
/opt/hue-emulator/functions/entertainment.py:104: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(esphomeLights) is not 0:
/opt/hue-emulator/protocols/esphome.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if address["esphome_model"] is not "ESPHome-Toggle":
2021-01-18 09:51:51,957 - root - INFO - Using Host 10.0.0.3:80
Host MAC given as DCA63247FF87
2021-01-18 09:51:51,957 - root - INFO - DCA63247FF87
Docker Setup Initiated
SSL certificate found
Config file found
Docker Setup Complete
2021-01-18 09:51:51,958 - root - INFO - IP range for light discovery: 0-255
Deconz IP given as 10.0.0.3
2021-01-18 09:51:51,958 - root - INFO - 10.0.0.3
2021-01-18 09:51:51,958 - root - INFO - Online Discovery/Remote API Enabled!
2021-01-18 09:51:51,960 - root - INFO - Config loaded
cp: can't create '/config/diyhue/export/': Is a directory
2021-01-18 09:51:51,972 - root - DEBUG - start ssdp broadcast
2021-01-18 09:51:51,973 - root - DEBUG - starting ssdp...
2021-01-18 09:51:51,974 - root - INFO - sync with lights
2021-01-18 09:51:51,978 - root - INFO - Starting httpd...
2021-01-18 09:51:51,999 - root - INFO - Starting ssl httpd...
2021-01-18 09:51:52,000 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
10.0.0.3 - - [18/Jan/2021 09:51:52] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:51:52] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:51:52] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
2021-01-18 09:51:53,216 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 6
{"ok"}
2021-01-18 09:51:55,579 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [18/Jan/2021 09:51:55] "GET /description.xml HTTP/1.1" 200 -
2021-01-18 09:51:56,582 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.0.3 - - [18/Jan/2021 09:51:57] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:51:57] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:51:57] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [18/Jan/2021 09:52:00] "GET /description.xml HTTP/1.1" 200 -
2021-01-18 09:52:00,695 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-18 09:52:01,598 - root - DEBUG - Sending M-Search response to 10.0.0.4
10.0.0.4 - - [18/Jan/2021 09:52:01] "GET /description.xml HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:02] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:02] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:02] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [18/Jan/2021 09:52:02] "GET /api/f63126be567811eb8cb3dca63247ff87/ HTTP/1.1" 200 -
2021-01-18 09:52:03,705 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-18 09:52:04,030 - root - INFO - sync with lights
2021-01-18 09:52:06,315 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.0.3 - - [18/Jan/2021 09:52:07] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:07] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:07] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [18/Jan/2021 09:52:10] "GET /description.xml HTTP/1.1" 200 -
2021-01-18 09:52:10,442 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-18 09:52:11,344 - root - DEBUG - Sending M-Search response to 10.0.0.1
10.0.0.3 - - [18/Jan/2021 09:52:12] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:12] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:12] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
2021-01-18 09:52:12,747 - root - DEBUG - Sending M-Search response to 10.0.0.4
2021-01-18 09:52:13,949 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-18 09:52:15,944 - root - DEBUG - Sending M-Search response to 10.0.0.1
2021-01-18 09:52:16,947 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.0.3 - - [18/Jan/2021 09:52:17] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:17] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:17] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [18/Jan/2021 09:52:17] "GET /api/f63126be567811eb8cb3dca63247ff87/ HTTP/1.1" 200 -
2021-01-18 09:52:18,041 - root - INFO - sync with lights
10.0.1.2 - - [18/Jan/2021 09:52:20] "GET /description.xml HTTP/1.1" 200 -
2021-01-18 09:52:20,346 - root - DEBUG - Sending M-Search response to 10.0.0.1
2021-01-18 09:52:20,948 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-18 09:52:21,550 - root - DEBUG - Sending M-Search response to 10.0.0.4
10.0.0.3 - - [18/Jan/2021 09:52:22] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:22] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:22] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
2021-01-18 09:52:23,262 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
2021-01-18 09:52:23,476 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 6
{"ok"}
2021-01-18 09:52:23,609 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-18 09:52:25,348 - root - DEBUG - Sending M-Search response to 10.0.0.1
2021-01-18 09:52:26,521 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.0.3 - - [18/Jan/2021 09:52:27] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:27] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:27] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
2021-01-18 09:52:29,051 - root - INFO - sync with lights
2021-01-18 09:52:30,249 - root - DEBUG - Sending M-Search response to 10.0.0.1
10.0.1.2 - - [18/Jan/2021 09:52:30] "GET /description.xml HTTP/1.1" 200 -
2021-01-18 09:52:31,551 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.0.3 - - [18/Jan/2021 09:52:32] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:32] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [18/Jan/2021 09:52:32] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
2021-01-18 09:52:32,455 - root - DEBUG - Sending M-Search response to 10.0.0.4
10.0.1.2 - - [18/Jan/2021 09:52:32] "GET /api/f63126be567811eb8cb3dca63247ff87/ HTTP/1.1" 200 -
2021-01-18 09:52:33,371 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-18 09:52:33,973 - root - DEBUG - Sending M-Search response to 10.0.0.3

Thanks a lot for your work!
Greetings

Please update to the latest version of the add-on. I just released version 1.3.1.
And then set the new option no-serve-https to true in the add-on config. :slight_smile: Hope this helps!

Hi,
thanks for your fast answer. I just updated the addon and changed the no-serve-https to true.

But still when I activate authentication in the deconz gateway and go to the diyhue deconz connect site, the site keeps empty :confused:

Can u specify what mac address and IP address needs to be specified in the config?

image

Thanks in advance!

Mac Address of your hassio host machine. And deconz instance IP. I don’t use deconz myself. But I’ll contact a user who does to fix it.

Hi,
anyone else getting an error when trying to update DIYHue addon from beta 1.1.8 to 1.3.1?

21-01-20 10:41:17 INFO (SyncWorker_5) [supervisor.docker.interface] Updating image 590f8686/aarch64-addon-diyhue-beta:1.1.8 to 590f8686/aarch64-addon-diyhue-beta:1.3.1
21-01-20 10:41:17 INFO (SyncWorker_5) [supervisor.docker.addon] Starting build for 590f8686/aarch64-addon-diyhue-beta:1.3.1
21-01-20 10:41:17 ERROR (MainThread) [supervisor.jobs] Unhandled exception: You must specify a directory to build in path
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 61, in wrapper
    return await self._method(*args, **kwargs)
  File "/usr/src/supervisor/supervisor/addons/__init__.py", line 280, in update
    await addon.instance.update(store.version, store.image)
  File "/usr/src/supervisor/supervisor/utils/__init__.py", line 33, in wrap_api
    return await method(api, *args, **kwargs)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/supervisor/supervisor/docker/interface.py", line 359, in _update
    self._install(version, image=image, latest=latest)
  File "/usr/src/supervisor/supervisor/docker/addon.py", line 401, in _install
    self._build(version)
  File "/usr/src/supervisor/supervisor/docker/addon.py", line 414, in _build
    image, log = self.sys_docker.images.build(
  File "/usr/local/lib/python3.8/site-packages/docker/models/images.py", line 279, in build
    resp = self.client.api.build(**kwargs)
  File "/usr/local/lib/python3.8/site-packages/docker/api/build.py", line 148, in build
    raise TypeError("You must specify a directory to build in path")
TypeError: You must specify a directory to build in path

Just copy the Add-on config, uninstall the beta, update and reload the repository and install the normal diyhue addon version. :slight_smile:

1 Like

That easy? wow :slight_smile:

Thanks

Hi @MaxBec92,

I guess u are pretty busy. I just wanted to ask if you already talked to the user which is using deconz?
Thanks in advance,
Greetings

Hi @Br3b,

To activate Deconz you need to access /deconz webpage from diyhue. App pair need to be activated in Deconz before, otherwise the pair will fail. Most users run Deconz and Diyhue on same host and because of this we put default connection to Deconz to localhost:8080. You can change the address using env variable like you already did and the port in config.json “deconz” => “port”.

@mariusmotea
thanks a lot for your fast answer. I don’t know if I’m just stupid or misunderstanding something.
So the diyHue Addon is configured like this:
image

my deconz addon is configured like this:
image

And in the config.json of diyhue i tried port 40850 and even 8081 but even with authentication on (deconz) the site keeps blank:
image

I am really sorry for my behaviour but I really want to get this working :confused:
Greetings and thanks in advance :wink:

I think you need to change the env variable.

It must be DECONZ

@mariusmotea
Thanks for your time!
But how do I manage to change that ?
Or was this message intended for MaxBec92 ?
Greetings

Hey @Br3b,

do you have deconz enabled in the diyhue-config file? In hassio it is under /config/diyhue/config.json.
There you have to enable deconz:

"deconz": {
   "enabled": false,
        "lights": {},
        "port": 8080,
        "sensors": {}
    },

@MaxBec92
hi there, i did change to “true”:
image

The question is what port do I need to specify ? the port of the deconz API ?
but it seems not working either

I also tried to add deconz directly without success with the same setup you have. Also tried different ports in config.
Lights are not the problem, since they get shown through the ha-integration, but I’d like to show the sensors also in the hue app.

Did you guys try to set the IP to the hassio host? And is there maybe any other service running on 8081? Set 8081 in the config of diyhue as well. And please post the logs again :slight_smile:

hey there @MaxBec92,
i set the IP to my hassio host IP (10.0.0.3) and in diyhue.conf enabled deconz and changed port to 8081 and opened deconz websocket on port 8081.
this is my log:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 429, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "/opt/hue-emulator/HueEmulator3.py", line 1866, in do_PUT
    splitLightsToDevices(url_pices[4], put_dictionary)
  File "/opt/hue-emulator/HueEmulator3.py", line 1216, in splitLightsToDevices
    updateGroupStats(list(lightsData.keys())[0], bridge_config["lights"], bridge_config["groups"])
IndexError: list index out of range
----------------------------------------
10.0.1.2 - - [25/Jan/2021 20:20:22] "PUT /api/38f0f4e25b2a11ebadb5dca63247ff87/groups/1/action HTTP/1.1" 200 -
2021-01-25 20:20:22,401 - root - INFO - in PUT method
2021-01-25 20:20:22,401 - root - INFO - /api/38f0f4e25b2a11ebadb5dca63247ff87/groups/1/action
----------------------------------------
Exception happened during processing of request from ('10.0.1.2', 52871)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
2021-01-25 20:20:22,402 - root - INFO - b'{"on":false}'
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 429, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "/opt/hue-emulator/HueEmulator3.py", line 1866, in do_PUT
    splitLightsToDevices(url_pices[4], put_dictionary)
  File "/opt/hue-emulator/HueEmulator3.py", line 1216, in splitLightsToDevices
    updateGroupStats(list(lightsData.keys())[0], bridge_config["lights"], bridge_config["groups"])
IndexError: list index out of range
----------------------------------------
10.0.1.2 - - [25/Jan/2021 20:20:22] "PUT /api/38f0f4e25b2a11ebadb5dca63247ff87/groups/1/action HTTP/1.1" 200 -
2021-01-25 20:20:22,412 - root - INFO - in PUT method
2021-01-25 20:20:22,412 - root - INFO - /api/38f0f4e25b2a11ebadb5dca63247ff87/groups/1/action
2021-01-25 20:20:22,412 - root - INFO - b'{"on":false}'
----------------------------------------
Exception happened during processing of request from ('10.0.1.2', 52873)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/socketserver.py", line 650, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python3.8/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python3.8/socketserver.py", line 720, in __init__
    self.handle()
  File "/usr/local/lib/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/local/lib/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "/opt/hue-emulator/HueEmulator3.py", line 1866, in do_PUT
    splitLightsToDevices(url_pices[4], put_dictionary)
  File "/opt/hue-emulator/HueEmulator3.py", line 1216, in splitLightsToDevices
    updateGroupStats(list(lightsData.keys())[0], bridge_config["lights"], bridge_config["groups"])
IndexError: list index out of range
----------------------------------------
10.0.1.2 - - [25/Jan/2021 20:20:22] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:22] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
2021-01-25 20:20:23,729 - root - DEBUG - Sending M-Search response to 10.0.0.3
10.0.1.2 - - [25/Jan/2021 20:20:23] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:23] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:24] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:24] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:25] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:25] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:20:26] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:20:26] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:20:26] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:26] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:26] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
2021-01-25 20:20:26,837 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [25/Jan/2021 20:20:28] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:28] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:29] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:29] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
2021-01-25 20:20:29,541 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [25/Jan/2021 20:20:30] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:30] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
2021-01-25 20:20:30,562 - root - INFO - sync with lights
2021-01-25 20:20:30,645 - root - DEBUG - Sending M-Search response to 10.0.0.4
10.0.1.2 - - [25/Jan/2021 20:20:30] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/ HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:20:31] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:20:31] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:20:31] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:31] "GET /description.xml HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:31] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:31] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
2021-01-25 20:20:31,747 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [25/Jan/2021 20:20:32] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:32] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
2021-01-25 20:20:32,749 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [25/Jan/2021 20:20:33] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:20:33] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -

@MaxBec92
i restartet diyhue addon again and it seems it finds the lights.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] firmware.sh: executing... 
[20:22:58] INFO: GCFFlasher V3_17 (c) dresden elektronik ingenieurtechnik gmbh
Path             | Vendor | Product | Serial     | Type
-----------------+--------+---------+------------+-------
/dev/ttyACM0     | 0x1CF1 | 0x0030  |            | ConBee II 
/dev/ttyAMA0     | 0x0000 | 0x0000  |            | RaspBee 
[cont-init.d] firmware.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] novnc.sh: executing... 
[cont-init.d] novnc.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[20:22:58] INFO: Websockify waiting for VNC to start
[20:22:58] INFO: Running the IKEA OTA updater...
[20:22:58] INFO: Running the deCONZ OTA updater...
[20:22:58] INFO: Running the OSRAM LEdvance OTA updater...
[20:22:58] INFO: Starting udevd...
[20:22:58] INFO: Waiting for device...
[20:23:04] INFO: Starting VNC server (local/yes)...
[20:23:05] INFO: Starting websockify...
WebSocket server settings:
  - Listen on 127.0.0.1:5901
  - Flash security policy server
  - Web server. Web root: /usr/share/novnc
  - No SSL/TLS support (no cert file)
  - proxying from 127.0.0.1:5901 to 127.0.0.1:5900
[20:23:07] INFO: deCONZ waiting for VNC to start
[20:23:08] INFO: Starting the deCONZ gateway...
QCoreApplication::arguments: Please instantiate the QApplication object first
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[20:23:10] INFO: Starting Nginx...
2021/01/25 20:23:10 [notice] 325#325: using the "epoll" event method
2021/01/25 20:23:10 [notice] 325#325: nginx/1.14.2
2021/01/25 20:23:10 [notice] 325#325: OS: Linux 5.4.79-v7l
2021/01/25 20:23:10 [notice] 325#325: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2021/01/25 20:23:10 [notice] 325#325: start worker processes
2021/01/25 20:23:10 [notice] 325#325: start worker process 1593
QObject::connect: Cannot queue arguments of type 'QTextBlock'
(Make sure 'QTextBlock' is registered using qRegisterMetaType().)
QObject::connect: Cannot queue arguments of type 'QTextCursor'
(Make sure 'QTextCursor' is registered using qRegisterMetaType().)
20:23:10:665 HTTP Server listen on address 0.0.0.0, port: 40850, root: /usr/share/deCONZ/webapp/
20:23:10:680 CTRL. 3.27.220:23:10:761 COM: use stable device path /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2215408-if00
20:23:10:820 dev /dev/ttyAMA0
20:23:10:821 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2215408-if00 / serialno: DE2215408, ConBee II
20:23:10:821 ZCLDB init file /data/.local/share/dresden-elektronik/deCONZ/zcldb.txt
20:23:11:020 parent process s6-supervise
20:23:11:021 gw run mode: docker/hassio
20:23:11:021 GW sd-card image version file does not exist: /data/.local/share/dresden-elektronik/deCONZ/gw-version
20:23:11:021 sd-card cid: 035344534533324780ffffffff013900
20:23:11:023 DB sqlite version 3.27.2
20:23:11:025 DB PRAGMA page_count: 45
20:23:11:026 DB PRAGMA page_size: 4096
20:23:11:026 DB PRAGMA freelist_count: 3
20:23:11:026 DB file size 184320 bytes, free pages 3
20:23:11:027 DB PRAGMA user_version: 7
20:23:11:027 DB cleanup
20:23:11:031 DB create temporary views
20:23:11:061 started websocket server at port 8081
20:23:11:068 [INFO] - Found file containing button maps. Parsing data...
20:23:11:074 [WARNING] - Button map 'sunricherCCTMap' in JSON file has no assigned ModelIDs. Skip loading button map...
20:23:11:082 [INFO] - Button maps loaded.
20:23:11:084 dlg action: Read binding table
20:23:11:084 found node plugin: libde_rest_plugin.so - REST API Plugin
20:23:11:091 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
20:23:18:591 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
20:23:18:644 dev /dev/ttyAMA0
20:23:18:645 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2215408-if00 / serialno: DE2215408, ConBee II
20:23:19:044 dev /dev/ttyAMA0
20:23:19:295 Announced to internet https://phoscon.de/discover
20:23:19:296 discovery server date: Mon, 25 Jan 2021 19:23:19 GMT
20:23:19:296 	 local time seems to be ok
20:23:19:297 discovery found version 2.04.35 for update channel stable
20:23:19:709 dev /dev/ttyAMA0
20:23:19:710 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2215408-if00 / serialno: DE2215408, ConBee II
20:23:19:728 COM check bootloader
20:23:19:741 COM detected application
20:23:19:791 Device firmware version 0x26660700 ConBee II
20:23:19:795 unlocked max nodes: 200
20:23:19:867 Device protocol version: 0x010C
20:23:19:891 new node - ext: 0x00212effff03cb37, nwk: 0x0000
20:23:19:995 LightNode 1: Schlafzimmer added
20:23:20:008 LightNode 2: Philips LED-Strip Büro added
20:23:20:019 LightNode 3: Wohnzimmer added
20:23:20:021 LightNode 6: Strom-TV-Wohnzimmer added
20:23:20:024 LightNode 4: Flur added
20:23:20:026 LightNode 5: Badezimmer Decke added
20:23:20:028 LightNode 12: Hue Play R added
20:23:20:031 LightNode 14: Strom-TV-Schlafzimmer added
20:23:20:033 LightNode 15: Schlafzimmer Decke added
20:23:20:036 LightNode 16: Wohnzimmer Decke added
20:23:20:038 LightNode 17: Badezimmer Spiegel added
20:23:20:040 LightNode 13: Hue Play L added
20:23:20:043 LightNode 18: Küche LED Strip added
20:23:20:045 SensorNode 10 set node 0x00158d0003492858
20:23:20:046 SensorNode 12 set node 0x00158d0003cb85ba
20:23:20:047 SensorNode 13 set node 0x00158d0003cb85ba
20:23:20:049 SensorNode 15 set node 0x00158d000445eea9
20:23:20:052 LightNode 9: Dimmer switch 9 added
20:23:20:052 SensorNode 17 set node 0x00158d00035f38a6
20:23:20:054 SensorNode 18 set node 0x00158d0002fd40ba
20:23:20:056 LightNode 7: Strom-Bett added
20:23:20:072 SensorNode 9 set node 0x00158d000326a241
20:23:20:073 SensorNode 14 set node 0x00158d0004239960
20:23:20:074 SensorNode 16 set node 0x00158d000326a2df
20:23:20:165 Current channel 11
20:23:20:181 CTRL ANT_CTRL 0x03
20:23:20:206 Device protocol version: 0x010C
20:23:20:254 Current channel 11
20:23:20:270 CTRL ANT_CTRL 0x03
20:23:20:302 unknown neighbor 0x7CB03EAA0A0264C2 (0xE780), lqi: 223, rssi: -66
20:23:20:304 ZCL attribute report 0x7CB03EAA0A0264C2 for cluster: 0x0006, ep: 0x03, frame control: 0x18, mfcode: 0x0000
[20:23:21] INFO: Successfully send discovery information to Home Assistant.

but when I then want to authenticate my deconz gateway and click on deconz in diyhue webmenu i get this:

10.0.1.2 - - [25/Jan/2021 20:23:55] "GET /config.js HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:55] "GET /static/js/main.f9be324d.chunk.js HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:55] "GET /static/js/2.8a2060e0.chunk.js HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:23:56] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:23:56] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:23:56] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:56] "GET / HTTP/1.1" 200 -
2021-01-25 20:23:56,635 - root - DEBUG - Sending M-Search response to 10.0.0.4
10.0.1.2 - - [25/Jan/2021 20:23:56] "GET /static/css/2.675adcc2.chunk.css HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:56] "GET /config.js HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:56] "GET /static/js/main.f9be324d.chunk.js HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:56] "GET /static/js/2.8a2060e0.chunk.js HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:56] "GET /favicon-32x32.png HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:57] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:57] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
2021-01-25 20:23:58,334 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [25/Jan/2021 20:23:58] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:58] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:23:59] "GET /deconz HTTP/1.1" 200 -
2021-01-25 20:23:59,713 - root - INFO - sync with lights
10.0.1.2 - - [25/Jan/2021 20:24:00] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/ HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:01] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:01] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:01] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:24:02] "GET /description.xml HTTP/1.1" 200 -
2021-01-25 20:24:02,871 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-25 20:24:03,819 - root - DEBUG - Sending M-Search response to 10.0.0.3
2021-01-25 20:24:04,420 - root - DEBUG - Sending M-Search response to 10.0.0.3
2021-01-25 20:24:05,980 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.0.3 - - [25/Jan/2021 20:24:06] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:06] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:06] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
2021-01-25 20:24:06,883 - root - DEBUG - Sending M-Search response to 10.0.0.3
2021-01-25 20:24:08,285 - root - DEBUG - Sending M-Search response to 10.0.0.3
2021-01-25 20:24:09,088 - root - DEBUG - Sending M-Search response to 10.0.0.4
2021-01-25 20:24:10,490 - root - DEBUG - Sending M-Search response to 10.0.0.3
10.0.0.3 - - [25/Jan/2021 20:24:11] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:11] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:11] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
2021-01-25 20:24:11,592 - root - DEBUG - Sending M-Search response to 10.0.0.3
10.0.1.2 - - [25/Jan/2021 20:24:12] "GET /description.xml HTTP/1.1" 200 -
2021-01-25 20:24:12,495 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-25 20:24:12,722 - root - INFO - sync with lights
2021-01-25 20:24:13,598 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-25 20:24:15,546 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [25/Jan/2021 20:24:15] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/ HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:16] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:16] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:16] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
2021-01-25 20:24:17,235 - root - DEBUG - Sending M-Search response to 10.0.0.4
2021-01-25 20:24:18,855 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.0.3 - - [25/Jan/2021 20:24:21] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:21] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:21] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
2021-01-25 20:24:21,664 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): discovery.diyhue.org:443
2021-01-25 20:24:21,876 - urllib3.connectionpool - DEBUG - https://discovery.diyhue.org:443 "POST / HTTP/1.1" 200 6
{"ok"}
10.0.1.2 - - [25/Jan/2021 20:24:22] "GET /description.xml HTTP/1.1" 200 -
2021-01-25 20:24:23,204 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-25 20:24:23,734 - root - INFO - sync with lights
10.0.0.3 - - [25/Jan/2021 20:24:26] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:26] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:26] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
2021-01-25 20:24:26,215 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-25 20:24:27,317 - root - DEBUG - Sending M-Search response to 10.0.0.4
2021-01-25 20:24:28,429 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [25/Jan/2021 20:24:30] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/ HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:31] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:31] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:31] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:24:32] "GET /description.xml HTTP/1.1" 200 -
2021-01-25 20:24:32,871 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.0.3 - - [25/Jan/2021 20:24:36] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:36] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:36] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
2021-01-25 20:24:37,748 - root - INFO - sync with lights
2021-01-25 20:24:38,346 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [25/Jan/2021 20:24:39] "GET / HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:24:39] "GET /static/css/2.675adcc2.chunk.css HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:24:39] "GET /config.js HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:24:39] "GET /static/js/2.8a2060e0.chunk.js HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:24:39] "GET /static/js/main.f9be324d.chunk.js HTTP/1.1" 200 -
2021-01-25 20:24:39,648 - root - DEBUG - Sending M-Search response to 10.0.0.4
10.0.1.2 - - [25/Jan/2021 20:24:40] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/groups HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:24:40] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:24:40] "GET /deconz HTTP/1.1" 200 -
2021-01-25 20:24:40,952 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.0.3 - - [25/Jan/2021 20:24:41] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:41] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:41] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.1.2 - - [25/Jan/2021 20:24:42] "GET /description.xml HTTP/1.1" 200 -
2021-01-25 20:24:42,823 - root - DEBUG - Sending M-Search response to 10.0.1.2
2021-01-25 20:24:45,532 - root - DEBUG - Sending M-Search response to 10.0.1.2
10.0.1.2 - - [25/Jan/2021 20:24:45] "GET /api/38f0f4e25b2a11ebadb5dca63247ff87/ HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:46] "GET /api/63b48378573911ebaa2adca63247ff87/sensors HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:46] "GET /api/63b48378573911ebaa2adca63247ff87/lights HTTP/1.1" 200 -
10.0.0.3 - - [25/Jan/2021 20:24:46] "GET /api/63b48378573911ebaa2adca63247ff87/groups HTTP/1.1" 200 -
2021-01-25 20:24:46,536 - root - DEBUG - Sending M-Search response to 10.0.0.4
2021-01-25 20:24:48,760 - root - INFO - sync with lights
2021-01-25 20:24:49,046 - root - DEBUG - Sending M-Search response to 10.0.1.2

I just look at the code, you don’t see anything there probably because the pair was successful, otherwise you must receive the message from here . The bridge web ui seams to be opened, probably you expect to see the imported lights there, but is not the case, there are displayed only the groups and the lights that belongs to them. New lights are not assiciated to any group.

1 Like

Hello, I have this error when I start the installation.
install Fehler