So. The picture attached shows (2) FP-300. One in the living room, one in the dining room when absent…I want to turn off the ac unit. In the when statement it shows any condition…. I want it to be an OR statement. Ex. If the living room sensor. OR the dining room sensor is absent. Then turn off the AC unit. I modified the AND. And put both as present. The sequence won’t work. Because I could be at one and not the other. I hope this makes sense. Your thoughts??
Hello, please clarify.
Your air conditioner is working.
-
Do you want it to turn off when there is no movement in the living room or in the bedroom.
-
Do you want it to turn off when there is no movement in both the living room and the bedroom?
To my knowledge you can’t mix all those into one automation and expect to work you need to make each separately.but I my be wring but still you can try making one by one and see if that way works
Hello, it’s in my pictures in the answer, the solution is in one automation. I just don’t have two FP300s to make an example of.![]()
Yeah me ether as I only have an FP2 in my kitchen but turns on just the led strip but that you showed it could work too he needs to try it
Unfortunately the best way to do it is to make 2 automations, because a complicated statement like this is not possible in automation.
You basically want (I used parentheses for grouping, like in maths):
(absence in living room AND presence in dining room) OR (absence in dining room AND presence in living room)
You currently showed us:
(absence in living room OR absence in dining room) AND presence in living room AND presence in dining room
As you can see from this statement, it makes no sense, because according to IF section, you expect absence in either living room or dining room, and then expect presence in both.
The fix
To fix this, split this into two automations:
IF absence in living room
AND presence in dining room
IF absence in dining room
AND presence in living room
To make your job easier, don’t duplicate steps in THEN section. Just make a scene first, and then activate this scene in both automations. It will be easier to manage those automations in the future.
A full example
Scene “Presence in 1 room”:
Turn OFF AC
Automation 1:
IF absence in living room
AND presence in dining room
THEN scene “Presence in 1 room”
Automation 2:
IF absence in dining room
AND presence in living room
THEN scene “Presence in 1 room”
If you want to edit THEN section, just edit the scene and it will automatically affect both automations
Yeha. What’s throwing me off is the “any condition is met”. Meaning. If presence in the living room and there isn’t presence in the dining room. It will turn off the AC. there should be an OR. but I digress. Idk.
Yeha. I tried the above. With both sensors having presnece. With both having oresence. I waited for one to have presence and the other to not see presence. When one didn’t have presence. It turned it off. Even though the other still had presence.
Wait, I think I misunderstood what you wanted. When do you want to trigger the automation? I understood that you want to trigger it when there’s presence in 1 room only, right?
My condition will trigger the automation if you leave one room and to the other. If you want to trigger this automation when there’s presence in 1 room only (without the need to enter the other room first), then you can modify the condition like that:
IF (any condition)
presence in living room
absence in dining romm
AND presence in living room
IF (any condition)
presence in dining room
absence in living room
AND presence in dining room
Then it will trigger immediately when you enter 1 of the rooms (and there’s no one in the other).
If you want something else, please describe it in other words, like, drop the automation jargon, just tell me a story (like you would to a friend) describing what should happen
I understood your conditions correctly.
He only wants to turn off the air conditioner under some strange conditions🤔
Well then try this way only that I am using an FP2 witch have zone detection you just chose “No presence” and ignore the and as I did here to turn off my LED strip and do an second one for the dining room my be this way will work
In automations such as option 2, I recommend using this parameter for reliable automation operation.
Sorry guys. I’ll try to be more direct.
If there is presence in the living room and not in the dining room - keep ac On
If there is presence in the dining room and not in the living room room - keep ac On
If there isn’t presence in the living room AND/OR the dining room. Turn the AC OFF
Both sensors at FP300
The first two automations I have working. It’s the last one I’m trying to get to work
If basically if both rooms don’t setext presence then turn off the AC
Oh, that simplifies things
IF (any)
Absence in living room
Absence in dining room
AND (all)
No presence in living room
No presence in dining room
THEN
Turn AC off
IF section is a trigger. It’s an event that activates this automation. That’s why it must be “any”, because it must be a single event that wakes the automation up (in this case: one of those two events). You may think of it as a “wakeup call” to the automation - this event happens when the smart sensor sends an update on the state.
Then AND sections evaluates additional conditions when the automation was “woken up”/activated. That’s why you can use “all conditions are met” - at this point, the automation is already running and you can check any conditions/state you want.
In this case, we want “all conditions are met”, because we want to check if there is absence in both rooms.
You must assume those conditions are checked with either IF event. That’s why you must provide “no presence” in both rooms, because this automation may be triggered by absence in either room (and you want the automations to be sure it only runs if there is complete absence).
That’s what I had in the original screenshot at the beginning. But it’s not working. Or did I miss something
Ahh. I see it now. That makes sense. There isn’t a selection for no presence. Just absence in the and area.
In the first post you had “presence” in the AND condition instead of “no presence”
Yes, I should have written “absence”
Sorry, FP2 uses “No presence in (area)” and FP300 uses “absence” and I mixed up the wording
Nah man. It’s cool. I get it now. Thinking thru it. I just had the wrong selected for the AND. silly me. An OR statement would be nice. But I digress again. lol.





