Page 1 of 1

Python script to turn on all lights "instantly"

PostPosted: Mon Dec 31, 2018 4:53 pm
by sparker
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)!

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

PostPosted: Mon Dec 31, 2018 5:27 pm
by jay (support)
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).

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

PostPosted: Mon Dec 31, 2018 5:39 pm
by sparker
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

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

PostPosted: Mon Dec 31, 2018 5:41 pm
by jay (support)
One of us (Matt or me) is pretty much always around outside of normal sleeping hours CST.

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

PostPosted: Mon Dec 31, 2018 8:35 pm
by sparker
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!