I have an HAI OmniPro II controller and Simply Automated UPB switches. We also have a motion sensor in the kitchen.
I'm starting out small here. All I want to do is have the kitchen lights turn off automatically if there is no motion in the kitchen for 10 minutes unless the accent lighting is on.
Here's what I wrote iusing PCAccess:
8. WHEN Kitchen mot NOT READY
THEN Motion in Kitchen ON FOR 10 MINUTES
9. WHEN Motion in Kitchen OFF
AND IF Kitchen Over Cabinet OFF
THEN Full Kitchen OFF
"Kitchen mot" is the motion sensor and "Motion in Kitchen" is a flag I defined.
When the kitchen motion sensor trips, the flag goes on, but it seems to ignore the timer. The flag stays on forever and so the ilghts don't go off after 10 minutes. A check of the status of that Flag just shows 1. If I double click on the flag to open the command window, I can execute what looks to be an identical command. When I execute this command manually, the Status shows ON FOR 00:10:00 and counts down.
Any ideas why the command doesn’t work in a program but works manually?
I'm starting out small here. All I want to do is have the kitchen lights turn off automatically if there is no motion in the kitchen for 10 minutes unless the accent lighting is on.
Here's what I wrote iusing PCAccess:
8. WHEN Kitchen mot NOT READY
THEN Motion in Kitchen ON FOR 10 MINUTES
9. WHEN Motion in Kitchen OFF
AND IF Kitchen Over Cabinet OFF
THEN Full Kitchen OFF
"Kitchen mot" is the motion sensor and "Motion in Kitchen" is a flag I defined.
When the kitchen motion sensor trips, the flag goes on, but it seems to ignore the timer. The flag stays on forever and so the ilghts don't go off after 10 minutes. A check of the status of that Flag just shows 1. If I double click on the flag to open the command window, I can execute what looks to be an identical command. When I execute this command manually, the Status shows ON FOR 00:10:00 and counts down.
Any ideas why the command doesn’t work in a program but works manually?