Apologies in advance if this is one of those easy, well documented questions. I've combed through the Help file and through the Forums and haven't quite found an answer.
I have a door that opens into a small hallway. I have a sensor on the door and a motion sensor in the hallway. I'm trying to make the event fire based on the order of the sensor's being tripped:
I've played with a virtual device so that: IF motion, turn off the virtual device and IF door, turn on the virtual device, then check if that virtual device is on or off as part of the conditions, but I can't seem to make it work predictably.
Is there a general practice that allows for the order in which the conditions are evaluated to force the behavior? I know you can drag-and-drop the order of items and presumably there's a reason that feature was added to help the event engine process the conditions in a desired order, but I can't seem to make that apply in this case. Due to the size of the hall, a timer I suppose could work if it was a second or two tops or perhaps even a counter, but before I keep making up permutations, I'm wondering if I'm simply missing something about the ordering of conditions...
Again, sorry if this is a super simple question and thanks to all of the real talented folks I see on these Forum pages who are willing to take the time to help the rest of us master HS3!
I have a door that opens into a small hallway. I have a sensor on the door and a motion sensor in the hallway. I'm trying to make the event fire based on the order of the sensor's being tripped:
IF someone opens the door, THEN triggers motion, THEN turn on a series of lights. Conversely, if someone triggers motion, then opens the door, do nothing/non-event.I setup the event as: IF the door sensor is open AND motion (and a time and device status are TRUE), then control the intended lights. That works fine but it doesn't take into account the order of the initial door/motion events. So the lights turn on regardless of the order since both conditions are met before the motion times out since it's a small hallway.
I've played with a virtual device so that: IF motion, turn off the virtual device and IF door, turn on the virtual device, then check if that virtual device is on or off as part of the conditions, but I can't seem to make it work predictably.
Is there a general practice that allows for the order in which the conditions are evaluated to force the behavior? I know you can drag-and-drop the order of items and presumably there's a reason that feature was added to help the event engine process the conditions in a desired order, but I can't seem to make that apply in this case. Due to the size of the hall, a timer I suppose could work if it was a second or two tops or perhaps even a counter, but before I keep making up permutations, I'm wondering if I'm simply missing something about the ordering of conditions...
Again, sorry if this is a super simple question and thanks to all of the real talented folks I see on these Forum pages who are willing to take the time to help the rest of us master HS3!