In the smart lighting app, you have an option to turn off a light if the motion sensor is not detecting motion after certain number minutes.
Is there a way to do this with an automation? Or do I have to make 2 automations to replicate what would otherwise be one rule in smart lighting.
I do know with an automation, you can have the light auto turn off after a certain amount of time, but what about after motion stops? What do we do about that?
Not currently possible in one rule with the default automation creator. Rules API can handle it but youll need to know the rules api, have built a personal token and know how to construct the JSON.
My first effort is killing Smartlighting i have one mirror rule left that i cant delete yet.
WebCoRE well. Ive always reserved that for my most complex stuff. Many of my pistons are hundreds of lines long. Thatās going to need me to either learn RulesAPI or have a RulesAPI rule editor.
Trying the same thing. I got everything except the room switches because of the turn off with motion issue and the mirroring rules mainly because Iām being lazy. Glad this got asked, though, I was coming here to ask the exact same question.
Took some work and a few logic workarounds, but Iām officially off webCoRE and SmartLighting as of tonight. As far as I can tell, Iām using only stock ST stuff now. (Well, Iām not sure about ActionTiles, but the other stuff should be connected services through the ST approved methods.) I donāt even think I lost anything.
I ended up not needing a virtual switch that I had been using with webCoRE, and I repurposed it to handle the one issue I had running a scene to keep the lighting automation local and the scene itself in the cloud (LIFX bulbs, so the mirroring would have been cloud based anyways).
As far as straight up on and off, the automations seem maybe a tad faster/smoother than the SmartLighting mirror rules, but that may just be wishful thinking on my part too. I donāt have too many lights that I dim much, so that helped as a lot of the mirroring was just on and off. Iām sure thatās not the case for everyone.
My biggest issue with attempting to move some of my Smart Lighting Routines over to Automations is that Smart Lighting letās me select āmultipleā devices very easily where Automations requires āeach and everyā device to be selected one at a time as the Condition. Thatās just a very painful effort to deal with.
The only good reason Iām thinking of doing this now, is that Automations have the Run Local ICON now. At least then Iāll see in the SmartThings app whatās running local instead having to look at the Smart Lighting Routines in the IDE to see if they are running local.
As for Automation device mirroring, Iām thinking that If device is On/Off Then set other device On/Off. Wouldnāt that work?
The On/Off is a stateless toggle - so itās possible they get out of sync. To do āmirrorā (take what I have here and send it there) youād need two distinct on and off automations.
I would also accept it lighting groups to worked like actual virtual devices as far as automations are concerned but thatās another discussion.
Well, while watching some outstanding sporting events today, I created Automations to replace most of my Smart Lighting Routines one by one. In some cases I was able to combine a few Smart Lighting Routines into one Automation, and in others it took two Automations to replace them. So Iād say it was an even split.
However, one thing that I couldnāt move over was Button Pushes since they run ālocalā in Smart Lighting (verified by disconnecting the Hub from Ethernet), but when I tried using a Button Press as an Automation Condition, it didnāt run local (tested the same way by disconnecting the Hub Ethernet). And neither did the Button devices page configuration settings which just created an Automation too that didnāt run local.
One thing they need to enhance in Automation Actions is to include Sunrise and Sunset time logic with the āAuto Turn Offā setting.
And, I could really use folders, containers, collections, groups, rooms, or something to sort all of my Automations (70+). But for now Iām just using alpha-numeric name titles to deal with the long list of Automations now.