Comfort Automation/ Security System Forums
Turn Off Lights after no activity on PIR - Printable Version

+- Comfort Automation/ Security System Forums (https://www.comfortforums.com)
+-- Forum: Products (https://www.comfortforums.com/forum-3.html)
+--- Forum: Questions on Using Comfort (https://www.comfortforums.com/forum-159.html)
+--- Thread: Turn Off Lights after no activity on PIR (/thread-874.html)



- dcrera - 11-26-2007

Hi,

I want to turn off the lights in a room if there is no activity on the PIR after 15 minutes from 6 pm to 6 am.

I seen this somewhere but search does not return any.

Thanks

 

 

 



- hendy - 11-28-2007

In comfigurator, go to Security > Zones/Inputs.
Select the PIR\'s On and Off response.
Create a new response for each of them respectively as below:

Off Response:
If Hours >= 6 Then
    If Hours < 18 Then
       Exit Response
    End if
End if
Do Output1OFF [Output 1 OFF] After 900 Seconds Using Timer01

On Response:
If Hours >= 6 Then
    If Hours <18 Then
       Exit Response
    End if
End if
Stop Timer Timer01
Do Output1ON [Output 1 ON]

The Off Response will be executed when there\'s no movement.
On Response will be called upon activation of the PIR.
Assuming Output 1 is your intended light.



- dcrera - 11-28-2007

Hi,

I have a problem in coding as above.

I cannot position the Exit Response as per example.

I installed version 2.2.3 from 2.2.2 and I have the same problem.

223 also lost my .ccl file.

Thanks

 

 

 



- hendy - 12-07-2007

Can\'t position the exit response?
What exit response?
There are only on and off response under comfigurator\'s zones/inputs tab, isn\'t it?

Upgrading comfigurator won\'t cause saved ccl files to be lost.
Maybe you\'ve accidentally deleted it.
Look at your recycle bin.