diyhue / diyHue

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

Link APP Not Working #902

Open milandzuris opened 1 year ago

milandzuris commented 1 year ago

Issue does not already exist?

No, I did not search

Select Environment

Docker

Home Assistant related?

Yes

Description

Link App not working for Android App for Hue HA Integration working

Errorlog:

2023-03-30 21:27:52,163 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:27:52] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:27:52,205 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:27:52] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:27:52,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:27:52] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:27:57,173 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:27:57] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:27:57,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:27:57] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:27:57,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:27:57] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:27:58,990 - services.stateFetch - INFO - start lights sync 2023-03-30 21:28:01,903 - werkzeug - INFO - 192.168.0.200 - - [30/Mar/2023 21:28:01] "GET /description.xml HTTP/1.1" 200 - 2023-03-30 21:28:01,906 - werkzeug - INFO - 192.168.0.200 - - [30/Mar/2023 21:28:01] "GET /description.xml HTTP/1.1" 200 - 2023-03-30 21:28:02,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:02] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:02,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:02] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:02,326 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:02] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:02,609 - werkzeug - INFO - 192.168.0.200 - - [30/Mar/2023 21:28:02] "GET /description.xml HTTP/1.1" 200 - 2023-03-30 21:28:02,612 - werkzeug - INFO - 192.168.0.200 - - [30/Mar/2023 21:28:02] "GET /description.xml HTTP/1.1" 200 - 2023-03-30 21:28:07,164 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:07] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:07,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:07] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:07,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:07] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:12,198 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:12] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:12,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:12] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:12,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:12] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:14,006 - services.stateFetch - INFO - start lights sync 2023-03-30 21:28:17,163 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:17] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:17,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:17] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:17,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:17] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:22,160 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:22] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:22,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:22] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:22,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:22] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:27,156 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:27] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:27,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:27] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:27,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:27] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:29,018 - services.stateFetch - INFO - start lights sync 2023-03-30 21:28:32,196 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:32] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:32,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:32] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:32,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:32] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:37,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:37] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:37,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:37] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:39,511 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:39] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:41,027 - services.stateFetch - INFO - start lights sync 2023-03-30 21:28:42,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:42] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:42,210 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:42] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:42,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:42] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:47,158 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:47] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:47,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:47] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:47,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:47] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:52,163 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:52] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:28:52,204 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:52] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:52,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:52] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:54,040 - services.stateFetch - INFO - start lights sync 2023-03-30 21:28:57,204 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:57] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:28:57,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:28:57] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:28:58,896 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:28:58] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:02,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:02] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:02,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:02] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:02,495 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:02] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:07,178 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:07] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:07,204 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:07] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:07,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:07] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:09,055 - services.stateFetch - INFO - start lights sync 2023-03-30 21:29:12,194 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:12] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:12,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:12] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:12,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:12] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:17,166 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:17] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:17,204 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:17] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:17,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:17] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:22,159 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:22] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:22,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:22] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:22,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:22] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:24,071 - services.stateFetch - INFO - start lights sync 2023-03-30 21:29:27,171 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:27] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:27,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:27] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:27,260 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:27] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:32,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:32] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:32,228 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:32] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:32,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:32] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:37,196 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:37] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:37,202 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:37] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:37,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:37] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:39,079 - services.stateFetch - INFO - start lights sync 2023-03-30 21:29:42,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:42] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:42,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:42] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:42,263 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:42] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:47,160 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:47] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:47,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:47] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:47,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:47] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:52,178 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:52] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:29:52,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:52] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:52,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:52] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:54,095 - services.stateFetch - INFO - start lights sync 2023-03-30 21:29:57,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:57] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:29:57,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:29:57] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:29:57,298 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:29:57] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:30:02,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:30:02] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:30:02,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:30:02] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:30:02,365 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:30:02] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:30:07,203 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:30:07] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:30:07,259 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:30:07] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 - 2023-03-30 21:30:08,816 - werkzeug - INFO - 192.168.0.4 - - [30/Mar/2023 21:30:08] "GET /api/467e675acf2e11ed8b478ec1064d2cd7/groups/0 HTTP/1.1" 200 - 2023-03-30 21:30:09,112 - services.stateFetch - INFO - start lights sync 2023-03-30 21:30:12,202 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:30:12] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/lights HTTP/1.1" 200 - 2023-03-30 21:30:12,258 - werkzeug - INFO - 192.168.0.37 - - [30/Mar/2023 21:30:12] "GET /api/5a20aea6cf3011edb4178ec1064d2cd7/sensors HTTP/1.1" 200 -

Steps to reproduce

Restart

Please enter your operating system details here

*

What DiyHue version(branch) are you using?

master (latest)

Mevel commented 1 year ago

Did you enter the CORRECT Mac in the settings tab before starting the diyhue addon?

The Mac is crucial for generating a valid certificate. Especially for the hue app.

You can try hue essentials as this app is developed in close coordination with the dev.

I suggest unistalling the addon, reinstall, don't start!, edit the Mac Adress, start the addon.

Does that work?

milandzuris commented 1 year ago

Did you enter the CORRECT Mac in the settings tab before starting the diyhue addon?

The Mac is crucial for generating a valid certificate. Especially for the hue app.

You can try hue essentials as this app is developed in close coordination with the dev.

I suggest unistalling the addon, reinstall, don't start!, edit the Mac Adress, start the addon.

Does that work?

Nothing make image

milandzuris commented 1 year ago

image

mariusmotea commented 1 year ago

In the logs there is no pair request, so you may have a bad certificate or the app refuse to pair because you reinstaled the app with a fresh certificate. Can you access the web interface on https ?