Order of Actions

Posted on
Mon May 10, 2021 3:34 am
bbruck offline
Posts: 343
Joined: Oct 05, 2008

Order of Actions

I have an Insteon switch in my bathroom that controls two vanity lights, each containing a Hue bulb. I have a control page that has three buttons, HallBathMood, HallBathBright, and HallBathOff. I do not know if the switch will be on or off when I tap a button, so I need to turn on the switch and then recall the appropriate Hue scene using the Hue plugin.

Thus, for example, my HallBathMood action group is:
turn on "HallBath Switch"
[set several variables]
recall hue scene hall bath mood from the hue 3 app on iphone for the hall bath hue group

The problem is that the events are triggered in the wrong order as seen in the Event Log:
Action Group HallBath Mood
Hue Lights "Hall Bath Mood" scene from "Hue 3 app on iPhone" recalled for "Hall bath"
Sent INSTEON "HallBath Switch" on to 100

Since there is no power to the Hue lights when the Hue scene is triggered, the scene is not recalled.

How can I force Indigo to run the commands in the order they appear in the action group?

Posted on
Mon May 10, 2021 6:15 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Order of Actions

Put a short delay (1 sec) on the scene command.
Attachments
Screen Shot 2021-05-10 at 8.16.51 AM.png
Screen Shot 2021-05-10 at 8.16.51 AM.png (12.07 KiB) Viewed 1687 times

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat May 15, 2021 2:31 pm
bbruck offline
Posts: 343
Joined: Oct 05, 2008

Re: Order of Actions

Thanks! That worked.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron