SharpTools Rule Engine

It looks like the flow in your screenshot will run resumeProgram on the thermostat and change the mode to Away when either of you leave.


Think of triggers as events which kick off the evaluation of the “Flow” in the rule. They are effectively OR’ed together as only one event can happen at a moment in time.

So if you goal is to run resumeProgram on the thermostat and change the mode to Away when both of you are gone, you’ll just need to add an IF condition that makes sure you are both away.

Triggers:
  Daddy presence is 'not present'
  Mommy presence is 'not present'

Flow:
   IF 
      Mommy presence is 'not present'
      AND Daddy presence is 'not present'
   THEN
      Thermostat to execute command 'resumeProgram'
      Barrett to change Mode to 'Away'

PS. We have plans to change the language to make this a bit more apparent. (eg. “Daddy changes to not present”) And perhaps we should add a little -or- between each trigger so that’s more obvious that as well.