Omni PRO ii Automation

Wizardshouse

New Member
How can i get my lights to turn on when dark and off when light 
 
5. WHEN Front Door SECURE
AND IF DARK
THEN SET LIGHTING LEVEL Pot Lights TO 100%
 
6. WHEN Front Door SECURE
AND IF LIGHT
THEN SET LIGHTING LEVEL Pot Lights TO 0%
 
 
This is what i have now  that does not work .
 
Mike
 
 
Wizardshouse said:
How can i get my lights to turn on when dark and off when light 
 
5. WHEN Front Door SECURE
AND IF DARK
THEN SET LIGHTING LEVEL Pot Lights TO 100%
 
6. WHEN Front Door SECURE
AND IF LIGHT
THEN SET LIGHTING LEVEL Pot Lights TO 0%
 
 
This is what i have now  that does not work .
 
Mike
Don't try to do too much in one action.  First I would create the variables, INSIDE DARKNESS and OUTSIDE DARKNESS.  You can base these on a set number of minutes before and after sunset/sunrise.  It may take 4 actions for this, with an ON and OFF for each.  Then you will use these variables in other actions.  I would NOT use the DARK or LIGHT settings because these are generic settings and NOT what YOU want.
 
Now lets look at what YOU have.  Make sure the very first part is the condition that triggers the action.  Yours is when the door is secure NOT when its dark.  Being Dark or LIGHT is a condition, NOT the trigger.  So the first one will turn on the light ONLY when you close your front door.  Probably not what you wanted. Each action can ONLY have one trigger, no more and no less. You can have many conditions. 
 
Then go When OUTSIDE DARKNESS is ON
Then Turn On Pot Lights
 
DON'T set lighting levels except if you are dimming the lights. Use ON or OFF in most cases.
 
Thanks for the direction,
 
Works now.
 
5. TIMED 2 MINUTES BEFORE SUNSET MTWTFSS
THEN Pot Lights ON
6. TIMED 2 MINUTES BEFORE SUNRISE MTWTFSS
THEN Pot Lights OFF
 
You original code ONLY triggers when the Front Door BECOMES Secure.
So you'd have to open and close the door to operate the lights.

In Wizardshouse example, he is using sunset/sunrise (the times for triggering dark and light) as triggers.
 
Back
Top