From 86ebdbd86317fbf93e91e679b49187cb33b0f99f Mon Sep 17 00:00:00 2001 From: Manuel Morales Date: Sun, 7 Jun 2020 11:07:25 +0200 Subject: [PATCH] Fixes #39: by updating deprecated discovery URL As described here: https://developers.meethue.com/news/, www.meethue.com/api/nupnp has been deprecated in favor of https://discovery.meethue.com and stopped working on the 1st of July 2019. --- luminance/views/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luminance/views/setup.py b/luminance/views/setup.py index 40c6df8..b2f7a69 100644 --- a/luminance/views/setup.py +++ b/luminance/views/setup.py @@ -147,7 +147,7 @@ def make_bridge_row(bridge): def search(self, cb): try: - data = requests.get('https://www.meethue.com/api/nupnp').json() + data = requests.get('https://discovery.meethue.com/').json() if not data: raise ValueError('No bridges registered with Philips')