Having some logic issue with my first Reactor devices. Both are to close my Yale locks if they’re left open with different durations between 6p-9p, and 9p-8am. Both sort of work but I’m sure can work better. The first issue I had was if a lock was already unlocked prior to 6pm, my device logic would not trigger so I decided to try to move the logic from the Conditions (must be between 6p-9p) to the Activities and add a Delay. The seems to make sense, but somehow the the 9p-8a Closed the lock although it was only 715pm. ??? Here’s what the Status looks like:
It seems that since the Time of Day condition is False, and is "AND"ed with the three Lock States (which are "OR"ed) this device should not execute. But I actually watched it count-down to 120secs (my delay) then lock the door although not within the appropriate Timeframe. ???
Rookie mistake I’m sure but I’m not tracking what’s wrong.
If you want to “OR” two or more conditions together, you put them conditions into ONE group that has the “OR” operator selected. The group will go true if any of the conditions is true.
Delays in the actions are not going to get you where you are going. Your delays are part of triggering/conditions, so they need to be kept there.
Edit: also please don’t post screen shots when you’re asking logic questions, questions about the progress of logic that don’t meet your expectations, or anything involving acitivities–most things, really. They’re OK if you’re showing me a UI bug, but there’s otherwise not enough. The Logic Summary link lives on the Tools tab of your ReactorSensors.
Clovis, you can also have multiple reactor groups in the same reactor sensor. They can sort of operate independently. Let me show you a screen shot of what I have top trigger my motion sensors in the bathroom.
You’ll see in the screen shot that I have a Global Group called Night Light, and then two sub groups to reflect the different times of day.
Basically the purpose of this is to ensure that during certain times, bright lights come on, and that at later times, less bright lights come one, but that ALWAYS, if there is no movement for a certain amount of time, all of those lights go off.
I know that this does not directly answer your question, but I’m hoping that it gives you some ideas of how to tackle your problem.
To me it looks like you are trying to lock all doors if one is open. Separating the groups like I’ve done for my night light may make more sense in your case.
Thank you. I’ll break out the logic when I get home per your suggestion. And good to know about the Logic Summary. That’ll be a great help as I get into more complicated scenarios.