Folks,
Just wanted to start my post by saying that this forum has been a source of immeasurable help and information while i setup my elk and up UPB lighting stuff - THANK YOU to all of you (esp @work2play for his informative UPB post)
However i couldn't find any information on the below was hoping to have a second set of eyes to help validate if he below rules condition will work or if there's a more efficient way of doing this -
SCENARIO : I wanted to setup a rule to have the elk run a lighting scene (called welcome) only if
I setup a counter called arm status and created two initial rules
if system is armed to away mode
then set counter to 1
if system is armed to stay instant mode
then set counter to 0
RULES for lighting
if system is disarmed
and if its dark outside
and if counter is 1
then turn on [a5]welcome
I figured i'd use the counter to have elk email me only when the system was disarmed from away for a specific user; since earlier I kept getting emails for every disarm (away or stay)
if system is disarmed
and if last user was [xxxx]
and if counter is 1
then email [email protected]
thoughts ?
Just wanted to start my post by saying that this forum has been a source of immeasurable help and information while i setup my elk and up UPB lighting stuff - THANK YOU to all of you (esp @work2play for his informative UPB post)

However i couldn't find any information on the below was hoping to have a second set of eyes to help validate if he below rules condition will work or if there's a more efficient way of doing this -
SCENARIO : I wanted to setup a rule to have the elk run a lighting scene (called welcome) only if
- the system has been disarmed from an away mode (as opposed to disarmed from the stay instant mode)
- and if its dark outside
I setup a counter called arm status and created two initial rules
if system is armed to away mode
then set counter to 1
if system is armed to stay instant mode
then set counter to 0
RULES for lighting
if system is disarmed
and if its dark outside
and if counter is 1
then turn on [a5]welcome
I figured i'd use the counter to have elk email me only when the system was disarmed from away for a specific user; since earlier I kept getting emails for every disarm (away or stay)
if system is disarmed
and if last user was [xxxx]
and if counter is 1
then email [email protected]
thoughts ?