Update:
Decided to play around with the raspberry Pi this weekend and make some progress with the "Person Detection System"
So, when cars drive past my place, its all over in about 6 sec before they fall out of range, but people walking by is fine because there is plenty of time to capture the beacon packets.
I decided to catch the cars, for this i needed 3 wireless adapters ( one for each radio channel ).
When you use only 1 wifi adapter, it works but that adapter has to cycle through each channel (around every 500ms) so you don't always have time to catch the beacons flying from peoples cars.
But I've found a good strategy for catching them, because there are only 3 common channels used where i live, I setup the wifi adapters to each only monitor a single channel. That way the system can detect the beacons faster.
You have to filter out all the noise, so firstly without any filters, I just scanned for a few hours to pickup all the common wifi access points within range of the front of my house.
then after noticing which ones stick around, i whitelisted them so the live scanning feed doesn't display them.
Now all thats left are "random" MAC address that ONLY show up if a person walks or drives past.
it took a bit of customizing but for anyone who is interested i will post the airodump command below.
============================================================================================================================
sudo airodump-ng -w output.cap --essid-regex '^(?!.
abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)^(?!.*abc123)' -f 500 -a -c 1,6,11 --wps --uptime --berlin 20 --output-format csv -s 1 --update 1 --ht40+ --manufacturer wlan0mon,wlan1mon,wlan2mon
============================================================================================================================
I've use a Regex filter for whoever wants to try this on their own system, just replace abc123 with the names of your neighbors access points. (note the above command is all one line)
also , the final interface names could be different on your system, wlan0mon etc. change them accordingly.
plus you'll need to adjust the channels to suit your needs, just change "-c 1,6,11" to the 3 common channels used in your area. (note: the more channels you add, the longer it takes to detect a person.)
another thing, if your not using a dualband NIC that supports 2.4Ghz and 5Ghz, remove the --ht40+ section (2.4Ghz is default)
Obviously the script to trigger alerts or make lights flash in the house from reading the output.cap log file isnt done yet, but its getting there.
but yeah, so far its working really well... i can actually see from the output that "someone is approaching" just before the camera sees them
also, try playing with putting the wifi adapters in pringles cans and pointing them at the road, ive had mixed results, might need extra tin foil lol
FYI: syntax to the commands:
aircrack-ng.org
have fun!