diyhue / diyHue

Main diyHue software repo
https://diyhue.org/
Other
1.52k stars 274 forks source link

LinkButton does not work #947

Open vladimir-aubrecht opened 8 months ago

vladimir-aubrecht commented 8 months ago

Issue does not already exist?

I have searched and found no existing issue

Select Environment

Docker

Home Assistant related?

No

Description

Hi,

I tried to search for the issue, but did not find anything up to date with same symptoms.

Problem After installing DiyHue through Docker I can open Philips Hue app on iOS and I get screen: "Hue Bridge is found". After that I try to press Link Button through web interface to proceed, but nothing happens in that Philips Hue app.

I am sure my IP & MAC are filled properly, everything is running in Host network, running latest version. Anybody any clue what could be wrong?

Thanks in advance for any help! 😊

Docker-compose file

version: '3'
services:
  diyHue:
    image: diyhue/core:latest
    container_name: diyHue
    restart: unless-stopped
    privileged: true
    environment:
      - DEBUG=true
      - MAC=dc:a6:32:e0:71:79 # This is correct MAC for IP below (192.168.2.6)
      - IP=192.168.2.6 # This is IP on which bridge is found by Philips Hue app
      - TZ=Europe/Berlin
    volumes:
      - ./data/diyHue/hue-emulator/export:/opt/hue-emulator/export
      - ./data/diyHue/hue-emulator/config:/opt/hue-emulator/config
    network_mode: host

Errorlog:

2023-11-04 03:36:45,252 - services.ssdp - DEBUG - Sending M-Search response to 192.168.2.50
2023-11-04 04:37:04,112 - configManager.argumentHandler - INFO - Using Host 192.168.2.6:80
2023-11-04 04:37:04,112 - configManager.argumentHandler - INFO - Host MAC given as dca632e07179
2023-11-04 04:37:04,112 - configManager.argumentHandler - INFO - IP range for light discovery: 0-255
2023-11-04 04:37:04,112 - configManager.argumentHandler - INFO - Deconz IP given as 127.0.0.1
2023-11-04 04:37:04,112 - configManager.argumentHandler - INFO - Online Discovery/Remote API Enabled!
2023-11-04 04:37:04,116 - configManager.argumentHandler - INFO - Using Host 192.168.2.6:80
2023-11-04 04:37:04,116 - configManager.argumentHandler - INFO - Host MAC given as dca632e07179
2023-11-04 04:37:04,116 - configManager.argumentHandler - INFO - IP range for light discovery: 0-255
2023-11-04 04:37:04,117 - configManager.argumentHandler - INFO - Deconz IP given as 127.0.0.1
2023-11-04 04:37:04,117 - configManager.argumentHandler - INFO - Online Discovery/Remote API Enabled!
2023-11-04 04:37:04,117 - configManager.argumentHandler - INFO - Debug logging enabled!
2023-11-04 03:37:04,137 - configManager.configHandler - INFO - Config loaded
2023-11-04 03:37:04,286 - functions.daylightSensor - DEBUG - Daylight Sensor: location is not configured
2023-11-04 03:37:04,287 - services.remoteDiscover - INFO - Starting discovery service
2023-11-04 03:37:04,289 - services.stateFetch - INFO - start lights sync
2023-11-04 03:37:04,290 - services.ssdp - INFO - starting ssdp...
2023-11-04 03:37:04,293 - services.ssdp - INFO - start ssdp broadcast
2023-11-04 03:37:04,295 - services.mdns - INFO - <MDNS> listener started
2023-11-04 03:37:04,306 - services.eventStreamer - DEBUG - {'creationtime': '2023-11-04T03:37:04Z', 'data': [{'children': [], 'grouped_services': [{'rid': 'cb6ddad3-f330-47de-bc57-5fbc65bd9cc8', 'rtype': 'grouped_light'}], 'services': [{'rid': 'cb6ddad3-f330-47de-bc57-5fbc65bd9cc8', 'rtype': 'grouped_light'}], 'id': 'e6b34f7e-506d-5c49-a1b3-2559d55e5565', 'id_v1': '/groups/0', 'metadata': {'archetype': 'other', 'name': 'Group 0'}, 'type': 'zone'}], 'id': 'ca9134a9-4978-4773-99b7-0327128636a9', '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
2023-11-04 03:37:04,315 - werkzeug - WARNING -  * Running on all addresses.
   WARNING: This is a development server. Do not use it in a production deployment.
2023-11-04 03:37:04,316 - werkzeug - INFO -  * Running on http://192.168.2.6:80/ (Press CTRL+C to quit)
 * 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
2023-11-04 03:37:04,323 - werkzeug - WARNING -  * Running on all addresses.
   WARNING: This is a development server. Do not use it in a production deployment.
2023-11-04 03:37:04,324 - werkzeug - INFO -  * Running on https://192.168.2.6:443/ (Press CTRL+C to quit)
2023-11-04 03:37:23,290 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:23] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:37:24,298 - services.stateFetch - INFO - start lights sync
2023-11-04 03:37:31,541 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:31] "GET / HTTP/1.1" 200 -
2023-11-04 03:37:31,559 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:31] "GET /manifest.json HTTP/1.1" 200 -
2023-11-04 03:37:31,618 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:31] "GET /static/js/main.488007ee.js HTTP/1.1" 200 -
2023-11-04 03:37:31,620 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:31] "GET /static/css/main.fb383ca3.css HTTP/1.1" 200 -
2023-11-04 03:37:31,637 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:31] "GET /static/media/background.db8a83c2c9e7ce4d1cc5.jpg HTTP/1.1" 200 -
2023-11-04 03:37:31,692 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:31] "GET /static/media/logo.bd3b4e90d91f778081476ad0d68050fe.svg HTTP/1.1" 200 -
2023-11-04 03:37:31,696 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:31] "GET /static/js/352.863805ec.chunk.js HTTP/1.1" 200 -
2023-11-04 03:37:31,727 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:31] "GET /get-key HTTP/1.1" 200 -
2023-11-04 03:37:31,740 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:31] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:37:33,171 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1699069053}}}]
2023-11-04 03:37:33,180 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-11-04 03:37:33,182 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:33] "PUT /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:37:35,299 - services.stateFetch - INFO - start lights sync
2023-11-04 03:37:36,749 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:36] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:37:41,030 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:41] "GET /static/js/922.5833cf60.chunk.js HTTP/1.1" 200 -
2023-11-04 03:37:41,031 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:41] "GET /static/css/625.d91a49a8.chunk.css HTTP/1.1" 200 -
2023-11-04 03:37:41,032 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:41] "GET /static/js/625.dd3f4387.chunk.js HTTP/1.1" 200 -
2023-11-04 03:37:41,045 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:41] "GET /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:37:41,047 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:41] "GET /api/717678cc7abd11ee979d0242ac150003/info/timezones HTTP/1.1" 200 -
2023-11-04 03:37:41,743 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:41] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:37:42,568 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:42] "GET /api/717678cc7abd11ee979d0242ac150003/info/timezones HTTP/1.1" 200 -
2023-11-04 03:37:42,571 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:42] "GET /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:37:46,749 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:46] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:37:48,300 - services.stateFetch - INFO - start lights sync
2023-11-04 03:37:51,751 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:51] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:37:56,753 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:37:56] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:37:58,132 - werkzeug - INFO - 192.168.2.54 - - [04/Nov/2023 03:37:58] "GET /api/config HTTP/1.1" 200 -
2023-11-04 03:38:01,748 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:01] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:38:02,701 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:02] "GET /api/717678cc7abd11ee979d0242ac150003/info/timezones HTTP/1.1" 200 -
2023-11-04 03:38:02,702 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:02] "GET /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:38:03,302 - services.stateFetch - INFO - start lights sync
2023-11-04 03:38:06,749 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:06] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:38:08,527 - services.ssdp - DEBUG - Sending M-Search response to 192.168.2.50
2023-11-04 03:38:09,626 - services.ssdp - DEBUG - Sending M-Search response to 192.168.2.50
2023-11-04 03:38:10,731 - services.ssdp - DEBUG - Sending M-Search response to 192.168.2.50
2023-11-04 03:38:11,753 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:11] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:38:11,838 - services.ssdp - DEBUG - Sending M-Search response to 192.168.2.50
2023-11-04 03:38:16,751 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:16] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:38:18,304 - services.stateFetch - INFO - start lights sync
2023-11-04 03:38:21,756 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:21] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:38:24,988 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1699069104}}}]
2023-11-04 03:38:25,010 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-11-04 03:38:25,013 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:25] "PUT /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:38:26,757 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:26] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 03:38:29,659 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1699069109}}}]
2023-11-04 03:38:29,666 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-11-04 03:38:29,668 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:29] "PUT /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:38:29,859 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1699069109}}}]
2023-11-04 03:38:29,867 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-11-04 03:38:29,868 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:29] "PUT /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:38:30,049 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1699069110}}}]
2023-11-04 03:38:30,057 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-11-04 03:38:30,059 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:30] "PUT /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:38:30,248 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1699069110}}}]
2023-11-04 03:38:30,256 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-11-04 03:38:30,257 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:30] "PUT /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:38:30,439 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1699069110}}}]
2023-11-04 03:38:30,447 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-11-04 03:38:30,449 - werkzeug - INFO - 192.168.2.50 - - [04/Nov/2023 03:38:30] "PUT /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 03:38:31,305 - services.stateFetch - INFO - start lights sync

Steps to reproduce

1) Install latest version of DiyHue through docker-compose with correct IP, MAC and debug enabled 2) In web interface under "Bridge" set latest "Software version" and enable discovery and remote api 3) Open Philips Hue app and search for bridge 4) When bridge is found, press button web interface->link button->Link App 5) Wait till Philips Hue app is paired <- this never happens

Please enter your operating system details here

Linux 5.15.61-v8+ aarch64

What DiyHue version(branch) are you using?

master (latest)

mariusmotea commented 8 months ago

Hi,

Please note that all requests are coming from your computer (192.168.2.50). The pair requests are POST and not GET so for some reasons the Hue app don't even try to pair. Maybe you replaced the certificate and need to wipe hue app data or reinstall (iPhone) because it detect a certificate change (man in middle attack).

vladimir-aubrecht commented 8 months ago

Hi, I see! I thought it does not matter from which device I am pressing the link button ... 😊 I tried to press it from the same device as Hue app is running on (192.168.2.54 which is my phone), but unfortunately it did not help ... 😕 You also mentioned that it's POST, not GET - could you please share how the correct request should look like?

I tried:

Thank you very much for your help! 😊

2023-11-04 12:58:31,414 - werkzeug - INFO - 192.168.2.54 - - [04/Nov/2023 12:58:31] "PUT /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 12:58:31,923 - services.stateFetch - INFO - start lights sync
2023-11-04 12:59:52,295 - werkzeug - INFO - 192.168.2.54 - - [04/Nov/2023 12:59:52] "GET /api/config HTTP/1.1" 200 -
2023-11-04 12:59:54,717 - werkzeug - INFO - 192.168.2.54 - - [04/Nov/2023 12:59:54] "GET /api/717678cc7abd11ee979d0242ac150003/groups/0 HTTP/1.1" 200 -
2023-11-04 12:59:55,851 - flaskUI.restful - DEBUG - [{'success': {'/config/linkbutton': {'lastlinkbuttonpushed': 1699102795}}}]
2023-11-04 12:59:55,859 - configManager.configHandler - DEBUG - Dump config file /opt/hue-emulator/config/config.yaml
2023-11-04 12:59:55,860 - werkzeug - INFO - 192.168.2.54 - - [04/Nov/2023 12:59:55] "PUT /api/717678cc7abd11ee979d0242ac150003/config HTTP/1.1" 200 -
2023-11-04 12:59:55,953 - services.stateFetch - INFO - start lights sync
mariusmotea commented 8 months ago

You are using iPhone or Android? Can you test also Hue Essentials to see there are no network issues? In the pair process the apps send a POST request every second and they are rejected every time until the link button is pressed. After the link button is pressed an username hash is returned and the app will start sending new requests using that username.

vladimir-aubrecht commented 8 months ago

I am using iPhone and I can confirm that Hue Essentials are getting connected with no issues.

If I understood correctly, logs are not showing any POST requests which are expected from the Hue app, so it seems either Hue app is not making requests or they are failing already on connection establishment. I tried to verify server certificate which is served and that one looks good to me assuming app did not start validating whole certificate chain...

Screenshot 2023-11-06 at 0 54 46
mariusmotea commented 7 months ago

A new commit to generate the certificare with faketime (as the original hue bridge) was made 2-3 months ago. If you use recent version and rename the cert.pem file a new certificate will be generated. After every certificate replacement the Hue app need to be reinstalled on iPhone because the certificate is cached to detect man in the middle attacks.

Update: this is the PR https://github.com/diyhue/diyHue/pull/932

joldenburgSOLITA commented 7 months ago

I have the exact same issue, did you ever resolve this @vladimir-aubrecht ? :)

vladimir-aubrecht commented 7 months ago

Thanks @mariusmotea! It worked 😊

@joldenburgSOLITA Just now 😊 Solution from @mariusmotea worked. It turned out docker image I had was version just before the fix, so I enforced downloading of new docker image (docker-compose rm && docker-compose pull), deleted cert.pem, deleted and re-downloaded hue app and everything started to work 😊

Maarten-s92 commented 5 months ago

Hi,

I'm runnig DIY Hue in home assistant. I reinstalled the app more then 5 times, and remade the config files a lot of times (deleted and restarted firts). But for the life of me I can't get the Hue app running or other apps. Can't see what is going wrong.

I'm a bit lost now. Anybody that can help?

mariusmotea commented 5 months ago

Can you see the logs of diyhue container? Are there any log lines added when you try to pair the Hue app? diyhue require ports 80 and 443 to be router to itself.

Maarten-s92 commented 5 months ago

Thanks for offering help!

I tried to connect and made logs of that moment.

Is this something you can work with?

024-01-18 07:11:41,746 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:11:41] "GET /description.xml HTTP/1.1" 200 - 2024-01-18 07:12:09,655 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:09] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 - 2024-01-18 07:12:10,856 - services.stateFetch - INFO - start lights sync 2024-01-18 07:12:15,816 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:15] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 - 2024-01-18 07:12:18,830 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:18] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 - 2024-01-18 07:12:21,806 - werkzeug - INFO - 192.168.1.66 - - [18/Jan/2024 07:12:21] "GET /api/config HTTP/1.1" 200 - 2024-01-18 07:12:23,873 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:23] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 - 2024-01-18 07:12:24,876 - services.stateFetch - INFO - start lights sync 2024-01-18 07:12:26,734 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:26] "PUT /api/d672f69888b311eea242b827eb3b61fb/config HTTP/1.1" 200 - 2024-01-18 07:12:28,831 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:28] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 - 2024-01-18 07:12:33,882 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:33] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 - 2024-01-18 07:12:35,890 - services.stateFetch - INFO - start lights sync 2024-01-18 07:12:38,882 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:38] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 - 2024-01-18 07:12:43,055 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:43] "PUT /api/d672f69888b311eea242b827eb3b61fb/config HTTP/1.1" 200 - 2024-01-18 07:12:43,829 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:43] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 - 2024-01-18 07:12:48,823 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:48] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 - 2024-01-18 07:12:49,908 - services.stateFetch - INFO - start lights sync 2024-01-18 07:12:53,830 - werkzeug - INFO - 192.168.1.75 - - [18/Jan/2024 07:12:53] "GET /api/d672f69888b311eea242b827eb3b61fb/groups/0 HTTP/1.1" 200 -

mariusmotea commented 5 months ago

In the pasted logs there are no request from the app you want to pair, there are just from the browser where you pressed the linkbutton. Maybe https service has not started because the certificate was not properly generated.

Maarten-s92 commented 5 months ago

I did a full rebuild again, this time I removed everything from the PI and it worked. Thankyou so much!

The only problem is now I can't get the lights to appear in DIY hue, but that the next thing to figure out!

nonamejuju commented 5 months ago

So you did a full new installation of home assistant to fix it ?

Maarten-s92 commented 5 months ago

In the past, I did a deinstall --> install --> remove the certificate, make new certificate.

Now I removed everything that resembled diy hue. Full clean install and it worked.

The only weird thing is that somehow I can't get the HA lights to propagate. Something that was not a problem in previous installs

joldenburgSOLITA commented 3 months ago

Thank you for your email. Due to my current work schedule, I am out of the project on Wednesdays and Fridays and unable to respond. I will address your message as soon as possible on my return. All the best, Jonatan Oldenburg, Solita Sweden.