Conditions - and / or?

  • 65 Views
  • Last Post 14 September 2014
weidnerj posted this 10 September 2014

I am trying to create a scene where if it is dark out that once the front door (entry control) is unlocked, it turns on the living room light, but only if unlocked from the outside. On the outside, I have motion control so I have that covered.

The problem is that conditions are "or" and not an option for "and" Where if the time is during dusk to dawn AND the motion sensor is tripped, then = true and turn the light on. So either motion or dusk to dawn (and the door unlocking) will turn the light on.

Any ideas or suggestions or pointers?


Order By: Standard | Newest | Votes
monkey-magic posted this 11 September 2014

Wouldn't they just be conditions?

eg:
Device door unlocks
Conditions;
dusk to dawn
motion outside.

Josh

Ryan-Scott posted this 11 September 2014

I am trying to create a scene where if it is dark out that once the front door (entry control) is unlocked, it turns on the living room light, but only if unlocked from the outside. On the outside, I have motion control so I have that covered.

The problem is that conditions are "or" and not an option for "and" Where if the time is during dusk to dawn AND the motion sensor is tripped, then = true and turn the light on. So either motion or dusk to dawn (and the door unlocking) will turn the light on.

Any ideas or suggestions or pointers?




Conditions are "and" while "triggers" are or.

In other words, if you have multiple triggers -- i.e., a motion sensor and a time trigger, then either one of them will trigger the scene. Once a scene has been triggered, your conditions are analysed and all of them have to be true for it to execute the scene and turn lights on/off, etc.

weidnerj posted this 11 September 2014

I am trying to create a scene where if it is dark out that once the front door (entry control) is unlocked, it turns on the living room light, but only if unlocked from the outside. On the outside, I have motion control so I have that covered.

The problem is that conditions are "or" and not an option for "and" Where if the time is during dusk to dawn AND the motion sensor is tripped, then = true and turn the light on. So either motion or dusk to dawn (and the door unlocking) will turn the light on.

Any ideas or suggestions or pointers?




Conditions are "and" while "triggers" are or.

In other words, if you have multiple triggers -- i.e., a motion sensor and a time trigger, then either one of them will trigger the scene. Once a scene has been triggered, your conditions are analysed and all of them have to be true for it to execute the scene and turn lights on/off, etc.



Ryan,

Any way or workaround to get a both conditions to be true before activating? I have another scene where that is actually benefitial to be to be an "or", but in this case I need an "and". Need both criterias to be met before activating in this situation. Or is that something that might be part of a future release?

Ryan-Scott posted this 12 September 2014


Ryan,

Any way or workaround to get a both conditions to be true before activating? I have another scene where that is actually benefitial to be to be an "or", but in this case I need an "and". Need both criterias to be met before activating in this situation. Or is that something that might be part of a future release?


Conditions are already "and" or they won't activate... if you are seeing otherwise, it's either a bug or something misconfigured in your scene. Can you send me some screen shots of both your trigger and condition setup pages so I can check it out and possibly attempt to reproduce? You can use http://snag.gy (if you'd like) to send back the screen shots.

tnamey posted this 12 September 2014

I'm not sure what part is or isn't working for you. From the screen shots it looks like you need to change the level of the sensor to 255 instead of 100. 255 is the level for seeing motion.

weidnerj posted this 12 September 2014

I'm not sure what part is or isn't working for you. From the screen shots it looks like you need to change the level of the sensor to 255 instead of 100. 255 is the level for seeing motion.


tnamey,

Thanks, I will try that tonight once I get home. It just showed 0 for off and 100 for on, I didn't consider 255 as the value.

What I am trying to do is have it so when someone comes into the house and trips the outside motion sensor and it is night time, that the living room light comes on when the Kwikset Zwave lock is unlocked.

I had it so when the door was unlocked at night it would come on, but then realized that was both from the inside or outside, and only wanted it to happen when someone from the outside opened the door. Might eventually switch over to use the light sensor instead of sunset to sunrise.

weidnerj posted this 14 September 2014

tnamey,

That was it, after setting it to 255 instead of 100 it worked.

Thanks!

Close