Elk M1 Rule Help

RobertG

New Member
Hi - Thank you in advance for the help,

Trying to figure out how to create a rule that will allow me to toggle some UPB lighting
with the function keys on my keypad. Specifically -

Two story house. Several UPB dimmers on some downstairs lighting as well as some upstairs
lighting. I want to use the F5 key on the keypad to toggle the upstairs lighting and the F6 key
to toggle the downstairs lighting. Simple enough to achieve in the Rules programming, however
what I have not been able to deterine is how to build the rule(s) whereas toggling the lighting back
on from being in an off state will result in the dimmers going to a pre-determined % brightness.
Currently, when I tap the F key whenever the lighting is off, they come on to 100%.

Thank you everyone for any advice or pointers. I love this stuff, but I think I'm driving my
wife nuts!

RobertG
Plano, TX
 
RobertG,
You must define the light switch under Lighting in ELKRP as a serial expander and use the M1XSP to talk to the UPB lights. When you define the light switch as a serial expander the dim level setting will show up in the THEN statement of Rules.

To toggle a light to a dim state, set an unused output to act as a temporary flag so that any Rules that follow the current Rule will not retrigger:

WHENEVER F5 KEY ON ANY KEYPAD ACTIVATES
AND DownstairsLight IS OFF //the lights are off
AND Output 100 STATE IS OFF //this checks to make sure not other Rule just fired
THEN SET DownstairsLight To 50%, FADE RATE = 0
THEN TURN Output 100 ON FOR 1 SEC //this prevents triggering of the next Rule

WHENEVER F5 KEY ON ANY KEYPAD ACTIVATES
AND DownstairsLight IS ON
AND Output 100 STATE IS OFF //this check to make sure the previous Rule was not fired
THEN SET DownstairsLight To OFF, FADE RATE = 0
THEN TURN Output 100 ON FOR 1 SEC
 
Back
Top