Nebie here looking for some pointers

abbachia

Member
Just got OmniPro system installed and having a great time programming. Wish there was some definitive programming guide. Having found one yet.

One thing I cant seem to figure out. I have some areas in the house where the kids are always leaving the lights on. I was hoping that I could program a trigger (switch on) to kick off a timer (i.e. 20 minutes) and then the lights would turn off. Can someone point me in the right direction?
 
Some UPB switches allow you to program the timer directly into the switch. Useful for things like basements and store rooms or other rarely visited spaces, lesser for routinely occupied spaces.
Or you can trigger a timer flag when the Omni sees the switch ON.
However this will ALWAYS turn off the lights at the end of the timer, even if someone is still in the space.
A better way is to use an occupancy sensor. An occupancy sensor will keep retriggering as long as there is motion in the room and cancelling the timer.

To do a simple off timer in the Omni you can use something simple like this.
Psuedo code using a flag as a timer.

Code:
WHEN Kitchen Light ON
THEN Kitchen Light Timer (flag) ON FOR 20 MINUTES 
 
WHEN Kitchen Light Timer (flag) OFF
THEN Kitchen Light OFF
 
You can make a follow me button. When the button is activated it turns on a flag. When that flag is on, the lights only stay on for a certain time. You could make the time a user setting which will allow you to change the time from snap link or a 5.7e without having to start up pc access.

Set up two user buttons. Follow me on and follow me off. You can name them whatever you want. I unusually use this with pirs instead of just a time value.
Set up a flag called follow me
Set up a user button follow me and set as a time

Automation logic

When 'follow me on'(user button) on turn on 'follow me'(flag). When 'follow me off'(user button)turn off 'follow me' (flag). When kitchen light on and 'follow me' flag is on, turn on kitchen light for 'follow me time'(user setting).
 
That worked! Seems pretty simple now that it is done. Got the timer working which was the main point of what I was trying to accomplish. Now all I have to do is program the button so that I can turn off the "Timer" when I need to.

Appreciate the help. You guys are great.

Like I mentioned in the original post, if someone could point me to a simple programming guide for common scenarios i could leave you guys to figuring out the really complicated stuff.
 
Back
Top