matthutchinson / lifx_dash

Toggle LIFX lights with an Amazon Dash button 💡
https://matthutchinson.github.io/lifx_dash/
MIT License
3 stars 1 forks source link

Activate LIFX Scene on press (toggle ON) #2

Open matthutchinson opened 8 years ago

matthutchinson commented 8 years ago

So right now we use the LIFX API toggle endpoint, which takes a ‘selector’ to identify which bulb(s) to toggle;

https://api.developer.lifx.com/docs/toggle-power

We could also use the activate scene endpoint in a future release (perhaps with another argument). To allow button presses to set a scene when turning on.