From a3371c9f91a22603ae5a6ec6a54a964fb78a4df6 Mon Sep 17 00:00:00 2001 From: patst Date: Wed, 27 May 2020 07:00:27 +0200 Subject: [PATCH] Locate the bridge using discovery.meethue.com --- bridge.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge.go b/bridge.go index 8398058..ff70be7 100644 --- a/bridge.go +++ b/bridge.go @@ -153,8 +153,8 @@ func HandleResponse(resp *http.Response) ([]byte, io.Reader, error) { // FindBridges will visit www.meethue.com/api/nupnp to see a list of // bridges on the local network. func FindBridges() ([]Bridge, error) { - bridge := Bridge{IPAddress: "www.meethue.com"} - body, _, err := bridge.Get("/api/nupnp") + bridge := Bridge{IPAddress: "discovery.meethue.com"} + body, _, err := bridge.Get("/") if err != nil { err = errors.New("unable to locate bridge") return []Bridge{}, err