jkraus Posted December 28, 2009 Posted December 28, 2009 Hi, I would like opinions on this program, while it works most of the time it sometimes is problomatic. The problem is possible due to comminication issues I am having, but perhaps also the program. The intent is to have the motion sensor control the Garage light unless the garage light has been turned on by other KPL controllers then they take precendence. I think the logic is correct as works most of the time, but may be an easier way and if any of you get time please give me your thoughts. It is broken up inot two prgrams , for on and off. Motion on program: If Status '11.A0.A5-Sensor' is On And Status 'Garage Back Lite' is Off Then Set 'Garage Back Lite' 70% Else - No Actions - (To add one, press 'Action') Motion sensor off program: If Control '11.A0.A5-Sensor' is switched Off And Status 'Garage KPL A' is Off And Status 'Garage KPL B' is Off And Status 'Garage KPL D' is Off And Status 'KPL Kitchen A' is Off And Status 'KPL Kitchen - B' is Off And Status 'KPL Kitchen - D' is Off Then Set 'Garage Back Lite' Off Else - No Actions - (To add one, press 'Action') Quote
Michel Kohanim Posted December 28, 2009 Posted December 28, 2009 Hi, The problem is that you are using Status for your motion sensor. This means that your program off is going to cause the first program to run if the status of the motion sensor is still on. I suggest using Control for the Motion Sensor in the fist program in which case the program is evaluated if and only if motion is sensed "again". 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.