Flow logic determining first person in and last person out

Hi,
Having the netgear app up&running, I am looking for inspiration to setup flows linked to firstPersonComesHome and lastPersonLeavesHome.
Any suggestions are welcome!

My current setup of 2 flows is: someone leaves and no one is home then set variable allAbsend true and turn off lights.


When first one comes in: someone comes home and variable allAbsend is true, then allAbsend is set to false and flow Welcome home is triggered.

Any advice for improvements?

afbeelding

1 Like