EcotecEnergia:
I have a similar issue RN. Routines do run, almost 100% of the time, and do complete what they are supposed to do (Switch off lights, check doors, turn off alarms… stuff like that) BUT, SmartApps cannot interact with them in any way, either by a Handler listening for a routineExecuted (to location) or running one with the execute(“Routine”) command. The fact is, my house runs completely via those SmartApps i mentioned (I have a really complex system) and all of the automated functions do not work. I am forced to either turn on the routine manually (and pray to whatever your divinity is) that it works, or do things manually.
I’m not 100% sure, but I believe core can use a routine as a trigger. I know it can run one.
CoRE (now WebCore) is a very powerful community – created rules engine for SmartThings. It allows you to set up stacked conditionals like “If A then B but only while C and not if D.”
Setting it up can be quite complex, but there are many community members who will be glad to help you.
For example, here is a piston that one member created to notify him if the dog had already been fed twice that day and he picked up the dog bowl for a third time. He needed this because he has a large family and people didn’t always remember whose turn it was to feed the dog.
[image]
The original version of CoRE Has now been replaced by a new version, WebCoRE, which moves the data entry to a web interface. This allows for flexibility and an architecture that requires more memory than is av…
Before Core was written we used to use virtual switches for this.
There is a smartapp in the marketplace section of the SmartThings mobile app for “switch activate home phrase”. “Home phrase” was the old name for “routine” but it means the same thing. So you can have turning on a switch start a routine. That’s still popular for use with IFTTT.
And of course you can always have a routine turn on a virtual switch, which gives you integration the other way.
So it can be done, just like many cases with smartthings it isn’t obvious how to do it.
1 Like