Vacation mode questions

  • 86 Views
  • Last Post 22 March 2014
Ralf posted this 16 March 2014

Hi. I have a few queries relating to the steps for setting up a vacation scene as described here:
http://store.incontrolzwave.com/boards/topic/174/vacation-mode-random-lights-with-scene-triggers-conditions

I have 3 lights included in my scene. At first none of them activated after toggling my "mode: vacation" virtual device. Is this supposed to be the only trigger? I added a time trigger of 30 secs as a test and now the scene works ok.

The next observation I've made is that of the 3 lights included, only the first 2 ever turn on or off. If I change the order of the lights, the 3rd one is still never enabled.

My last query is how do I group 2 or more lights together so that more than just a single light is turned on or off randomly.

Thanks.

Order By: Standard | Newest | Votes
Ryan-Scott posted this 19 March 2014

Hi. I have a few queries relating to the steps for setting up a vacation scene as described here:
http://store.incontrolzwave.com/boards/topic/174/vacation-mode-random-lights-with-scene-triggers-conditions

I have 3 lights included in my scene. At first none of them activated after toggling my "mode: vacation" virtual device. Is this supposed to be the only trigger? I added a time trigger of 30 secs as a test and now the scene works ok.

The next observation I've made is that of the 3 lights included, only the first 2 ever turn on or off. If I change the order of the lights, the 3rd one is still never enabled.

My last query is how do I group 2 or more lights together so that more than just a single light is turned on or off randomly.

Thanks.


The code has been updated for that script - please see here to make sure you have the latest version of it: https://github.com/rscott78/InControl-Scripts/blob/master/TurnOnOffRandomSceneLight.cs

Also, I'm not sure if it's mentioned, but you need to click on the "gear" icon for each light in your scene and make sure its being set to "no change" so that the scene execution doesn't actually attempt to change your light when its executed.

For your trigger, have it triggering every X seconds/minutes. Use your virtual device as a condition to prevent it from executing the scene at the triggered intervals if your virtual device isn't turned on.

Ralf posted this 22 March 2014

Thanks Ryan.

What is this new "dm" object? dm.setPower() works but dm.setLevel() does not. I had to resort to setDeviceLevel() for dimming.

Also, how do I call another scene from a script?

Thanks.

Close