woody
New Member
The actual pet door status comes from the reed switch tied to Zone Input 3 on the paneldrvnbysound said:Ok, so I understand the logic to use an ouput tied to an input. I just didn't follow that's what you were doing with OUT3 - I follow that now.
How are you getting status from the door at all? I'm assuming that's a separate zone?
Zone 3 doesn't require a rule to be secured. Zone 3 secures when the pet door closes.drvnbysound said:The reason for asking the latter, is I'm just trying to follow the complete logic.
My post had an error when I transcribed Rule 1. Now that I know how to "cut & paste" rules out ElkRP, hopefully my posts will be cleaner. Rule 1 should have read:drvnbysound said:As written, I don't follow where Zn 3 becomes secure; one instance when Zn3 is NOT secure you turn OUT3 OFF (RESET), then later you have the AND statement that says when it's NOT secure (same as before) to turn OUT3 on for 1 second.
WHENEVER Z003-Pet Dr Inst (Zn 3) BECOMES SECURE
THEN TURN O-003-Pet Dr (Out 3) OFF
But I wrote this rule before I realized I could limit how long Out 3 was on. In retrospect, I don't think I need this rule. I think the code will work without it. So the following 2 rules are all that's needed, unless someone see's something I'm missing.
Rule 1: WHENEVER Z003-Pet Dr Inst (Zn 3) BECOMES NOT SECURE
THEN TURN Output 103 ON FOR 8 SECS, RESTART TIMER IF RUNNING
Rule 2: WHENEVER Output 103 STATE IS TURNED OFF
AND Z003-Pet Dr Inst (Zn 3) IS NOT SECURE
THEN TURN O-003-Pet Dr (Out 3) ON FOR 1 SEC