I put an ESP32 up against an mmWave sensor to see if you can detect presence using Wi-Fi alone

I put an ESP32 up against an mmWave sensor to see if you can detect presence using Wi-Fi alone

Published Dec 5, 2026, 10:00 AM EST Adam has a degree in Engineering and has a life-long interest in technology. He has been writing for over a decade for various print and online publications, with a focus on consumer tech. He joined How-To Geek in 2024 while working at Pocket-lint. As well as being a long-term fan of Apple products, he also has a strong interest in smart home tech, running a Home Assistant server at home to automate all his smart home devices. He believes that the ideal smart home should work with minimal interaction from the user, with automations running as if by magic rather than requiring you to push buttons on a control panel. You can find more of his work on Muck Rack. As amazing as it sounds, it's possible to detect your presence in a room using nothing but an ESP32 and your Wi-Fi. With the right software, the ESP32 can detect fluctuations in the Wi-Fi caused by human bodies and turn this into presence detection. I decided to see how well this could work in real life, so I put it to the test against an mmWave presence sensor. Could an ESP32 really replace a dedicated smart home presence sensor? I turned a spare ESP32 into a Wi-Fi presence sensor Your body changes how Wi-Fi passes through a room When I first read about using ESP32 development boards as presence sensors using nothing but Wi-Fi, I was skeptical. Would the fluctuations in Wi-Fi signal caused by a human body really be enough to accurately detect presence? The idea is fairly simple. A Wi-Fi signal can reach an ESP32 from multiple paths, both directly from the router but also via reflections off walls, furniture, and other objects. When a person walks into a room, their body blocks some of those paths, which changes how the signals combine when they reach the ESP32. Channel State Information (CSI) describes what happens to the signal on the way from the router to the ESP32. It can tell how much the signal was weakened and how the phase has shifted across different parts of the Wi-Fi channel. An ESP32 running software such as ESPHome Wi-Fi CSI Presence & Breathing Detection can measure those changes and use them to infer presence and movement. I flashed an ESP32 with the relevant firmware and set up the ESP32 in my living room. The same room also contains an Everything Presence Lite mmWave presence sensor. The plan was to examine the data from both devices to see how they compared. The ESP32 reacted every time I walked into the room My presence was detected about as fast as my presence sensor The first test was to see if the ESP32 could detect me walking into a room as quickly as the presence sensor. This is one of the most important things a presence sensor can do, as you want your lights to turn on when you walk into a room. If it only happens a few seconds after you've walked in, that's far from ideal. I tried multiple entries and exits from my living room to see how quickly each device would respond and how closely they would align. The results were pretty solid for the ESP32. The ESP32 and the presence sensor both responded within two seconds of me walking into the room. The mmWave sensor was always the first to react, but the ESP32 wasn't far behind. This means that using an ESP32 and Wi-Fi alone, you really could set up a workable automation to turn your lights on when you walk into a room. In previous testing, I've found that a PIR motion sensor is even faster to respond that an mmWave sensor, but an ESP32 could do the job, and if you have one lying around, it would cost you nothing to set up. Standing still was the real test The ESP32 showed the room was clear even when I was still in it Things started to go wrong for the ESP32 when it came to not only detecting when I entered the room but also how long I stayed in it. This is something that motion sensors struggle with, since when you're sitting still, they can't tell that you're there. I was hoping an ESP32 might be able to do a better job. In my testing, however, it did not. Despite the project details stating that an ESP32 can detect motion as sensitive as someone's breathing, the ESP32 really struggled to keep track of me once I was standing still. In each test, I entered the room and stood still for 60 seconds. The presence sensor was able to detect my presence throughout the entire period. The ESP32 only managed about 5 or 6 seconds at a time before claiming that the room was empty, and in one test, it declared the room was empty for 50 of the 60 seconds that I was in there. I tried moving the ESP32 to a different location to see if this helped. While it did improve things, the ESP32 still only reported presence for about a third of the time that I was actually in the room. It seems that the ESP32 could detect the changes in Wi-Fi signal when I entered the room, but once I stopped moving, the tiny changes from my breathing or slight motion while standing still were too small to detect, and the ESP32 assumed that the room was empty. I wouldn't be able to use an ESP32 to replace my Everything Presence Lite in the living room, because if I did, I'd constantly be plunged into darkness as soon as I was sitting still. Making tweaks helped, but then the ESP32 struggled when I left A 15-second cooldown made the room appear occupied when it wasn't In order to improve things, I tried adding a cooldown to the ESP32 so that presence would only clear after 15 seconds without any recorded motion. This made the ESP32 better at tracking presence, reporting presence for around 90% of the time I was actually in the room. The problems came when I left the room. Using this cooldown, I could stay out of the room for more than a minute, and the presence wouldn't clear. As far as the ESP32 was concerned, I was still in the room. Dropping the cooldown timer back down again fixed this problem, but then the room presence reverted to being wildly inaccurate. I was never able to find a sweet spot where both room presence and clearance detection were accurate enough to be of any practical use. An ESP32 could replace a motion sensor In my testing, an ESP32 presence sensor was good enough to do a job as a motion sensor but it wasn't accurate enough to replace a presence sensor. However, your mileage may vary, as the results will depend on where your router is located, where you are able to place the ESP32, and what blockages you have in between them. It's worth giving it a try if you have a spare ESP32 lying around.

Original Source

Read the full article at Howtogeek →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.