Search found 3 matches
- Friday 02 December 2016 17:33
- Forum: Bash / PowerShell / Batch etc.
- Topic: script for presence detection of a phone
- Replies: 49
- Views: 28496
Re: script for presence detection of a phone
How long are you using this? I tried arp once but devices didn't dissappear or showed in the table as expected. I force the Pi to refresh it's ARP-table by sending out one ping. Even if the phone is not responding to the ping, it does respond to ARP requests. If I try the ping, first thing the ...
- Friday 02 December 2016 17:09
- Forum: Bash / PowerShell / Batch etc.
- Topic: script for presence detection of a phone
- Replies: 49
- Views: 28496
Re: script for presence detection of a phone
You are right. I have now added one ping to force the Pi to refresh its ARP-table.
- Wednesday 30 November 2016 23:17
- Forum: Bash / PowerShell / Batch etc.
- Topic: script for presence detection of a phone
- Replies: 49
- Views: 28496
script for presence detection of a phone
I have written a script for presence detection based on WiFi presence that also works for iPhone (ios 10.1.1). The script checks the ARP table (Address Resolution Protocol) of the Raspberry Pi for the presence of a phone. If the phone is in the same network as the Raspberry Pi, it shows up in the ...