Is a Person home or not flow

Can anyone give me some ideas on how they have managed to create a flow trigger based on a person being hiome. So Homey would need to know if they are in or out.

I look forward to your thougts and comments

I think you are chasing something that can never be done.
A trigger can be set, when somebody comes (arrives) home, but not being home.
A trigger is always based on a change - a moment in time that something happened.
A trigger when somebody IS HOME, is impossible. When should it happen? every moment? minute, second? That makes a lot of triggers.

I hope I express myself right, and understand your question …
ruud

To rephrase what Ruud is saying:

  • You can create a trigger when someone leaves home or comes home
  • You can have a trigger for any other event and check the condition whether a person is home or not.

Knowing if someone is home or not can be handled by the app on your phone:

https://support.homey.app/hc/en-us/articles/360012141853-How-Presence-works-in-Homey

To get somewhat accurate result if anyone is at home or in specific area/room I’m quite sure You need to use a presence sensor (like SONOFF SNZB-06P or similar).

As said by others the thing you described is not possible.

But perhaps you could describe in more detail what you want to achieve with the flow so we can perhaps give you advice based on that.

Use the AND card for presence:

WHEN every 5 minutes
AND user is home
THEN ………

So if it is not possible, how about this ? Smart Presence | Homey

Has anyone had any sucess with this app?

What i want to acheive is for Homey to have the ability to know if someone is home or more importantly away. I have a smart lock that know when people enter. But this does not recognise when they leave. Thinking along the line of a personal space workflow. A bedroom. If it is my sones bedroom then maybe the auto light turn off may be set to longer if his room is triggered as it woul dmost probably be him entering etc. and triggering the presence sensor. But if he is out, then could be someone putting or taking something from his room… Laundry or something…

I am just thinking of how i can take my current basic flows to the next level. this seems a logical smarts to add to a flow.. Conditons in a flow make them more powerful

If you are on the same Wi-Fi, Homey knows you are home. However, it doesn’t work exactly. When I get home, the lights are usually already on because my device is already back on the Wi-Fi.

Sometimes I’m already gone for 5 minutes before Homey notices. :person_shrugging:

But if Homey knows your son is home or not at home (by either Smart Presence, Homey’s built in presence, etc. Many ways to achieve that), then you can simply use a flow with a condition card in the AND section.
Like:

IF the room is not active for 1 minute
AND son x is not at home
AND the lights are on
THEN turn of the lights

IF the room is inactive for 10 minutes
AND the lights are on
THEN turn of the lights.

What is your brand of WiFi router/accesspoint?

Robert, homey knows if you or one of your household members is home, if you install the homey app on each individual phone, AND enable presence detection in Homey user settings.
Do you have that enabled?

Some of the previous comments might have been misleading. It is possible to ask for user presence in flows.

I assume that the mobile phone is always with the person. Based on WiFi connection (Unifi network and app) the presence is updated for known users. Obviously, there are edge cases the logic fails, e. g. my wife turns on flight Monat night which one might adjust or just live with the case.

The presence app mentioned above should be able to do the same.

Major issue for me are guests. I would need to create a virtual guest user and assign all devoid guests to the user. Feasible, but not ideal. I don’t want to use presence sensors, as they should be part of the alarm system.

The trigger of no one at home of the first back at home works.

@tlink ; perhaps I did not understood your comment correctly, but the first situation was written (or at least understood) as “the trigger to start a flow is someone is home”, and not coming home, or every 5 minutes.As far as I know that is not possible.

Ofcourse you can use the presence of someone is home (or is not home) later in the flow, but not at the start of the flow because when should the flow be started? Someone gets home or someone leaves home can be the start trigger of the flow.

If there is a way, without sensor devices, please let me know ! I don’t know everything so I’m willing to learn :slight_smile:

I agree with the rest of your comment, but as said by some one else, my mobile also connects and disconnects to the WiFi from a distance and not only when I am close at the front door. So that could be something to keep in mind when creating a flow based on the presence app.

What do you mean by this? What do you want that is not yet possible?
There are triggers/events/WHEN cards like:

  • Some one came/left home
  • User x came/left hom
  • the first person comes home

And of course the “when user x is home” cannot be a trigger as this is not an event but a continuously situation. So what is your question?

That was the part I meant, as far as I know there is no way to use this as start of a flow. And that was something was written/asked in the first post (at least I understood it that way) But if someone else knew a way to use this as a start I’m glad to hear how so I can learn :slight_smile:

You cannot. Period. As a start need a dedicated time stamp, not a duration. This has nothing to do with technology but with language and understanding.
Compare it with something like “When it is night the light must be on”. But in order the light to be on, you must switch it on. Switching on a lamp is done at a certain moment in time, so you have translate the sentence in “When the time becomes 08:00” the light must be switch on.

You can use flows to mark someone with a status as home or not home.

Than in an additional flow that needs to know, you need it build a IF card you check that status.

Language and translation is your enemy here:
The English WHEN translates to the Dutch WANNEER. In Dutch one often uses ALS instead of WANNEER. And the Dutch ALS translates to ENGLISH in IF.

CONCLUSION: there are only WHEN AND THEN cards .

So if this is the case. Would they need a user in Homey as a Guest?

Hi Robert,
yes, adding your family members as guest is oke.
Then enable for each member on their phone the setting “Use home/absent detection”, see screenshot. (in dutch)