michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
411 stars 114 forks source link

HttpBridgeLocator URL Update #151

Closed mgpreston closed 6 years ago

mgpreston commented 6 years ago

Thanks for the great library!

According to https://www.developers.meethue.com, the URL of the HTTP bridge locator service has changed, and should now point to https://discovery.meethue.com:

Bridge Discovery Endpoint Change

Effective July 1 (nupnp) bridge discovery is supported by a new endpoint, which is https://discovery.meethue.com. The old endpoint  www.meethue.com/api/nupnp  has been deprecated but remains available until further notice. We had to change to the new endpoint such that we can guarantee a high reliability with the increased amount of traffic we are getting. There are no other differences besides the url. If you experience issues, please let us know

As an aside, it seems SSDPBridgeLocator has a Thread.Sleep in the LocateBridgesAsync method, which would probably be better as await Task.Delay.

michielpost commented 6 years ago

Thanks. Updated and will be in the next release.