Page 1 of 1

Presence detection with IPhone

Posted: Tuesday 08 March 2016 23:23
by georgesattali
Hello,
I've got a (bloody) iPhone, and the presence script I wrote still regularly misses the presence.

I fixed the "cool down period" (max duration without ping success) to 1h10 and check ping result every minute - and still miss sometimes.
On the iPhone, the mail checking is set every 15 minutes.

Is there another way ? do i Something wrong in the script ?
thx
Geo

Re: Presence detection with IPhone

Posted: Wednesday 09 March 2016 13:30
by pvm
I use geofencing with the Pilot app. Completely reliable

Re: Presence detection with IPhone

Posted: Wednesday 09 March 2016 13:58
by markk
Yes, I use the Geofencing within the Pilot app too. No problems.

Re: Presence detection with IPhone

Posted: Wednesday 09 March 2016 14:16
by Slinkos
Pinging your iPhone is an impossible job as it turns off your Wifi when the screen is off. Even with accepting a no reply for a long time it does not work that well. Because it will not detect that you left the house.

You can use the Pilot app by purchasing the full version, or you can also use Locative (free) and trigger the switch with a json call.

Re: Presence detection with IPhone

Posted: Wednesday 09 March 2016 16:11
by jannl
I never had real problems pinging an iPhone.
My son used to own an iPhone, my perl script, which pinged 3 phones 3 times in about a minute also pinged the iPhone. I found out that a timeout of about 45 minutes was sufficient to keep the iPhone at home when needed.

Disadvantage is dat it takes 45 minutes to actually know the iPhone is not at home anymore.
Luckily he decided for an Android phone again, so the timeout is set back to 5 or 10 minutes.

So now the light in the livingroom is turned off after 30 minutes when he has his pc and/or ps4 in his bedroom turned on and he is home alone (or at leasdt without me and my wife). :lol:

Re: Presence detection with IPhone

Posted: Wednesday 09 March 2016 19:40
by georgesattali
Thanks,
I'll try your free solutions first, if doesn't work, I shall open my wallet, it is so painful :D
Regards, Geo