Am I reading right that it's limited to 5 groups? I have 10 rules to turn stuff off when I go to Night mode and 13 to go to Away mode, 3 devices at a time spaced 1 second apart...when I lumped everything into 1 rule it would take 20-30 seconds for everything to actually turn off so had to split up. Wouldn't mind trying this but need more than 5 delay groups.
Edit... Might be able to combine groups if I mix different protocols in the same group...
I can easily add more groups but remember, you can have as many devices per group as you like and you can make as many child apps as needed too. With this in mind I haven't had a need for more than 3 groups...so I added 5 because I just knew someone would want more! lol. So the question is, How many groups should I make it?
Also, @wxmiked ... I got something in the works for you too. Stay tuned...
Let me see if I can condense to your current 5 before I formally ask for a change. The reason for doing this in the first place was that bulk commands being issued at the same time seemed to flood the mesh and introduce significant delays between a command being sent and the device responding. Sending 3 commands at a time has remedied the problem. But I can probably mix protocols within the same group...sending 3 z-wave, 3 zigbee, and 3 virtual device commands at the same time shouldn't cause any problems.
I'll get back to you on this....thanks for the app BTW
Thanks... I'm just really bored and coding gives me something to do! Most of the apps are not too complicated but they all fill a gap that I had in my system. And if someone else finds them useful, Bonus.
No replacing @Cobra, he was a huge help to me when I started coding for Hubitat. I still put a 'thank you' into every single app I put out!
@bptworld, First of all thanks for sharing all your great apps. I just installed Device Sequencer and was getting an error stating that the Child device could not be found. Noticed that line 57 "parent: "BPTWorld:Device Sequencer"" in the child app was commented out. I removed the comments and it is now working. Any reason that was commented out?
@bptworld, I'm fairly new to Hubitat and have been checking out Device Sequencer, which works nicely for sequential power-up, and I want to use it via a virtual switch that can be invoked from Google Home. What would be the best way to effect the following:
When switch is turned on, devices power up in the order A - B - C
When switch is turned off, devices power down in the order C - B - A
The use case is for controlling a stereo system, where the On sequence should be source-preamp-amp, while the Off sequence should be amp-preamp-source. Will this require RE to deal with the on/off conditionals? Or is there another way to finesse it? Thanks!
I have 5 secs between Groups 1 and 2, and 1 sec between the devices in Group 2;
The startup sequence times perfectly;
However, while the order of the shutdown sequence is correct, the devices power off in rapid order.
For my use case, I'd like to build in a little buffer between power-off events. Can your code be tweaked to use the inter-device startup timing variables during the shutdown sequence?