peter-murray / node-hue-api

Node.js Library for interacting with the Philips Hue Bridge and Lights
Apache License 2.0
1.19k stars 145 forks source link

alert() does not work (nothing happens, api says true) #43

Closed neophob closed 9 years ago

neophob commented 9 years ago

using api v1.0.2, if I use api.setLightState(1, lightState.create().alert()); or return api.setGroupLightState(0, lightState.create().alert());nothing happens.

Edit: However lightState.create().longAlert()does work!

peter-murray commented 9 years ago

The documentation in the README is wrong, it is still detailing the old way the the LightState object worked.

In the new LightState, alert() will map to the under lying Bridge API payload of {"alert": "none"} now.