michielpost / Q42.HueApi

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

Entertainment Api Light Bulb always turned off #164

Closed KristinnVikarJ closed 5 years ago

KristinnVikarJ commented 5 years ago

I'm Trying to implement the Entertainment API into my program but everytime It connects the bulb just turns off completely meaning I cannot interact with it, the code i use to connect is just a copy paste of the sample 'StreamingSetup.cs' and to change the light I copy pasted the code from 'HueStreaming.cs'

Do I need to configure something special or am I doing something wrong?

michielpost commented 5 years ago

The default state is off, so it probably means your connection to the bridge is ok. After creating the connection, create an EffectLayer (baselayer) and apply some effects on that layer, like SetRandomColor or FlashQuick.