1) Give a description of the problem
Ok… I’ve been searching and searching for how to accomplish this and I can’t quite get it. I’ve been using webcore with Smartthings for a few months now so I apologize if this is obvious. The goal is to send a text message after a task is complete but only after someone arrives home. Seems straight forward, but I’m still learning the system… I have the basic, but still trying to wrap my head around the more advanced aspects.
2) What is the expected behavior?
IF IFTTT executes “RoombaDock”
AND Kirby’s iPhone is present
THEN with Kirby’s iPhone
DO text “clean roomba”
ELSE
IF IFTTT executes “RoombaDock”
AND Kirby’s iPhone is NOT present
THEN with Kirby’s iPhone
WAIT until Kirby’s iPhone becomes present
THEN with Kirby’s iPhone
DO text “clean roomba”
3) What is happening/not happening?
Someone on the forum suggested using variables but I’m trying to actually understand how to use them… the wiki page didn’t help me too much in the actual setting up of a variable.
This was the suggestion:
IF [condition] is met
THEN
IF
X or Y is present
Send message to recipient (no need to store as a [variable] unless you’d like to)
ELSE
Set [variable] to intended message
Set [variable] ‘messageHolding’ to true
IF
X or Y changes to present
AND
messageHolding is true
THEN
Send message to recipient
Set [variable] ‘messageHolding’ to false
Any help with how to actually execute this piston would be greatly appreciated. I’d also welcome any advice on tutorials or actual examples of variables being used and how they get set up. Thanks so much for all your help!!