Person presence
Last updated
Last updated
For each person, I've created a logic boolean variable, such as i.e. presence-andreas
Strictly it is not needed to create an aggregate variable for presence, since I'm currently only using the Homey mobile app as input for this state. But the reason I've done this, is that I expect that I might want to add multiple input sources for this value at a later stage to improve reliability.
If you are happy with the iOS app, you may stick that that for presence tracking, but to increase reliability you may add multiple input sources. I can reccomend using Geofency for iOS users. I've documented how to setup Geofency. If you do not use iOS, most likely there is a similar app for Android. Life360 is another option.
For each person, I need two flows for each input source. If I need to expand this with multiple input sources later, the logic will be like:
If Andreas came home [mobile app], then set presence-andreas
to true.
If Andreas left home [mobile app], then set presence-andreas
to false.
If Andreas came home [geofency], then set presence-andreas
to true.
If Andreas left home [geofency], then set presence-andreas
to false.