Wi-Fi Based Human Detection reddit / selfhosted ---------------------------------------------------------------------- Senkyou · 2023-12-02 09:06 Hey all, I've been doing some reading up on wifi based human presence detection. I've been aware of the idea for several years and we even played around with implementing it at one of my previous workplaces (but stopped, for a plethora of reasons). That being said, I'm curious to try it out in my home, if for nothing else just to get a sense for the capacity of the technology. Does any self hostable or otherwise accessible resource exist for a project like this? ---------------------------------------------------------------------- lambnoah99 · 2023-12-02 09:30 If you mean by presence, a device with a specific IP-/Mac-Adress is connected, then there are several options. There are simple solutions like uptime-Kuma. For more Advanced stuff/dashboards I'd recommend Home-Assistant,there you can even do stuff like automations or further logging based on presence. ---------------------------------------------------------------------- marbonmb · 2023-12-02 09:41 I agree. I don't wanted to use géo-localisation in home assistant to know who is where, then I used automatons like "when the phone of person1 is just [dis] connected on the WiFi, do blablabla" It works but since I live in appartment it's "slow" and not regular. Like I can connect in stairs or sometimes 2 min after being home. Not enought to switch lights on when I come back during night. Then it depends of your needs ---------------------------------------------------------------------- blackstar2043 · 2023-12-02 09:49 Unauthenticated devices could be identified using a tool like Kismet. But, I think OP intends to use the signal for detection. ---------------------------------------------------------------------- lilolalu · 2023-12-02 10:10 https://github.com/Neumi/3D_wifi_scanner ---------------------------------------------------------------------- rmoledov · 2023-12-02 10:52 I did something like this at work a few years ago. I used an OpenWrt router and set the wireless interface in monitor mode. After that, you can use tcpdump to detect nearby MAC addresses by scanning for Probe Request packets. ---------------------------------------------------------------------- B0RSCHT1789 · 2023-12-02 12:42 I am assuming you are talking about device free wifi sensing. Meaning you sense people via scatter of rf signals their body produce while in motion rather than track Mac addresses of their phones. If so you can do something really basic with raspberry pi. https://www.hackster.io/mzakharo/wifi-sensing-via-raspberry-pi-ff1087 ---------------------------------------------------------------------- vivekkhera · 2023-12-02 14:56 There was some work done at University of Maryland with both wifi and WiMAX about 10-ish years ago. Their use case was finding people in burning buildings. ---------------------------------------------------------------------- root_switch · 2023-12-02 16:08 There is pi.alert l, not sure if this is good enough for your use case. Also not sure how it handles iPhones randomized MAC addresses, I believe people have got around this constraint at some point. https://github.com/pucherot/Pi.Alert ---------------------------------------------------------------------- Senkyou · 2023-12-02 17:29 That's the exactly what I was thinking of. I guess posting at 2am means I don't get very specific in my post haha. Have you tried this before? It looks interesting and it's great that even a Pi can do it. ---------------------------------------------------------------------- VladamirK · 2023-12-04 20:52 While it's not exactly what you asked for, I recently setup a few LD2410C human presence sensors connected to ESP8266 boards. Can detect humans still or moving within 5m using 24Ghz radar. Super cheap and fairly simple to setup. Got it working with Esphome to turn on a few lights automatically. ---------------------------------------------------------------------- washapoo · 2023-12-04 21:12 I did a project using RF scatter for the US Military in Afghanistan about 7-8 years ago. I am pretty sure it hasn't gotten any easier in the intervening years. It took hundreds of access points with custom firmware and a huge data lake with network response times that were beyond the ability of \_most\_ enterprise network gear at the time. Granted, this was for "near real time" movement tracking. It took almost 2 years and many late nights to get it to work properly and dependably. You should maybe look at using LIDAR or something along those lines...it would be much easier.