Turning KeypadLinc secondary button lights on/off

Forum rules

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo

Posted on
Mon Jun 17, 2013 10:56 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Turning KeypadLinc secondary button lights on/off

I have a dreadful feeling you've answered that one before, but I can't find it on the boards now. How do I turn individual (or groups of) KeypadLinc button lights on or off from Python code in a plugin?

I know about the "INSTEON Commands" way of doing this, but how would I script this? (I assume you'd like the plugin this calls to be an implementation detail you can change later.)

Thanks
-- perry

Posted on
Tue Jun 18, 2013 8:53 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Turning KeypadLinc secondary button lights on/off

Use the setLedState method in the indigo.dimmer or indigo.relay command spaces.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Jun 18, 2013 9:04 am
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Turning KeypadLinc secondary button lights on/off

Oops. Yes. It's right there. I keep forgetting you have class methods (of a sort) in there; I was looking for methods on the device object. Sorry about that.

I assume this works even on relay-type KeypadLincs, even though it's a method on dimmer?

Thanks
-- perry

Posted on
Tue Jun 18, 2013 9:39 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Turning KeypadLinc secondary button lights on/off

Reread my post... :)

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Jun 18, 2013 10:07 am
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Turning KeypadLinc secondary button lights on/off

Uh... sorry. I'm going to get some more emergency coffee now. :)
-- perry

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest