Need help with a new Arrival rule

I am trying to create a rule that changes the AC temperature if either I arrive or my wife arrives but depending upon if one of us is already home.

I already have a separate rule that if we both depart the thermostat changes to 79. I don't need to touch that rule. I want to create a separate rule that if I arrive and my wife is not home, change the temp to 76 and if my wife arrives and I'm not home change the temp to 76. That part is easy. However, if I arrive and my wife is home, don't change the temp or if I am home and my wife arrives, don't change the temp. Any help appreciated.

In Rule Machine 5, you can set a precondition that will allow this:

Precondition: Neither You or your wife are home (Will only run if true)
Trigger: Either you or your wife arrives home
Action: Set thermostat

1 Like

Do you not also want to handle when one of you leaves?

EDIT - ignore below, I see now you want it always set to 76.
Assuming you were summarising your action @Sebastien, I expect it would need a conditional action to set the temp differently @jir591 depending on who comes home?

Thanks. Is this correct?

image

Your predicate condition is backwards. The rule will only run if the condition is true, so you want NOT(Barbara present OR Jack present).

2 Likes

I realized that after I replied. How's this?

If you do it that way, you'll need to switch the OR to an AND. Then you should be golden.

1 Like

The precondition?

Sorry-- yes, the predicate condition.

I think this is it:

image

1 Like

Looks good to me!

1 Like

thanks for walking me through this.

1 Like