michielpost / Q42.HueApi

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

Event OnEventStreamMessage not giving all information about changes (API v2) #277

Closed getsolved closed 1 year ago

getsolved commented 2 years ago

When recalling a scene with 4 lights for a room using the Hue App, the event OnEventStreamMessage of API v2 fires once passing 1 light and the on state only. No event giving the color for this light and no events for all other lights are fired. Is it caused by the API capabilities in the bridge or by the classes in your code?

michielpost commented 2 years ago

If you download the source code, you can try the included HueApi.ConsoleSample It listens to all events and outputs them in the console. Not all data is mapped to classes and properties. The data you are looking for might be in Data.ExtensionData.

You can use Fiddler to see what the Hue Bridge is returning.