Quick Question from a Newbie Samrtthings User about Creating a Light Sequence


(Jamie Brundage) #1

Hello all. I’m relatively new to HA. I’m coming over from the Vera stuff due to the major problems they are having with dropping devices.

I’m not looking for a ‘how to’ here…I would just like to know if this is possible. I have ordered a Smartthings Hub…but have not received it yet.

I’d like to create a mode that would included a group of 25 wall receptacles. Each of these wall receptacles would turn on in 5 second intervals.

In other words…
Wall switch 1 turns on. 5 seconds later wall switch 2 turns on…5 seconds after wall switch 2 is on…wall switch 3 turns on…etc…etc…etc to wall switch 25.

Is something like this obtainable with the standard SmartThing GUI?

Thanks!


(Jimmy) #2

Not out of the box. CoRE could probably do it, but i wouln’t expect 5 second gaps consistently out of a cloud platform like SmartThings.
http://thingsthataresmart.wiki/index.php?title=CoRE


#3

As @prjct92eh2 mentioned, the problem is going to be the shortness of the interval.

In any mesh system, which includes Z wave and Zigbee home automation devices, there’s no way to guarantee forced sequencing. Messages can and do bounce around the network and may arrive in a different order than they were sent. The cloud aspect of SmartThings magnifies this issue because the cloud latency is itself unpredictable.

The official features in SmartThings, for this reason, will not let you schedule events closer than one minute apart.

http://docs.smartthings.com/en/latest/smartapp-developers-guide/scheduling.html

Core, which is A community built rules engine that is very sophisticated, will let you set up a rule (called a “piston” in core) with more frequent scheduling, but there’s no guarantee that that will happen exactly the way you specified every time it runs because of the mesh issue.

If you really have a need for that kind of precise timing, you should look at star topology protocols, like Wi-Fi. Or at the very least at Z wave systems that run locally without a cloud factor.

( also, just for clarity, this wouldn’t be called a “mode” in SmartThings. It would be called an “automation.” Mode is a behavioral filter that applies to many different automations, such as “daytime” or “vacation.”)