Could you Please help me with pinging my Apple iPhone? I’ve read a lot of iPhone and pimatic. But i cant configure it good for me. I want that pimatic can Ping my iPhone whole the time. But iPhone goes in sleep while locked. I did an wake up rule, But this doesnt work. Could you please tell me how to fix this problem?
-
iPhone ping
-
What do you mean by ‘wake up rule’?
Did you try installing hping3 and wake the device every x minutes by adding someting like:*/2 * * * * /usr/sbin/hping3 -2 -c 3 -p 5353 192.168.1.101 >> /dev/null 2>&1
from you crontab?An other option is using a geofencing-app on your phone (like Locative) and a dummy device monitor you presence, if that is what you mean. In that case you won’t have to use ping anymore
-
I use normal pings with my iphone and have rules which only trigger after 20 minutes of an iPhone being away. In my experience it will at least wake up around every 15 minutes and will report to pings then. The approach with hping3 might drain your Battery faster.
Working good so far. However for example for disabling the alarm I use geo-fencing via Homekit as my iPhone might only connect to wifi after I already opened the door.
-
Hello
Yes i am using this rule and i have installing hping3.
execute “sudo hping3 -2 -c 3 -p 5353 192.168.x.x(ip iPhone) >/dev/null 2>&1 || true”
Is this correct or do i need anything else? Maybe a beter solution to do this? And about Locative. How do i configure this?
Thanks and kind regards !!
-
Hey,
i use pimatic-ping in combination with some iphones to check if someone is at home. If a phone is absent for one hour i have a variable for each phone which is set to 1. To check if the phone is in sleep mode or realy not in my wifi zone i send a whatsapp message to the phone after 55 minutes. So if it is in sleep mode this would wake up the phone and pimatic could ping it before it is absent for 60 minutes. This works great for me.
Regards daice