mariusmotea / diyHue

Philips Hue emulator that is able to control multiple types of lights
Other
627 stars 107 forks source link

Philips TV does not find diyHue #476

Closed Baconqueror closed 5 years ago

Baconqueror commented 5 years ago

I am trying to add diyHue to the Ambilight+Hue configuration on my Philips 49PUS7272 running Android TV 7. While the TV finds my original Hue bridge fine, it does not show the emulated one.

Running in debug mode, shows that there is a request coming from the TV (10.10.0.111), but the emulated bridge never appears.

root@ha:/opt/hue-emulator# ./HueEmulator3.py --debug true Debug Enabled 2018-12-29 17:57:30,381 - root - INFO - 000c296e9960 2018-12-29 17:57:30,382 - root - INFO - Config loaded 2018-12-29 17:57:30,384 - root - INFO - sync with lights 2018-12-29 17:57:30,388 - root - INFO - Starting httpd... 2018-12-29 17:57:30,389 - root - INFO - Starting ssl httpd... 10.10.0.111 - - [29/Dec/2018 17:57:40] "GET /description.xml HTTP/1.1" 200 - 10.10.0.111 - - [29/Dec/2018 17:58:05] "GET /description.xml HTTP/1.1" 200 - 10.10.0.83 - - [29/Dec/2018 17:58:50] "GET /hue/linkbutton?username=Hue&password=Hue&action=Activate HTTP/1.1" 200 - 10.10.0.111 - - [29/Dec/2018 17:58:55] "GET /description.xml HTTP/1.1" 200 - 10.10.0.111 - - [29/Dec/2018 18:00:59] "GET /description.xml HTTP/1.1" 200 - 10.10.0.83 - - [29/Dec/2018 18:03:11] "GET /hue/linkbutton HTTP/1.1" 200 - 10.10.0.83 - - [29/Dec/2018 18:03:25] "GET /hue/linkbutton?username=Hue&password=Hue&action=Activate HTTP/1.1" 200 - 10.10.0.111 - - [29/Dec/2018 18:03:37] "GET /description.xml HTTP/1.1" 200 - 10.10.0.111 - - [29/Dec/2018 18:04:42] "GET /description.xml HTTP/1.1" 200 -

Using nginx as mentioned in #321 has also been tried, with the same result.

mariusmotea commented 5 years ago

I don't see the request for configuration, hope you don't use multiple subnets. Is the ip from description.xml in 10.10.0.x subnet?

Baconqueror commented 5 years ago

One single subnet, all devices are in the 10.10.0.x subnet.

mariusmotea commented 5 years ago

Can you ban the tv to not access the internet from firewall? Maybe he use remote api and this will force lan detection only.

Baconqueror commented 5 years ago

Yes, that did the trick :) Thank you very much for the help.