mzn50 Posted August 10, 2014 Posted August 10, 2014 (edited) 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 ! Edited August 10, 2014 by mzn50
stusviews Posted August 10, 2014 Posted August 10, 2014 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.
mzn50 Posted August 10, 2014 Author Posted August 10, 2014 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% ??
stusviews Posted August 10, 2014 Posted August 10, 2014 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.
LeeG Posted August 10, 2014 Posted August 10, 2014 (edited) 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% Edited August 10, 2014 by LeeG
Recommended Posts