Why do some routines run locally vs cloud?

So I was poking around inside the api site on my browser and looking at the affected devices to compare to see if there was something different between them all. It looks like the Inovelli dimmer (Outdoor Post Light in the routine that runs cloud vs local) is shown as “Secure Dimmer Device Outdoor Post Light” and the Execution Location is shown as: Cloud. I guess this one device is what is forcing the entire set to be cloud executed vs local.

I’m trying to keep things running independent of having an internet connection. I guess I can just set this device on its own routine so that in the event of an outage this one device will hopefully be the only one affected.

Is there some setting somewhere that can change the execution of this device from Cloud to Local I’m missing?

Looks like we posted at the same time :slightly_smiling_face: Moving the inovelli dimmer to its own routine would be a good temporary workaround. Eventually it will be migrated to an Edge Driver and all of them run local. At that point you could move it back to the other routine.

1 Like

I think the problem is your inovelli dimmer. It’s still using a Groovy Device Type Handler (DTH) that runs in the cloud. You could test this by removing it from the routine and seeing if it switches to local when you save.

Your reply came up right when I posted the same finding. I did remove the one light from the routine and it did switch to local control. I’ll create a new routine for that light on its own. Thanks for the help!

1 Like

You may already know this, but just to be sure…

Even with the new architecture, a lot of the SmartThings platform still requires an active Internet connection. For example, the SmartThings app always requires access to the SmartThings cloud, even if it’s connected to the same local WiFi as your hub. They didn’t have to design it that way, but they did. So without the Internet, you have no app control over any of your devices, even the ones that “run locally.”

Pre-created routines that run locally will continue to do so if the Internet is out—whether you want them to or not. :thinking:

And no, there’s no way to manually change from cloud to local. The platform chooses automatically based on the contents of the routine and the devices involved.

I’m not really worried about running things through the app if the connection is down, just want the things I have scheduled to fire on and off at the times I have set.

Years ago when Z-Wave and SmartThings came out, I was glad to have a centralized place that I could set up and run timers off for lights. Essentially this is all I really use SmartThings for, a glorified timer device to turn lights on and off and automatically adjust the times with Sunrise/Sunset daily. Prior to this I was running multiple timers throughout my house and in wall timers that the fancier ones that even had built in sunrise/sunset adjustments. Of course over time we’ve added Samsung appliances with connectivity (2 fridges, a range and Dishwasher) but really they are just monitored and send out alerts if a door is left open, etc. Preheating the oven seemed like it would be a great feature if you’re on the way home and want it ready to go when you get there until you realize that you can’t control the oven at all if you forgot to physically press the button on the oven prior to leaving the house…

Thank you for your time and response!

1 Like

I’m running the Edge driver for my Inovelli black dimmers. They work fine so far. I’ve not moved the red dimmers over to Edge yet but I would expect they’re good as well.

The fingerprint is only released to the Edge beta channel (it’s commented out in production). So unless you manually install that driver, it currently pairs with the Groovy DTH. But they’re releasing more and more fingerprints to Edge production channel each week, so hopefully it won’t be long before it just works with Edge without any manual steps.

1 Like

Ah I didn’t realize it was beta. I signed up from here SmartThings. Add a little smartness to your things. and the channel just says
image
so i assumed it was production. I also had joined the InovelliDev channel in the past, I thought those were the beta ones.

Regardless they work great!

Mariano has edge driver for gen 1 Inovelli dimmers. I am using it.

1 Like

I love the illustration! Now that the conversion to edge drivers is complete, non of my routines are running “local”. The don’t have the text on the bottom of the routines saying this will run local. I don’t have any crazy routines. Basic things like turn on these light at time-x. Any ideas.? ST ver 1.7.94 some run @tgauchat edge drivers.

What devices? Did you manually convert your devices to Edge drivers? Did you edit and re-save the routines after converting everything to Edge drivers?

1 Like

@Huskerswon @tgauchat has passed away 3 or 4 years ago, long before edge drivers were announced. He was co-founder of Action Tiles. You are not using his drivers for sure, unless…

1 Like

:pray: sorry to hear this news. I obesely click on the wrong tag person. I meant @taustin.I also use action tile and love the product.

1 Like

I removed some of my GE door hinge pin sensors (Jasco)(zwave) and added back. All lightbulbs are Sengled. Zigbee.
Removed all routines and rebuilt them after getting edge drives. It was a long day. Lol

1 Like

Aside from devices still running custom DTHs that are in the cloud, is there a list of known things that prevent routines from running locally?

I’ve got several routines that I use to turn off all my outside lights in various circumstances. I have tried using a lighting group and a scene. Both of those seem to prevent local operation even though all the devices being controlled are on Edge drivers or using stock DTHs.

1 Like

Many scenes require the cloud (it used to be all), but I don’t know the exact details.

That’s the thing, we don’t know what forces cloud execution (I wonder if Samsung knows - because they certainly don’t seem like they want to tell us.)

2 Likes

I have made virtual momentary switches to replace my scenes and just placed those devices in a “Scenes” room to have local operation.

2 Likes

I find these things make Routines run in the cloud:

  • Scenes
  • Lighting Groups
  • Member Location
  • Devices from cloud->cloud integrations
  • Notification actions
  • Weather triggers
  • STHM triggers and actions
  • Any Day time precondition
  • Cloud virtual devices

Could be more but these are the ones I know of to date.

2 Likes

Using Devices from two different hubs in one routine. That would include the new station hub.

1 Like