michielpost / Q42.HueApi

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

Error converting value "readytoinstall" to type 'Q42.HueApi.SoftwareUpdateState' #125

Closed niels9001 closed 6 years ago

niels9001 commented 6 years ago

image

Seems that swupdate2 has some new state types.

https://developers.meethue.com/documentation/software-update

michielpost commented 6 years ago

The value readytoinstall is not documented anywhere? The possible values of swupdate2.bridge.state are not documented at all. I've assumed they were the same as swupdate.state values.

https://developers.meethue.com/documentation/configuration-api#72_get_configuration

I can add the value readytoinstall for now.

niels9001 commented 6 years ago

I think they are listed on a different page (for some reason...)

https://developers.meethue.com/documentation/software-update

SwUpdate2 states:

image

The deprecated (but still relevant for Bridge V1 users, they will not update to 1.19 or higher) SwUpdate1 states are still the same:

image

niels9001 commented 6 years ago

Oh wait - you're right. 'readytoinstall' is not listed anywhere..

I'll check with the Hue team.

niels9001 commented 6 years ago

@michielpost is the above fix also part of the latest NuGet package?

niels9001 commented 6 years ago

https://developers.meethue.com/documentation/software-update

Developer documentation has been updated with the correct states.

michielpost commented 6 years ago

Thanks, added an additional value and updated the NuGet package to 3.5.1