Q42.HueApi icon indicating copy to clipboard operation
Q42.HueApi copied to clipboard

404 Error in eventstream for the RemoteHueApi on Clip V2

Open AsbjornKrogh opened this issue 3 years ago • 1 comments

When I run the HueApi.ConsoleSample for the Eventstream localy it works completly fine.

But when I change the LocaleHueAPI to a RemoteHueAPI I will get a "404 not found" error in the httpclient. I have checked my appKey and Token for the RemoteHueAPI, by succesfully turning on my light.

Any suggestions on how to solve my problem?

AsbjornKrogh avatar Sep 07 '22 14:09 AsbjornKrogh

I think that API is not available in the Remote API. It's not part of the official API specs from Hue: https://developers.meethue.com/develop/hue-api-v2/api-reference/#resource

Not sure if Hue ever published official docs about this API.

I will remove if from the RemoteHueApi in a next release.

michielpost avatar Sep 08 '22 08:09 michielpost

FYI: Philips Hue has informed us that the remote Hue API will have the event stream

Quete "Event stream is currently not yet released on the remote API."

  • Last line on page: https://developers.meethue.com/develop/hue-api-v2/migration-guide-to-the-new-hue-api/

AsbjornKrogh avatar Sep 23 '22 08:09 AsbjornKrogh

Cool thanks, good to know! I'll close this issue now. When the API is added to the remote API, I will add it to the library.

michielpost avatar Sep 23 '22 08:09 michielpost

Perfect - Thanks!

And thanks for an amazing SDK!

AsbjornKrogh avatar Sep 23 '22 08:09 AsbjornKrogh