Closed Charmandrigo closed 3 months ago
Hi, did you login to a philips account and then search for a bridge? If so that does not work, diyhue can not work with philips cloud services, you must setup diyhue without a acount.
Hi, did you login to a philips account and then search for a bridge? If so that does not work, diyhue can not work with philips cloud services, you must setup diyhue without a acount.
Alright, that seems to have worked. but using a hue like this without an account would still allow me to use lights connected to the emulated bridge with a sync box?
Some people say a syncbox works and others say it does not work. I dont have a sync box so I can not test this. Searsh in the issues for sync box and you find some issues discussing the sync box.
Issue does not already exist?
I have searched and found no existing issue
Select Environment
Install Script
Home Assistant related?
Yes
Description
I made a fresh install of the diyhue bridge from home assistant, followed the instructions, placing the mac before starting, even deleting the certificate and starting over again. all I get from the official app is this
I have tried everything so far and the app only works on 3rd party apps like hue essentials. Log from the home assistant addon:
2024-09-02 21:42:47,795 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:42:47] "GET /api/2b596558672411efb826dca632485c5e/groups/0 HTTP/1.1" 200 - 2024-09-02 21:42:51,496 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:42:51] "GET /api/2b596558672411efb826dca632485c5e/config/swupdate2 HTTP/1.1" 200 - 2024-09-02 21:42:52,415 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:42:52] "GET /api/config HTTP/1.1" 200 - 2024-09-02 21:42:52,484 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:42:52,487 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:42:52] "POST /api HTTP/1.1" 200 - 2024-09-02 21:42:53,502 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:42:53,506 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:42:53] "POST /api HTTP/1.1" 200 - 2024-09-02 21:42:53,664 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:42:53] "GET /api/2b596558672411efb826dca632485c5e/groups/0 HTTP/1.1" 200 - 2024-09-02 21:42:54,520 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:42:54,523 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:42:54] "POST /api HTTP/1.1" 200 - 2024-09-02 21:42:55,113 - services.stateFetch - 12 - INFO - start lights sync 2024-09-02 21:42:55,537 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:42:55,541 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:42:55] "POST /api HTTP/1.1" 200 - 2024-09-02 21:42:56,506 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:42:56] "GET /api/2b596558672411efb826dca632485c5e/config/swupdate2 HTTP/1.1" 200 - 2024-09-02 21:42:56,558 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:42:56,562 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:42:56] "POST /api HTTP/1.1" 200 - 2024-09-02 21:42:57,579 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:42:57,583 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:42:57] "POST /api HTTP/1.1" 200 - 2024-09-02 21:42:58,603 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:42:58,606 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:42:58] "POST /api HTTP/1.1" 200 - 2024-09-02 21:42:58,665 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:42:58] "GET /api/2b596558672411efb826dca632485c5e/groups/0 HTTP/1.1" 200 - 2024-09-02 21:42:59,626 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:42:59,630 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:42:59] "POST /api HTTP/1.1" 200 - 2024-09-02 21:43:00,648 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:43:00,652 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:00] "POST /api HTTP/1.1" 200 - 2024-09-02 21:43:01,503 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:01] "GET /api/2b596558672411efb826dca632485c5e/config/swupdate2 HTTP/1.1" 200 - 2024-09-02 21:43:01,666 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:43:01,670 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:01] "POST /api HTTP/1.1" 200 - 2024-09-02 21:43:02,687 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:43:02,689 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:02] "POST /api HTTP/1.1" 200 - 2024-09-02 21:43:03,511 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:03] "GET /api/2b596558672411efb826dca632485c5e/config HTTP/1.1" 200 - 2024-09-02 21:43:03,599 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:03] "PUT /api/2b596558672411efb826dca632485c5e/config HTTP/1.1" 200 - 2024-09-02 21:43:03,657 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:03] "GET /api/2b596558672411efb826dca632485c5e/groups/0 HTTP/1.1" 200 - 2024-09-02 21:43:03,710 - flaskUI.restful - 78 - INFO - {'devicetype': 'Hue#iPhone', 'generateclientkey': True} 2024-09-02 21:43:03,833 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:03] "POST /api HTTP/1.1" 200 - 2024-09-02 21:43:03,885 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:03] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:03,899 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:03] "GET /eventstream/clip/v2 HTTP/1.1" 200 - 2024-09-02 21:43:03,970 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:03] "PUT /api/3df7456e699e11ef8269dca632485c5e/config HTTP/1.1" 200 - x: 0 2024-09-02 21:43:04,067 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:04] "GET /clip/v2/resource HTTP/1.1" 200 - 2024-09-02 21:43:04,163 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:04] "GET /api/3df7456e699e11ef8269dca632485c5e/capabilities HTTP/1.1" 200 - 2024-09-02 21:43:04,260 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:04] "GET /api/3df7456e699e11ef8269dca632485c5e/config HTTP/1.1" 200 - 2024-09-02 21:43:04,361 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:04] "GET /api/3df7456e699e11ef8269dca632485c5e/config HTTP/1.1" 200 - 2024-09-02 21:43:04,899 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:04] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:05,914 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:05] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:06,133 - services.stateFetch - 12 - INFO - start lights sync 2024-09-02 21:43:06,499 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:06] "GET /api/2b596558672411efb826dca632485c5e/config/swupdate2 HTTP/1.1" 200 - 2024-09-02 21:43:06,929 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:06] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:07,944 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:07] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:08,669 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:08] "GET /api/2b596558672411efb826dca632485c5e/groups/0 HTTP/1.1" 200 - 2024-09-02 21:43:08,959 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:08] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:09,980 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:09] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:11,000 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:11] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:11,507 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:11] "GET /api/2b596558672411efb826dca632485c5e/config/swupdate2 HTTP/1.1" 200 - 2024-09-02 21:43:12,030 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:12] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:13,044 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:13] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:13,672 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:13] "GET /api/2b596558672411efb826dca632485c5e/groups/0 HTTP/1.1" 200 - 2024-09-02 21:43:14,064 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:14] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:15,087 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:15] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:16,104 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:16] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:16,513 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:16] "GET /api/2b596558672411efb826dca632485c5e/config/swupdate2 HTTP/1.1" 200 - 2024-09-02 21:43:17,119 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:17] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:17,147 - services.stateFetch - 12 - INFO - start lights sync 2024-09-02 21:43:18,144 - werkzeug - 225 - INFO - 192.168.31.100 - - [02/Sep/2024 21:43:18] "GET /clip/v2/resource/bridge HTTP/1.1" 200 - 2024-09-02 21:43:18,679 - werkzeug - 225 - INFO - 192.168.31.170 - - [02/Sep/2024 21:43:18] "GET /api/2b596558672411efb826dca632485c5e/groups/0 HTTP/1.1" 200 -
Https certificate verification: `~ curl https://127.0.0.1/api/nouser/config -v -k
Even tried the connection on a second iphone that had no hue app installed prior, still got the same issue. It's possible to temporally bypass that error message by stopping the diyhue addon and returning to homepage, a button that is visible when I have another official Hue Bridge connected on my app. That bypass only works for a day before the app logs off and ask to log in again, get the same "hue bridge not detected" error
Errorlog:
''
Steps to reproduce
1) Install home assistant addon. 2) follow Mac address instructions and start the addon 3) attempt to connect the emulated bridge to the official hue app
Please enter your operating system details here
Hue-Emulator Version: 2024-08-30 17:05:48.000000000 WebUI Version: 2024-08-30 17:06:00.000000000 Architecture: aarch64 OS: Linux Linux version: #1 SMP PREEMPT Tue Aug 13 16:06:22 UTC 2024 Linux release: 6.6.31-haos-raspi Hardware: %Hardware%
Upload debug tar
config_debug.zip
What DiyHue version(branch) are you using?
master (latest)