wacvmd Posted December 18, 2009 Posted December 18, 2009 ! have three switchlink relays controlling a light, I have set up programs to turn the light on with a motion sensor. The motion sensor turns the lights on fine and turns them off fine. However when i press fast on it does not inactivate the timer. I unfortunatelly have trouble understanding programs. Any suggestions or help would be kindly appreciated. If Control 'Mudroom Sensor' is switched On And Status 'Mud Room' is not On And Status 'Mud Room Slave' is not On And Status 'Mud Room Slave' is not On Then Set Scene 'Mud Room' On Else - No Actions - (To add one, press 'Action') If Status 'Mudroom Sensor' is Off Then Wait 2 minutes Set Scene 'Mud Room' Off Else - No Actions - (To add one, press 'Action') If Control 'Mud Room' is switched Fast On Or Control 'Mud Room Slave' is switched Fast On Or Control 'Mud Room Slave' is switched Fast On Then Disable Program 'Mudroom Timer' Else - No Actions - (To add one, press 'Action') If Control 'Mud Room' is switched Off Or Control 'Mud Room Slave' is switched Off Or Control 'Mud Room Slave' is switched Off Then Enable Program 'Mudroom Timer' Else - No Actions - (To add one, press 'Action') Thanks Quote
wacvmd Posted December 23, 2009 Author Posted December 23, 2009 I now have no trouble disabling the motion timer with: If Control 'Mud Room Slave' is switched Fast On Then Disable Program 'Mudroom Timer' Else - No Actions - (To add one, press 'Action') I have no difficulty enabelling program with: If Control 'Mud Room Slave' is switched Off Then Enable Program 'Mudroom Timer' Else - No Actions - (To add one, press 'Action') What I have difficulty with enabling or disabling the program with using either of the two other switchlinc relays. Do I write four other programs as above? Will that work? Is there a better way. I read Darrell Peters excellent article on the wiki and also the Scope, Precedence and Execution Order which I didn't understand. I never had any programming experience and feel like I'm struggling. Any help would be appreciated. Quote
Michel Kohanim Posted December 23, 2009 Posted December 23, 2009 Hi wacvmd, I do apologize for not seeing your original post. You can use the OR to include other devices in your conditions. But, perhaps, I am not understanding what you are trying to accomplish. You are always welcome to call our tech support line to schedule a call so that we can walk you through some of these difficulties. With kind regards, Michel Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.