exking / udi-hue-poly

Hue interface Poly for Polyglot v2
MIT License
2 stars 0 forks source link

https://meethue.com/api/nupnp no longer works #5

Closed spedinfargo closed 4 years ago

spedinfargo commented 4 years ago

https://meethue.com/api/nupnp has been deprecated for a while. Should update to https://discovery.meethue.com/ now? Not sure if the API changed what the result looks like, but I get 404 now on the old one...

spedinfargo commented 4 years ago

Just a note that I edited phue.py on my Polyglot and changed the following:

    connection = httplib.HTTPSConnection('www.meethue.com')
    connection.request('GET', '/api/nupnp')

    LOGGER.info('Connecting to meethue.com/api/nupnp')

To this:

    connection = httplib.HTTPSConnection('discovery.meethue.com')
    connection.request('GET', '/')

    LOGGER.info('Connecting to discovery.meethue.com')

Things worked great after that!