I'm using an iPhone connecting to my Unifi router as a way to track presence for someone that doesn't want to run apps which could help.
What is the best way? The router will tell Hubitat when they connect, but iPhone's are notorious for dropping off when not in use. I use this to trigger different morning and nighttime rules.
I'm sure I could start a timer anytime they connected and let it run and run and run...and even it would really need to stay connected for that to work it seems since I also need to know when they are gone.
Is there an easy way to define a rule that says for example...if X has happened anytime in the last 8 hours do Y?