Python script to turn on all lights "instantly"

Posted on
Mon Dec 31, 2018 4:53 pm
sparker offline
Posts: 155
Joined: Oct 30, 2003
Location: Broomfield, Colorado

Python script to turn on all lights "instantly"

I'm trying to figure out the python code necessary to turn on "ALL LIGHTS" instantly, regardless of the ramp-rate I have set for each bulb. I know the switches are capable of doing this (double-tap the physical switch), I just can't figure out how to modify the "indigo.dimmer.allLightsOn()" Python command to turn 'em all on to 100% NOW, regardless of ramp rate.

I'm working my way through the https://wiki.indigodomo.com/doku.php?id ... _lights_on documentation, but experimenting to try to find this, and hoping somebody might know off the top of their head.

Thanks (and have a Happy (and safe) New Year's eve!!!
(from a COLD Colorado. Currently 14, and dropping)!

--
Steve Parker
X10 user from the early 80's
Fully converted to Insteon in 2013 (looking to migrate away now)
Proud Indigo owner since the beginning... :)

Posted on
Mon Dec 31, 2018 5:27 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Python script to turn on all lights "instantly"

I assume all the switches are Insteon (Z-Wave switches generally don't work that way). What you can do is to create a PowerLinc scene with all your switches in it then send that scene a fast on command which will skip the ramp rate.

This is also the most efficient way of doing it as it's just a single command sent to all devices in the group rather than individual commands to each switch (which is significantly more network-intensive and more likely to have collision failures).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Dec 31, 2018 5:39 pm
sparker offline
Posts: 155
Joined: Oct 30, 2003
Location: Broomfield, Colorado

Re: Python script to turn on all lights "instantly"

Thanks Jay, I'll look into that now.

BTW: Do you ever sleep or step away from the computer??? Just about every time I've posted over the past few years, you're right there with an answer!!!! Stellar support as always, all the way back to the version 1 (yep, I've been here for all of them... Still hard to believe it's been over 15 years!!!)

Steve
Last edited by sparker on Mon Dec 31, 2018 6:12 pm, edited 1 time in total.

--
Steve Parker
X10 user from the early 80's
Fully converted to Insteon in 2013 (looking to migrate away now)
Proud Indigo owner since the beginning... :)

Posted on
Mon Dec 31, 2018 5:41 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Python script to turn on all lights "instantly"

One of us (Matt or me) is pretty much always around outside of normal sleeping hours CST.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Dec 31, 2018 8:35 pm
sparker offline
Posts: 155
Joined: Oct 30, 2003
Location: Broomfield, Colorado

Re: Python script to turn on all lights "instantly"

Thanks Jay! Worked exactly like I wanted it to! Have a fantastic new year, and thanks for producing (and supporting) one of the most useful products I have installed on my computers!

--
Steve Parker
X10 user from the early 80's
Fully converted to Insteon in 2013 (looking to migrate away now)
Proud Indigo owner since the beginning... :)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests

cron