Comfort Automation/ Security System Forums

Full Version: Turn Off Lights after no activity on PIR
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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

 

 

 
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.
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

 

 

 
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.