Open Exergist opened 4 months ago
The StreamingClientKey should only be used with the StreamingHueClient.
For normal usage, use:
var key = registrationResult.Username;
Thank you for your help! I have a couple more questions if you don't mind:
Thanks again!
Another question. After running GetLightsAsync()
I output information for each of my lights/plugs.
Though I found that only some of the Light
properties actually have content. Is that expected? I can see things like Software Version
for each light when looking at the Hue app.
Most values are optional and are not always returned, or only for some specific bridge resources. You can always check the API documentation here: https://developers.meethue.com/develop/hue-api-v2/api-reference/ And use Fiddler (https://www.telerik.com/download/fiddler) to check the actual returned json from the bridge. If there is data returned from the bridge and visible in Fiddler which is not accessible through the HueApi library, please let me know and I can add new properties or you can create a PR to add them.
Hey Michiel I'm trying to migrate to the newer HueApi content and I'm running into an issue.
My bridge is found without issue. After pressing the 'Link' button on the bridge, a key (which is 32 alphanumeric characters) is generated. Any idea what I'm doing wrong?
Here are the error message details: