michielpost / Q42.HueApi

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

Swupdate2 - new way for software updating with API version 1.20 #116

Closed niels9001 closed 7 years ago

niels9001 commented 7 years ago

Looks like there are quite some changes to do the configuration API: swupdate2 has been added.

https://developers.meethue.com/documentation/configuration-api

Changelog: https://www.developers.meethue.com/documentation/changelog

niels9001 commented 7 years ago

Nice! What is the best practice - check if API version is 1.19 or lower and use the 'obsolete' way, else use the new attributes?

michielpost commented 7 years ago

Yes, normally I would remove the obsolte properties. But in this case they can be useful for old bridges to update to the latest version. I'll remove them at some point in the future.

niels9001 commented 7 years ago

Just an update. I read on the Hue API forums that the Gen1 bridge will stay at API version 1.16. It might make sense to keep the older properties so we can still use older API calls for the first gen Bridge.

Hi,

Thanks for the note and documentation is updated. Gen1 remains at 1.16 due to its limited bridge resources and Gen2 will continue to receive latest updates.

Hue Developer Support - Walter

michielpost commented 7 years ago

Version 3.5.0 with these changes is now on NuGet