Fade Hue, Saturation, and Level at the same time?


Hello, I am trying to fade three Philips Hue lights to a specific color over the period of two minutes. In order to do this it appears I have to set the Hue, Saturation, and Level as individual actions because I want to fade them.

I am able to get the correct outcome, but it takes six minutes. Instead of running all three actions at the same time, its running one a time despite me setting the “with” to to “async”.

Is there something I’m missing?




ASYNC only does something when there is a WAIT. Otherwise, each line (command) is executed in sequence, and the next command does not begin until the current command finishes.


How can I run the three fade commands at the same time? Do I need to add a 1 second wait or am I doing this completely wrong?


Please don’t take this the wrong way, but even with a single fade, I try to avoid them whenever possible!! They bog down the system, impact other pistons, and prevent any changes to that device once it begin.

Attempting to run three fades is something that I would never wish upon my greatest enemy!!
(which is actually 9 fades using 3 devices)

That being said, a much more reliable method is to use set instead of the fade.


Set HSL to 2, 25, 6
Wait 30 seconds
Set HSL to 4, 50, 12
Wait 30 seconds
Set HSL to 6, 75, 18
Wait 30 seconds
Set HSL to 8, 100, 25

Yes, I know, it is not as smooth visually, but the code execution will be infinitely more reliable for you, and it only sends out 4 commands instead of more than 300


Up for a bit of Edu-tainment?

I just thought of a silly analogy that might help explain my aversion to fades.
(which basically sends new commands every couple of seconds)

Can you imagine how your shift at work would go if your boss paid you a penny every second throughout your shift? You’d barely get one penny into your pocket before he was handing you another. You wouldn’t be able to get any work accomplished, because all of your time would be spent dealing with the penny that you were just handed.

Hang tight… It gets worse…

Now imagine if that boss had to pay three employees that way… Running back and forth between coworkers, and handing out a penny to each of them every second!?! It would literally take him every bit of concentration trying to keep up, and yet, it’s a completely unrealistic task for him.

The phones might go unanswered, normal duties would take ages (or be ignored), and many of the pennies would not even make it to your pocket. (or the boss would cheat and stuff a handful of pennies into your hand all at once)

Basically, until the shift is over, it’s a recipe for disaster…

In this analogy, the “boss” is your ST hub, the “employees” are your bulbs, the “pennies” are the small incremental commands being sent, and the “phone/duties” are other pistons or automations.


Haha that is a great explanation! Thanks!

So I’m confused as to how I was able to do this so easily using Stringify without issues the past.
In Stringify, it could read all of my “scenes” from Hue, and then I could say “fade to this scene in (1-60) minutes” which made it easy for me to do things like simulate a sunrise/sunset, etc.
Is there any kind of equivalent in WebCoRE?

It’s also odd how apps like iLightShow and Hue Disco are able to flash and fade the lights at such rapid rates yet SmartThings can’t handle fading three lights from white to orange over the course of several minutes without being too taxing/overloading of the system.

I’ve done some searching and came across “Hue B Smart” but that looks like a lot of work to completely remove and re-add all my lights to SmartThings. It says it will create momentary buttons for all my scenes (that’s going to clutter things quickly) but even then it’s still not clear if I can fade to those scenes in more then the standard 1-3 seconds.