Setting actions to occur randomly

I am porting over a bunch of Webcore actions to SharpTools and they are mostly working now. One of the features I have not been able to replicate in SharpTools (or SmartThings routines) is the ability to trigger an action randomly between two times. For example to turn on a light randomly between 7am and 7:30am or play a sound file at a random time.

Is there a way to do this in SharpTools?


That capability is presently in beta, which means you need to be a member of the beta group at present.

In essence, it works by using a “random” delay based on parameters that you provide. So in your example, you can set something to trigger at 7 am, but the execution would be delayed by adding a Random delay for an amount of time between x seconds and x seconds.

1 Like

It’s been pretty quiet in the beta thread (read: stable), so we’re tentatively planning on pushing it to production early next week in time for the monthly newsletter.

Since you’re part of the beta group, @Paul_West, you can access it here: Dynamic Wait Beta


Thanks Josh. I’ll give it a try!

1 Like