Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Turn Off Lights after no activity on PIR
#1
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

 

 

 
Reply

#2
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.
Reply

#3
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

 

 

 
Reply

#4
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.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.