[ANSWERED]Keypad Link Brightness

Posted on
Thu Jul 10, 2014 9:36 pm
jltnol offline
Posts: 998
Joined: Oct 15, 2013

[ANSWERED]Keypad Link Brightness

So I'm trying to write a very basic script to control the brightness of the Keypad Link LED's... not turn them on or off individual... just the brightness of them all.

So far, this is what I've got

Code: Select all
tell application "IndigoServer"
   brighten device named "Master Bedroom-Main Light" to 5
end tell


But all this does is control the main load for the KPL.... can this be done in Apple Script?

Posted on
Fri Jul 11, 2014 7:29 am
jay (support) offline
Site Admin
User avatar
Posts: 18265
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Keypad Link Brightness

It can't be done from AppleScript - but you can use the Set LED Brightness action to set it.

Note: not all KeypadLincs support this feature (and, unfortunately, there's really no way to know if it supports it other than just try the action). Most recent ones should.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jul 11, 2014 3:21 pm
jltnol offline
Posts: 998
Joined: Oct 15, 2013

Re: [ANSWERED]Keypad Link Brightness

Ok

I've just got a bunch of them to set, and did it in the GUI, but now that I'd like to change some of them, it seems scripting would be easier..

I know that this python code...

Code: Select all
indigo.dimmer.setLedState(675337121, index = 1, value = True)


...will turn in individual button on and off...

but is there a way to script the LED brightness as well ?

Posted on
Fri Jul 11, 2014 3:59 pm
jay (support) offline
Site Admin
User avatar
Posts: 18265
Joined: Mar 19, 2008
Location: Austin, Texas

Re: [ANSWERED]Keypad Link Brightness

The best approach is to just execute some predefined action groups to set the brightness from your scripts.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jul 11, 2014 6:58 pm
jltnol offline
Posts: 998
Joined: Oct 15, 2013

Re: [ANSWERED]Keypad Link Brightness

Super.

I'll give it a try.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest