Added support for Philips' Remote API.
A lot of work has gone in to the process of being able to use the Remote API. Unfortunately it is designed to use Oauth authentication.
The limitations of the implementation mean that it's necessary to register an application with Philips, it be approved and then you're assigned an application ID and a secret. It's this secret that causes a problem since it's not secret if it's sitting in plain text in a PowerShell module's resources and used to produce access tokens.
As a result I've had to extend on to the web as minimally as was possible and created a "web application" that allows me to request authorisation from users to generate an access token that can be used with the Philips Hue Remote API. Once users have gone through the process, they can use the access token to control their lights, groups and sensors with the module.
I didn't want to create a web application for the token generation but the use of the secret which is required to generate an access token has forced my hand.
Added support for Philips' Remote API. A lot of work has gone in to the process of being able to use the Remote API. Unfortunately it is designed to use Oauth authentication. The limitations of the implementation mean that it's necessary to register an application with Philips, it be approved and then you're assigned an application ID and a secret. It's this secret that causes a problem since it's not secret if it's sitting in plain text in a PowerShell module's resources and used to produce access tokens. As a result I've had to extend on to the web as minimally as was possible and created a "web application" that allows me to request authorisation from users to generate an access token that can be used with the Philips Hue Remote API. Once users have gone through the process, they can use the access token to control their lights, groups and sensors with the module. I didn't want to create a web application for the token generation but the use of the secret which is required to generate an access token has forced my hand.