Unable to pair diyHue bridge with Hue app

I am completely stumped, I’ve tried endless things but my diyHue bridge will not pair with the official Hue app. The diyHue bridge is found by the app, however the handshake/pairing does not complete. The documentation suggest this could be related to the certificate, however I’ve checked it manually and it looks fine. However, the curl command complains about it!

I am running diyHue inside Home Assistant OS using the add-on with the following configuration;

HA/bridge IP: 192.168.0.30
MAC: DC:A6:32:AC:78:27
HTTP: 80
HTTPS: 443
No_serve_https: Disabled

Certificate viewed in Windows

curl on port 443

[core-ssh ~]$ curl https://192.168.0.30/api/nouser/config -v -k
*   Trying 192.168.0.30:443...
* Connected to 192.168.0.30 (192.168.0.30) port 443
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS alert, unrecognized name (624):
* OpenSSL/3.1.7: error:0A000458:SSL routines::tlsv1 unrecognized name
* closing connection #0
curl: (35) OpenSSL/3.1.7: error:0A000458:SSL routines::tlsv1 unrecognized name

curl on port 80

[core-ssh ~]$ curl http://192.168.0.30/api/nouser/config -v -k
*   Trying 192.168.0.30:80...
* Connected to 192.168.0.30 (192.168.0.30) port 80
> GET /api/nouser/config HTTP/1.1
> Host: 192.168.0.30
> User-Agent: curl/8.9.1
> Accept: */*
> 
* Request completely sent off
< HTTP/1.1 200 OK
< Content-Type: application/json
< Content-Length: 252
< Access-Control-Allow-Origin: *
< Server: Werkzeug/2.0.3 Python/3.8.6
< Date: Thu, 19 Dec 2024 13:43:40 GMT
< 
{"name": "DiyHue Bridge", "datastoreversion": "126", "swversion": "1968096020", "apiversion": "1.68.0", "mac": "DC:A6:32:AC:78:27", "bridgeid": "DCA632FFFEAC7827", "factorynew": false, "replacesbridgeid": null, "modelid": "BSB002", "starterkitid": ""}
* Connection #0 to host 192.168.0.30 left intact

Looking on some advice on what to try next, Thank you!

Logs

-----------------------------------------------------------
 Add-on: diyHue
 Emulate a Hue Bridge, add lights, sensors etc. from different vendors into one Ecosystem
-----------------------------------------------------------
 Add-on version: 2.0.30
 You are running the latest version of this add-on.
 System: Home Assistant OS 14.0  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2024.12.4
 Home Assistant Supervisor: 2024.12.0
-----------------------------------------------------------
 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 = aarch64
Serve HTTPS
2024-12-19 13:24:15,542 - configManager.argumentHandler - 91 - WARNING - Time Zone is Deprecated in commandline and not active, please setup via webui
2024-12-19 13:24:15,543 - configManager.argumentHandler - 119 - INFO - Using Host 192.168.0.30:80
2024-12-19 13:24:15,543 - configManager.argumentHandler - 120 - INFO - Using Host 192.168.0.30:443
2024-12-19 13:24:15,543 - configManager.argumentHandler - 145 - INFO - Host MAC given as DCA632AC7827
2024-12-19 13:24:15,551 - configManager.argumentHandler - 91 - WARNING - Time Zone is Deprecated in commandline and not active, please setup via webui
2024-12-19 13:24:15,552 - configManager.argumentHandler - 119 - INFO - Using Host 192.168.0.30:80
2024-12-19 13:24:15,552 - configManager.argumentHandler - 120 - INFO - Using Host 192.168.0.30:443
2024-12-19 13:24:15,553 - configManager.argumentHandler - 145 - INFO - Host MAC given as DCA632AC7827
2024-12-19 13:24:15,553 - configManager.argumentHandler - 31 - INFO - Debug logging enabled!
2024-12-19 13:24:15,554 - configManager.argumentHandler - 20 - INFO - Generating certificate
Generating an EC private key
writing new private key to 'private.key'
-----
2024-12-19 13:24:15,641 - configManager.argumentHandler - 23 - INFO - Certificate created
2024-12-19 13:24:15,752 - configManager.configHandler - 267 - INFO - Config loaded
2024-12-19 13:24:16,335 - services.updateManager - 30 - INFO - no swversion number update from Philips
2024-12-19 13:24:16,590 - services.updateManager - 56 - DEBUG - creation_time diyHue : 2024-12-18 20
2024-12-19 13:24:16,591 - services.updateManager - 57 - DEBUG - publish_time  diyHue : 2024-12-17 21
2024-12-19 13:24:16,833 - services.updateManager - 94 - DEBUG - creation_time UI : 2024-12-18 20
2024-12-19 13:24:16,833 - services.updateManager - 95 - DEBUG - publish_time  UI : 2024-12-01 10
2024-12-19 13:24:16,834 - services.updateManager - 66 - INFO - no update for diyHue or UI on github
2024-12-19 13:24:16,835 - functions.daylightSensor - 66 - DEBUG - Daylight Sensor: location is not configured
2024-12-19 13:24:16,836 - services.remoteDiscover - 10 - INFO - Starting discovery service
2024-12-19 13:24:16,841 - services.stateFetch - 12 - INFO - start lights sync
2024-12-19 13:24:16,845 - services.ssdp - 25 - INFO - starting ssdp...
2024-12-19 13:24:16,847 - services.stateFetch - 18 - DEBUG - fetch wled-97b327_seg0
2024-12-19 13:24:16,853 - services.ssdp - 39 - INFO - start ssdp broadcast
2024-12-19 13:24:16,855 - services.mdns - 8 - INFO - <MDNS> listener started
2024-12-19 13:24:16,876 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'id': 'd7edfa59-40e7-5b6d-b62a-c8d54ebd4bd3', 'type': 'entertainment', 'equalizer': True, 'id_v1': '/lights/1', 'proxy': True, 'renderer': True, 'renderer_reference': {'rid': 'e80a4071-6ce4-4a86-add3-49abb4bda62e', 'rtype': 'light'}, 'owner': {'rid': 'f67be0ad-e98a-55c1-9084-46117990876e', 'rtype': 'device'}, 'segments': {'configurable': False, 'max_segments': 1, 'segments': [{'length': 1, 'start': 0}]}}], 'id': '6a6af600-c332-4639-9584-bc82923d3d2d', 'type': 'add', 'id_v1': '/lights/1'}
2024-12-19 13:24:16,879 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'id': 'f217cd26-7720-5ef8-a0ba-0e51d910c3b8', 'id_v1': '/lights/1', 'mac_address': '00:17:88:01:00:31:6e:f3', 'owner': {'rid': 'f67be0ad-e98a-55c1-9084-46117990876e', 'rtype': 'device'}, 'status': 'connected', 'type': 'zigbee_connectivity'}], 'id': 'd286598f-8e52-4f48-97e7-9d23e151035f', 'type': 'add'}
 * Serving Flask app 'HueEmulator3' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
2024-12-19 13:24:16,884 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'alert': {'action_values': ['breathe']}, 'color': {'gamut': {'blue': {'x': 0.1532, 'y': 0.0475}, 'green': {'x': 0.17, 'y': 0.7}, 'red': {'x': 0.6915, 'y': 0.3083}}, 'gamut_type': 'C', 'xy': {'x': 0.5755690715084125, 'y': 0.4052342017853906}}, 'color_temperature': {'mirek': None, 'mirek_schema': {'mirek_maximum': 500, 'mirek_minimum': 153}, 'mirek_valid': True}, 'color_temperature_delta': {}, 'dimming': {'brightness': 100.39, 'min_dim_level': 0.1}, 'dimming_delta': {}, 'dynamics': {'speed': 0, 'speed_valid': False, 'status': 'none', 'status_values': ['none', 'dynamic_palette']}, 'effects': {'effect_values': ['no_effect', 'candle', 'fire'], 'status': 'no_effect', 'status_values': ['no_effect', 'candle', 'fire']}, 'timed_effects': {}, 'identify': {}, 'id': 'e80a4071-6ce4-4a86-add3-49abb4bda62e', 'id_v1': '/lights/1', 'metadata': {'name': 'wled-97b327_seg0', 'function': 'mixed', 'archetype': 'hue_lightstrip'}, 'mode': 'normal', 'on': {'on': True}, 'owner': {'rid': 'f67be0ad-e98a-55c1-9084-46117990876e', 'rtype': 'device'}, 'product_data': {'function': 'mixed'}, 'signaling': {'signal_values': ['no_signal', 'on_off']}, 'powerup': {'preset': 'last_on_state', 'configured': True, 'on': {'mode': 'on', 'on': {'on': True}}, 'dimming': {'mode': 'previous'}}, 'service_id': 0, 'type': 'light'}], 'id': '709427c2-c4e6-496f-9ac1-b1f0f672149f', 'type': 'add'}
2024-12-19 13:24:16,886 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'id': 'f67be0ad-e98a-55c1-9084-46117990876e', 'id_v1': '/lights/1', 'identify': {}, 'metadata': {'archetype': 'hue_lightstrip', 'name': 'wled-97b327_seg0'}, 'product_data': {'certified': True, 'manufacturer_name': 'Signify Netherlands B.V.', 'product_archetype': 'hue_lightstrip', 'product_name': 'Hue lightstrip plus', 'software_version': '1.104.2', 'model_id': 'LST002'}, 'service_id': 0, 'services': [{'rid': 'e80a4071-6ce4-4a86-add3-49abb4bda62e', 'rtype': 'light'}, {'rid': 'f217cd26-7720-5ef8-a0ba-0e51d910c3b8', 'rtype': 'zigbee_connectivity'}, {'rid': 'd7edfa59-40e7-5b6d-b62a-c8d54ebd4bd3', 'rtype': 'entertainment'}], 'type': 'device'}], 'id': '8ab3045d-7722-4c35-b0ea-a80622b8b072', 'type': 'add'}
 * Serving Flask app 'HueEmulator3' (lazy loading)
2024-12-19 13:24:16,888 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'id': '764ae680-fafb-5dc7-b7ed-d20be5a77930', 'type': 'entertainment', 'equalizer': True, 'id_v1': '/lights/2', 'proxy': False, 'renderer': True, 'renderer_reference': {'rid': 'c978bb43-fd6c-4fba-95b7-2af35c0df1d8', 'rtype': 'light'}, 'owner': {'rid': '86069b43-59f0-508f-907e-673ffd133f75', 'rtype': 'device'}, 'segments': {'configurable': False, 'max_segments': 1, 'segments': [{'length': 1, 'start': 0}]}}], 'id': 'cd41c86f-fe53-4a9c-bbba-d1b79042da4e', 'type': 'add', 'id_v1': '/lights/2'}
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
2024-12-19 13:24:16,893 - werkzeug - 225 - WARNING -  * Running on all addresses.
   WARNING: This is a development server. Do not use it in a production deployment.
2024-12-19 13:24:16,893 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'id': '77af05b8-e294-5c95-93b1-37fce28f471d', 'id_v1': '/lights/2', 'mac_address': '00:17:88:01:00:3e:e1:ea', 'owner': {'rid': '86069b43-59f0-508f-907e-673ffd133f75', 'rtype': 'device'}, 'status': 'connected', 'type': 'zigbee_connectivity'}], 'id': '68cf0028-ac9f-4a66-8bb5-c8f6ab5ba791', 'type': 'add'}
2024-12-19 13:24:16,895 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'alert': {'action_values': ['breathe']}, 'color': {'gamut': {'blue': {'x': 0.1532, 'y': 0.0475}, 'green': {'x': 0.17, 'y': 0.7}, 'red': {'x': 0.6915, 'y': 0.3083}}, 'gamut_type': 'C', 'xy': {'x': 0.32272672086556803, 'y': 0.3290229095590793}}, 'color_temperature': {'mirek': None, 'mirek_schema': {'mirek_maximum': 500, 'mirek_minimum': 153}, 'mirek_valid': True}, 'color_temperature_delta': {}, 'dimming': {'brightness': 100.39, 'min_dim_level': 0.1}, 'dimming_delta': {}, 'dynamics': {'speed': 0, 'speed_valid': False, 'status': 'none', 'status_values': ['none', 'dynamic_palette']}, 'effects': {'effect_values': ['no_effect', 'candle', 'fire'], 'status': 'no_effect', 'status_values': ['no_effect', 'candle', 'fire']}, 'timed_effects': {}, 'identify': {}, 'id': 'c978bb43-fd6c-4fba-95b7-2af35c0df1d8', 'id_v1': '/lights/2', 'metadata': {'name': 'tasmota-8F39EA-6634', 'function': 'mixed', 'archetype': 'sultan_bulb'}, 'mode': 'normal', 'on': {'on': False}, 'owner': {'rid': '86069b43-59f0-508f-907e-673ffd133f75', 'rtype': 'device'}, 'product_data': {'function': 'mixed'}, 'signaling': {'signal_values': ['no_signal', 'on_off']}, 'powerup': {'preset': 'last_on_state', 'configured': True, 'on': {'mode': 'on', 'on': {'on': True}}, 'dimming': {'mode': 'previous'}}, 'service_id': 0, 'type': 'light'}], 'id': '2009b5f8-c306-4e92-9e74-e41661a77900', 'type': 'add'}
   Use a production WSGI server instead.
 * Debug mode: off
2024-12-19 13:24:16,897 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'id': '86069b43-59f0-508f-907e-673ffd133f75', 'id_v1': '/lights/2', 'identify': {}, 'metadata': {'archetype': 'sultan_bulb', 'name': 'tasmota-8F39EA-6634'}, 'product_data': {'certified': True, 'manufacturer_name': 'Signify Netherlands B.V.', 'product_archetype': 'sultan_bulb', 'product_name': 'Hue color lamp', 'software_version': '1.104.2', 'model_id': 'LCT015'}, 'service_id': 0, 'services': [{'rid': 'c978bb43-fd6c-4fba-95b7-2af35c0df1d8', 'rtype': 'light'}, {'rid': '77af05b8-e294-5c95-93b1-37fce28f471d', 'rtype': 'zigbee_connectivity'}, {'rid': '764ae680-fafb-5dc7-b7ed-d20be5a77930', 'rtype': 'entertainment'}], 'type': 'device'}], 'id': '959d63e5-faf1-4152-a72c-758eae5b8fb6', 'type': 'add'}
2024-12-19 13:24:16,898 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'children': [], 'services': [{'rid': '8e03e63c-0c66-43b5-b66d-75e1b79689f0', 'rtype': 'grouped_light'}], 'id': 'd876b490-89ba-5c58-9343-4e6c83ae3a58', 'id_v1': '/groups/0', 'metadata': {'archetype': 'other', 'name': 'Group 0'}, 'type': 'zone'}], 'id': '6e0a9fb1-bce3-4d44-ac55-ffd189bcf21d', 'type': 'add'}
2024-12-19 13:24:16,899 - werkzeug - 225 - INFO -  * Running on http://192.168.0.30:80/ (Press CTRL+C to quit)
2024-12-19 13:24:16,900 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'alert': {'action_values': ['breathe']}, 'id': '8e03e63c-0c66-43b5-b66d-75e1b79689f0', 'id_v1': '/groups/0', 'on': {'on': False}, 'type': 'grouped_light'}], 'id': '54efa303-ae16-4509-b78e-5d8dea1dc321', 'type': 'add'}
2024-12-19 13:24:16,901 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'grouped_services': [{'rid': '8e03e63c-0c66-43b5-b66d-75e1b79689f0', 'rtype': 'grouped_light'}], 'id': 'd876b490-89ba-5c58-9343-4e6c83ae3a58', 'id_v1': '/groups/0', 'type': 'zone'}], 'id': '666824b5-781b-4548-9a75-cd5e4970adb4', 'type': 'update'}
2024-12-19 13:24:16,903 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'children': [{'rid': 'f67be0ad-e98a-55c1-9084-46117990876e', 'rtype': 'device'}], 'id': 'd876b490-89ba-5c58-9343-4e6c83ae3a58', 'id_v1': '/groups/0', 'services': [{'rid': 'e80a4071-6ce4-4a86-add3-49abb4bda62e', 'rtype': 'light'}, {'rid': '8e03e63c-0c66-43b5-b66d-75e1b79689f0', 'rtype': 'grouped_light'}], 'type': 'zone'}], 'id': 'c59c5413-411e-4816-a486-ffadef6077df', 'type': 'update'}
Exception in thread Thread-11:
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 97, in runHttps
2024-12-19 13:24:16,906 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'alert': {'action_values': ['breathe']}, 'id': '8e03e63c-0c66-43b5-b66d-75e1b79689f0', 'id_v1': '/groups/0', 'on': {'on': False}, 'type': 'grouped_light'}], 'id': '753d51f7-3e6f-4a7e-9e9e-b174fbb1b0ec', 'type': 'add'}
    app.run(host=BIND_IP, port=HOST_HTTPS_PORT, ssl_context=ctx)
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 920, in run
2024-12-19 13:24:16,910 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'grouped_services': [{'rid': '8e03e63c-0c66-43b5-b66d-75e1b79689f0', 'rtype': 'grouped_light'}], 'id': 'd876b490-89ba-5c58-9343-4e6c83ae3a58', 'id_v1': '/groups/0', 'type': 'zone'}], 'id': '4dfd5be5-5967-49e5-ad5b-47952985295e', 'type': 'update'}
2024-12-19 13:24:16,911 - services.eventStreamer - 14 - DEBUG - {'creationtime': '2024-12-19T13:24:15Z', 'data': [{'children': [{'rid': 'f67be0ad-e98a-55c1-9084-46117990876e', 'rtype': 'device'}, {'rid': '86069b43-59f0-508f-907e-673ffd133f75', 'rtype': 'device'}], 'id': 'd876b490-89ba-5c58-9343-4e6c83ae3a58', 'id_v1': '/groups/0', 'services': [{'rid': 'e80a4071-6ce4-4a86-add3-49abb4bda62e', 'rtype': 'light'}, {'rid': 'c978bb43-fd6c-4fba-95b7-2af35c0df1d8', 'rtype': 'light'}, {'rid': '8e03e63c-0c66-43b5-b66d-75e1b79689f0', 'rtype': 'grouped_light'}], 'type': 'zone'}], 'id': '82297e89-62ca-41ce-9e04-ce1fbf6c3d47', 'type': 'update'}
    run_simple(t.cast(str, host), port, self, **options)
  File "/usr/local/lib/python3.8/site-packages/werkzeug/serving.py", line 1017, in run_simple
    inner()
  File "/usr/local/lib/python3.8/site-packages/werkzeug/serving.py", line 957, in inner
    srv = make_server(
  File "/usr/local/lib/python3.8/site-packages/werkzeug/serving.py", line 789, in make_server
    return ThreadedWSGIServer(
  File "/usr/local/lib/python3.8/site-packages/werkzeug/serving.py", line 693, in __init__
    super().__init__(server_address, handler)  # type: ignore
  File "/usr/local/lib/python3.8/socketserver.py", line 452, in __init__
    self.server_bind()
  File "/usr/local/lib/python3.8/http/server.py", line 138, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/local/lib/python3.8/socketserver.py", line 466, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address in use
2024-12-19 13:24:16,950 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:16] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:24:16,959 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:16] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:24:17,017 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:17] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:24:17,029 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:17] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:24:17,184 - services.stateFetch - 20 - DEBUG - {'bri': 255, 'on': True, 'xy': [0.5755690715084125, 0.4052342017853906], 'colormode': 'xy'}
2024-12-19 13:24:17,185 - services.stateFetch - 18 - DEBUG - fetch tasmota-8F39EA-6634
2024-12-19 13:24:17,186 - lights.protocols.tasmota - 76 - DEBUG - tasmota: <get_light_state> invoked!
2024-12-19 13:24:17,309 - services.stateFetch - 20 - DEBUG - {'on': False}
2024-12-19 13:24:18,237 - werkzeug - 225 - INFO - 192.168.0.10 - - [19/Dec/2024 13:24:18] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:24:18,712 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.32
2024-12-19 13:24:18,769 - werkzeug - 225 - INFO - 192.168.0.32 - - [19/Dec/2024 13:24:18] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:24:20,346 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:20] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:24:20,352 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:20] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:24:20,755 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:20] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:24:20,752 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:20] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:24:20,774 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.11
2024-12-19 13:24:21,776 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:24:25,917 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:25] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:24:25,922 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:25] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:24:25,995 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:25] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:24:26,000 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:25] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:24:30,375 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.11
2024-12-19 13:24:30,877 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:24:30,918 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:30] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:24:30,921 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:30] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:24:30,996 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:30] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:24:30,991 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:24:30] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:24:31,846 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.31


TRUNCATED


2024-12-19 13:26:22,512 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:22] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:26:22,518 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:22] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:26:23,702 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:26:24,211 - werkzeug - 225 - INFO - 192.168.0.10 - - [19/Dec/2024 13:26:24] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:24,404 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:26:24,706 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.35
2024-12-19 13:26:24,721 - werkzeug - 225 - INFO - 192.168.0.35 - - [19/Dec/2024 13:26:24] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:24,912 - werkzeug - 225 - INFO - 192.168.0.10 - - [19/Dec/2024 13:26:24] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:25,013 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.32
2024-12-19 13:26:25,267 - werkzeug - 225 - INFO - 192.168.0.32 - - [19/Dec/2024 13:26:25] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:27,505 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:27] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:26:27,508 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:27] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:26:29,262 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.11
2024-12-19 13:26:29,286 - services.stateFetch - 12 - INFO - start lights sync
2024-12-19 13:26:29,287 - services.stateFetch - 18 - DEBUG - fetch wled-97b327_seg0
2024-12-19 13:26:29,435 - services.stateFetch - 20 - DEBUG - {'bri': 255, 'on': True, 'xy': [0.5755690715084125, 0.4052342017853906], 'colormode': 'xy'}
2024-12-19 13:26:29,436 - services.stateFetch - 18 - DEBUG - fetch tasmota-8F39EA-6634
2024-12-19 13:26:29,436 - lights.protocols.tasmota - 76 - DEBUG - tasmota: <get_light_state> invoked!
2024-12-19 13:26:29,511 - services.stateFetch - 20 - DEBUG - {'on': False}
2024-12-19 13:26:29,712 - werkzeug - 225 - INFO - 192.168.0.194 - - [19/Dec/2024 13:26:29] "GET /api/config HTTP/1.1" 200 -
2024-12-19 13:26:29,770 - werkzeug - 225 - INFO - 192.168.0.10 - - [19/Dec/2024 13:26:29] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:30,065 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.11
2024-12-19 13:26:30,993 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.11
2024-12-19 13:26:31,597 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:26:32,228 - werkzeug - 225 - INFO - 192.168.0.10 - - [19/Dec/2024 13:26:32] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:32,507 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:32] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:26:32,503 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:32] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:26:33,089 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:26:33,791 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:26:34,933 - werkzeug - 225 - INFO - 192.168.0.10 - - [19/Dec/2024 13:26:34] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:36,315 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:36] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config HTTP/1.1" 200 -
2024-12-19 13:26:36,335 - flaskUI.restful - 309 - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1734614796}}}]
2024-12-19 13:26:36,369 - configManager.configHandler - 285 - DEBUG - Dump config file /config/diyhue/config.yaml
2024-12-19 13:26:36,372 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:36] "PUT /api/2a3be88ebd9711efac8bdca632ac7827/config HTTP/1.1" 200 -
2024-12-19 13:26:37,510 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:37] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:26:37,514 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:37] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:26:38,497 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.31
2024-12-19 13:26:38,606 - werkzeug - 225 - INFO - 192.168.0.31 - - [19/Dec/2024 13:26:38] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:40,694 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.11
2024-12-19 13:26:41,597 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:26:42,505 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:42] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:26:42,510 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:42] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:26:43,530 - services.stateFetch - 12 - INFO - start lights sync
2024-12-19 13:26:43,532 - services.stateFetch - 18 - DEBUG - fetch wled-97b327_seg0
2024-12-19 13:26:43,670 - services.stateFetch - 20 - DEBUG - {'bri': 255, 'on': True, 'xy': [0.5755690715084125, 0.4052342017853906], 'colormode': 'xy'}
2024-12-19 13:26:43,671 - services.stateFetch - 18 - DEBUG - fetch tasmota-8F39EA-6634
2024-12-19 13:26:43,672 - lights.protocols.tasmota - 76 - DEBUG - tasmota: <get_light_state> invoked!
2024-12-19 13:26:43,729 - services.stateFetch - 20 - DEBUG - {'on': False}
2024-12-19 13:26:47,516 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:47] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:26:47,520 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:47] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:26:51,196 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.11
2024-12-19 13:26:51,898 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:26:52,492 - werkzeug - 225 - INFO - 192.168.0.168 - - [19/Dec/2024 13:26:52] "GET /api/faf7a4c6b73511efbdd5dca632ac7827/lights HTTP/1.1" 200 -
2024-12-19 13:26:52,511 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:52] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:26:52,519 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:52] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:26:53,854 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.35
2024-12-19 13:26:54,267 - werkzeug - 225 - INFO - 192.168.0.35 - - [19/Dec/2024 13:26:54] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:54,742 - services.stateFetch - 12 - INFO - start lights sync
2024-12-19 13:26:54,743 - services.stateFetch - 18 - DEBUG - fetch wled-97b327_seg0
2024-12-19 13:26:54,854 - services.stateFetch - 20 - DEBUG - {'bri': 255, 'on': True, 'xy': [0.5755690715084125, 0.4052342017853906], 'colormode': 'xy'}
2024-12-19 13:26:54,855 - services.stateFetch - 18 - DEBUG - fetch tasmota-8F39EA-6634
2024-12-19 13:26:54,856 - lights.protocols.tasmota - 76 - DEBUG - tasmota: <get_light_state> invoked!
2024-12-19 13:26:54,994 - services.stateFetch - 20 - DEBUG - {'on': False}
2024-12-19 13:26:56,249 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.32
2024-12-19 13:26:56,437 - werkzeug - 225 - INFO - 192.168.0.32 - - [19/Dec/2024 13:26:56] "GET /description.xml HTTP/1.1" 200 -
2024-12-19 13:26:57,503 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:57] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:26:57,507 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:26:57] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:27:00,433 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET / HTTP/1.1" 200 -
2024-12-19 13:27:00,530 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/index-BUDhetTZ.js HTTP/1.1" 304 -
2024-12-19 13:27:00,534 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/index-CyzsjfeZ.css HTTP/1.1" 304 -
2024-12-19 13:27:00,604 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/background-BA295pIK.webp HTTP/1.1" 304 -
2024-12-19 13:27:00,661 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/PageContent-_zvqDUkO.js HTTP/1.1" 304 -
2024-12-19 13:27:00,664 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/PageContent-DB_YHES7.css HTTP/1.1" 304 -
2024-12-19 13:27:00,670 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/GlassContainer-DCdYTFk2.js HTTP/1.1" 304 -
2024-12-19 13:27:00,674 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/LinkButton-BZ642HT4.js HTTP/1.1" 304 -
2024-12-19 13:27:00,677 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/GlassContainer-B9e9hKZO.css HTTP/1.1" 304 -
2024-12-19 13:27:00,684 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/CardGrid-BOWJJjh7.css HTTP/1.1" 304 -
2024-12-19 13:27:00,735 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/CardGrid-USxQSn36.js HTTP/1.1" 304 -
2024-12-19 13:27:00,757 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /get-key HTTP/1.1" 200 -
2024-12-19 13:27:00,803 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /assets/images/favicon.ico HTTP/1.1" 304 -
2024-12-19 13:27:00,840 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:27:00,844 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:00] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:27:00,897 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.11
2024-12-19 13:27:01,400 - services.ssdp - 33 - DEBUG - Sending M-Search response to 192.168.0.10
2024-12-19 13:27:05,320 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:05] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config HTTP/1.1" 200 -
2024-12-19 13:27:05,345 - flaskUI.restful - 309 - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1734614825}}}]
2024-12-19 13:27:05,379 - configManager.configHandler - 285 - DEBUG - Dump config file /config/diyhue/config.yaml
2024-12-19 13:27:05,381 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:05] "PUT /api/2a3be88ebd9711efac8bdca632ac7827/config HTTP/1.1" 200 -
2024-12-19 13:27:05,841 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:05] "GET /api/2a3be88ebd9711efac8bdca632ac7827/config/swupdate2 HTTP/1.1" 200 -
2024-12-19 13:27:05,845 - werkzeug - 225 - INFO - 192.168.0.169 - - [19/Dec/2024 13:27:05] "GET /api/2a3be88ebd9711efac8bdca632ac7827/groups/0 HTTP/1.1" 200 -
2024-12-19 13:27:07,009 - services.stateFetch - 12 - INFO - start lights sync
2024-12-19 13:27:07,012 - services.stateFetch - 18 - DEBUG - fetch wled-97b327_seg0

Hi, the hue app need port 80 and 443 to work.
In the log you can see that diyhue can not acces port 443 for https.

Also dont use a philips cloud account.

Awesome, thanks for that. Port 443 was listening to another service in HA. I remapped that port and diyHue began to work as expected! :grinning: Surprisingly the emulated bridge pairing worked with either local or cloud account.

I wonder whether the log message could be improved as OSError: [Errno 98] Address in use is not self explanatory to me and it seems like a critical function. I know that other HA addons fail to start if the ports are not open which forces you to investigate the conflict.

good to hear that it works now.
this error is generated by python it self and not by diyhue.
i will take a look if this can be done different.
i doubt that you can pair with a cloud account because diyhue is not registered at philips.