Set LED Brightness for all devices

Posted on
Tue Sep 29, 2020 6:31 am
Jason G. offline
User avatar
Posts: 54
Joined: Mar 21, 2018

Set LED Brightness for all devices

Hi-

It would be great if you could set the LED brightness for all devices, or all devices of a certain type (e.g., all Dimmer Switches, or all KPLs) instead of having to set them one by one.

I don't think the insteon hardware supports it, but it would also be great to query the current setting for all LED brightness settings and see them all in a list.

Thanks,
Jason
Attachments
Screen Shot 2020-09-29 at 8.29.59 AM.png
Screen Shot 2020-09-29 at 8.29.59 AM.png (125.43 KiB) Viewed 1204 times

Posted on
Tue Sep 29, 2020 10:48 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Set LED Brightness for all devices

Thanks for the request, we'll add it to the list.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Oct 03, 2020 7:52 am
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Set LED Brightness for all devices

Until that, you can use this script:

Code: Select all
# Get insteon plugin link
acId         = "com.perceptiveautomation.indigoplugin.InsteonCommands"
actionPlugin = indigo.server.getPlugin(acId)

if actionPlugin.isEnabled():
   for dev in indigo.devices.iter("indigo.dimmer, indigo.insteon"):
      if "SwitchLinc" in dev.model or "KeypadLinc" in dev.model:
         actionPlugin.executeAction("setLedBrightness", props={'device':dev.id,'brightness':'75', 'brightenMethod':'kpl'})

Thanks!

Joël

Posted on
Wed Oct 07, 2020 7:49 am
Jason G. offline
User avatar
Posts: 54
Joined: Mar 21, 2018

Re: Set LED Brightness for all devices

Nice - thanks Joel! And thanks Jay!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 14 guests