Jump to content

Keylinc button blink


zeenon

Recommended Posts

Posted

Is there a way to have a single 6 button keylinc button blink? I'm getting weird results, the first time I ran it, it turned the Keylinc SW to on, the second (and on) it blinks ALL the keylinc buttons that are on (so A,C, OFF). 'D' is not assigned to anything.

 

Main Prog

If
       Status  'Security / TriggerLinc-Opened' is not Off

Then
       Run Program 'Blink' (Then Path)

Else
       Stop program 'Blink'
       Set 'Kitchen KeyLinc - D' 50% (Backlight Level)

 

 

Blink

If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
       Set 'Kitchen KeyLinc - D' 100% (Backlight Level)
       Wait  5 seconds
       Run Program 'Blink' (Else Path)

Else
       Set 'Kitchen KeyLinc - D' 0% (Backlight Level)
       Wait  5 seconds
       Run Program 'Blink' (Then Path)

Posted

I am unsure how wise it is to have a program in a perpetual loop, and to be initiating all this communication messages. But, if this is important, then it may be your only option.

 

Perhaps the problems you are having are with your program. I offer the following suggestion regarding your blink program:

 

If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
       Set 'Kitchen KeyLinc - D' on <<        Wait  5 seconds
       Run Program 'Blink' (Else Path)

Else
       Set 'Kitchen KeyLinc - D' off <<        Wait  5 seconds
       Run Program 'Blink' (Then Path)

 

In your initial program, you were simply changing the backlight level representing a state of "on". Hopefully, the distinction is sufficiently clear.

Posted

It is not a good idea to run Insteon commands that blink a button more than a few seconds. All that traffic can interfere with other Insteon activity.

 

As oberkc already mentioned changing the KPL backlight level affects the entire KPL and is not what you are looking to do.

 

Note that Secondary KPL buttons can be turned On and Off only with a Scene that has the KPL button as a Responder. The KPL does not support a Direct command for that purpose which is why the ISY does not show an option for turning a Secondary KPL button On and Off directly.

Posted

Set 'Kitchen KeyLinc - D' on <<

 

Ok, I'm trying to do the same thing here (for my Emergency button).

 

I can't set the button to simply ON or OFF, I have the various backlighting levels (0/0 through 15/7). And I get the same results as the OP.

 

I have created a Scene called "emergency", to which the button is a RESPONDER (only), and I can have it blink, but only a set number of times, and only after the number of blinks can I hit it again to turn it off (do the reset from emergency program).

 

(Sorry, I was typing when the post immediately above was being done)

Posted

Backlight level has to do with how bright all the KPL buttons are when On and Off. Backlight itself does not turn On or Off any KPL button.

 

Rather than recursive invoke the blink Program from itself use the Repeat statement in the blink Program

 

 

Repeat 5 times

Set Scene kplbuttonh On

Wait 5 seconds

Set Scene kplbuttonh Off

 

The Else clause of the Program that invoked the blink Program can issue a Stop blink Program if the blinking should stop before the 5 Repeats complete.

Guest
This topic is now closed to further replies.

×
×
  • Create New...