# Precense and advanced flow with Ubiquiti

**URL:** <https://community.homey.app/t/precense-and-advanced-flow-with-ubiquiti/68045>\
**Category:** Flows\
**Tags:** advancedflow\
**Created:** [August 28, 2022, 2:54pm UTC](https://community.homey.app/t/precense-and-advanced-flow-with-ubiquiti/68045 "2022-08-28T14:54:02Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 28, 2022, 9:16pm UTC](https://community.homey.app/t/precense-and-advanced-flow-with-ubiquiti/68045/6 "2022-08-28T21:16:22Z")

</div>

I created every user in Homey. You need seperate email addresses for.  
If you have the users in Homey, you can set the user state via flows.

Here are example flows:

> [@\[APP\]\[Pro\] Ubiquiti UniFi Network](https://community.homey.app/t/app-pro-ubiquiti-unifi-network/42967/50):
>
> The Unifi device represents only the phone, not your person (Homey account). Just set you at home/away in the flow. I use it rhis way to make all other home/away logics with the homey user state. In addition I use a timer for away state to prevent a state change if teh phone is roaming between APs. Unifi-Connect: Set me at home and stop timer (if running). Unifi-Disconnect: Start timer (delay is taken from a logic variable): Disconnect-Timer (delay) finished: Set me…

I use a timer to prevent too fast reaction on disconnects to prevent state changes in case of access poit roaming.

---

_[View the full topic](https://community.homey.app/t/precense-and-advanced-flow-with-ubiquiti/68045)._
