Closed hansmbakker closed 9 years ago
It was a mistake in the refactoring on my part, the scene id was not being sent in the body of the request. Release 1.0.5
has just been published to correct this.
If you set the NODE_DEBUG
environment variable to include the string hue-api
then it will show you the commands being sent to the bridge on the console, which can assist you if you run into any further issues.
Aah, I understand. Thank you for repairing it this quick :+1:
I'm trying to store and recall scenes. The scenes are created with the correct lamp selection on the bridge, but when I call api.activateScene using the scene id, the lamps do not respond.
Unfortunately I cannot verify the light states that are stored for each scene, only the lamp set that makes up the scene.
This is my code. It shows each scene once (because the first time the light states are set separately using setLightState instead of using the scene mechanism). After that the scenes mechanism (api.createScene, api.activateScene) should take over, but the lamps do not change according to the called scenes.
index.js:
scenes.json: