linuxlurak
(Linuxlurak)
November 6, 2017, 8:11pm
1
If your network houses a philips hue bridge and you protect your network with a firewall (eg ipfire or you have installed a device to protect your privacy (eg PI-Hole ) you will detect an enormous amount of attempted connections to “www.ecdinterface.philips.com ”.
Over 48 hours the domain mentioned was contacted over 18k times:
That’s nonsense if you block your bridge anyways. For a specific update you can reverse everything and allow your device once. Then mute it again.
To disable those connection attempts do this:
Get your phue user name with cat phue.conf
phue.conf is found in your .homeassistant directory.
This will output something like this:
{“192.168.10.XXX”: {“username”: “00000000000000000000000000000000”}}
Then send this PUT HTTP Request to your bridge’s API:
curl -H "Accept: application/json" -X PUT --data '{"portalservices":false}' http://192.168.10.5/api/USERNAME/config
Replace USERNAME with the retrieved username of phue.conf without quotation marks.
Be aware that you stop receiving updates.
Side note: If you use hue’s portal services you agree its terms and conditions and its privacy policy .
Sources:
1 Like
namadori
(Namadori)
November 6, 2017, 8:55pm
2
Thanks for the tip. To revert the behavior is as simple as using “true” instead of “false”?
For Windows and MacOS users, curl is available at https://curl.haxx.se/download.html
linuxlurak
(Linuxlurak)
November 7, 2017, 6:45am
3
@namadori : Yes, to activate just send a PUT request with payload '{"portalservices":true}'
.
hijinx
(James)
November 7, 2017, 7:05am
4
I’m pretty sure you could wrap this with a switch in ha using automation and command line call.
linuxlurak
(Linuxlurak)
November 7, 2017, 7:39am
5
Indeed, good idea! Or even implement an option in the component’s configuration
From Windows, this worked for me:
curl -d {\"portalservices\":false} -H "Content-Type: application/json" -X PUT http://192.168.1.2/api/USERNAME/config
taikapanu
(Juha Panu)
April 7, 2018, 6:02am
8
Or use the built in tool
http://hue ip/debug/clip.html
1 Like
pbomert
(Paul)
August 31, 2019, 1:50pm
9
I’ve set portalservices to false, but still get a ton of dns queries to www.ecdinterface.philips.com
Anyone an idea why? Did something change in the new hue software version?
mkimitch
(Mark Kimitch)
December 3, 2020, 3:33pm
10
I feel like it’d just be easier to set up a Pi-hole on your home network.
@mkimitch You missed the whole point of the post. And the OP clearly shows he has a pihole