Jump to content

IR PIR Scene help


mzn50

Recommended Posts

Hello everyone.. not sure how to code the following

 

I have a INSTEON PIR and Id like it to trigger my front lights that would already be at 50% to 100% and after 5 mins.. return to 50%

 

 

So..

 

Front lights on at 50% at Sunset

       IR PIR triggers

                 Front Lights Increases to 100%

                        WAIT 5 MIN

                            Down to 50% till next trigger

 

     IF :

 

       From    Sunset  +  1 minute and  1 second

       To      Sunrise +  1 second (next day) 

       And Status 'Front PIR-Sensor' is On 

 

    Then :

        Set 'Front Door' 100% 

        Wait  5 minute and 10 seconds 

        Set 'Front Door' 50% 

 

does the trigger.. 100% bright

after 5 mins... nothing ..does not execute the 50% dim level...

 

 

Im not sure what Im doing wrong

 

 

 

thanks !

Link to comment

Anytime you use a program rather that a scene, a delay is introduced. For an immediate response, wire a Micro On/Off Module in parallel with the dimmer that operates the front lights and link the MS to the Micro Module.

Link to comment

Sorry Stu.. Im just not sure what you are saying..

I think I just realized.. 

 

 

would it not be easier to set a off tigger on the PIR ..  set the delay ON the PIR(Options) to 5 MIN.. When it times out to OFF.. I set another PGM to reflect when it receives an off command.. dim to 50% ??

Link to comment

Easier would depend on your wiring vs. programming preference, but I was responding only to minimizing the delay between the MS sensing motion and the light responding.

Link to comment

The problem with the posted example is the Status of the motion sensor changed to Off before the Wait 5 minutes completes.   The Wait is terminated and the Else clause runs so the Set to 50% is not executed.

 

Change the If Status to If Control 

 

IF :

       From    Sunset  +  1 minute and  1 second

       To      Sunrise +  1 second (next day) 

And Control  'Front PIR-Sensor' is switched On

Then

 

 

 

IF :

       From    Sunset  +  1 minute and  1 second

       To      Sunrise +  1 second (next day) 

       And Status 'Front PIR-Sensor' is On 

    Then :

        Set 'Front Door' 100% 

        Wait  5 minute and 10 seconds 

        Set 'Front Door' 50% 

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...