0 votes

You can use the helper (see https://sequematic.com/helpers) to automatically create sequences to trigger things when someone comes/leaves home.The helper is set up based on counting the people at home.

I have setup checking people at home differently. It costs a little more work, but you'll be more in control. Here is my setup:

Variables (add extra person variables if you have more friends):

  • person1_at_home --> TRUE or FALSE
  • person2_at_home --> TRUE or FALSE
  • ppl_at_home --> TRUE or FALSE

Tip: change the true or false state with a variable webhook! See https://sequematic.com/help/variables for more info. I use Tasker on Android to trigger a variable webhook (see https://sequematic.com/help/qa/173/using-webhooks-without-phone-data)

Create a Sequence for Person1 (do the same for the other persons):

  • Triggered when person_at_home changes
  • If person1_at_home is equal to TRUE, then...
    • Set ppl_at_home to TRUE
  • Else
    • If person1_at_home is equal to FALSE, then...
      • If person2_at_home is equal to FALSE, then...
        • Set ppl_at_home to FALSE
      • End of condition
    • End of condition
  • End of condition

If you have more persons to check, then create more nested IF statements as grouped IF's aren't available yet (see my feature request; an AND statement would be helpful here.... ).

Next create a Sequence when people are at home:

  • Triggered when ppl_at_home equals TRUE
  • Run the sequence WHAT EVER YOU WANT

Last create a Sequence when people are NOT at home:

  • Triggered when ppl_at_home equals FALSE
  • Run the sequence WHAT EVER YOU WANT

Btw, I like my sequences short and simple. That way you can use and trigger them in other sequences.

Happy programming! 

laugh

in Sequence by (590 points)
edited by
Nice idea Elmar!

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Do you need help using SEQUEmatic? Search here or post a question, and one of our experts will respond to you as soon as possible.
74 questions
77 answers
187 comments
17 users