WiFi Sensing Toolkit for Urban Studies

Author

Juhyeon Park

Published

July 9, 2026

Introduction

This book provides a complete guide to building and using WiFi sensors for measuring pedestrian activity in urban environments. It covers hardware setup, data processing, and extracting five key metrics: Location, Count, Track, Revisits, and Activities.

Why WiFi Sensing?

WiFi sensing concept: sensors mounted on buildings detect probe requests broadcast by WiFi-enabled devices carried by pedestrians.

Quantifying pedestrian traffic is essential for urban planning, public safety, and sustainable city development. Traditional methods (manual counts or surveys) are labor-intensive and provide only snapshots. WiFi sensing offers continuous, non-invasive monitoring by detecting probe requests that WiFi-enabled devices broadcast regularly to discover nearby networks.

Most pedestrians carry smartphones or other WiFi devices. Each device’s probe request includes a MAC address, enabling sensors to detect presence, estimate location, and track movement across multiple sensors, though modern MAC address randomization constrains this (Appendix B — MAC Address Randomization). This passive approach requires no participation from pedestrians, making it practical for monitoring public spaces at scale.

Recent urban sensing initiatives, such as the Array of Things in Chicago and S-DoT in Seoul, demonstrate the growing interest in sensor-based urban analytics. This book makes WiFi sensing accessible to researchers, planners, and practitioners using affordable, off-the-shelf components.

Passive vs Active WiFi Sensing

WiFi-based location sensing takes two forms:

Passive sensing answers “Where is the device?” Sensors (sniffers) receive probe requests broadcast by nearby devices. The device holder doesn’t need to do anything: their phone automatically sends these packets. Detection range is typically 30–100 meters outdoors. This book focuses on passive sensing for pedestrian monitoring.

Active sensing answers “Where am I?” from the device’s perspective. The device scans for nearby access points and sends the data to a server for location estimation. This requires user consent and an installed app, making it impractical for monitoring public spaces.

Passive sensing trades individual-level precision for scalability. It captures aggregate patterns (when and where people concentrate, how they move through space) without requiring consent from every passerby.

What This Book Covers

This book follows the full pipeline, from raw hardware to urban insight:

  • Building the Sensor: assemble a Raspberry Pi sensor, put its WiFi card in monitor mode, and deploy it in the field.
  • Processing Data: turn raw probe-request packets into clean, analysis-ready records.
  • Extracting Metrics: derive five metrics from the cleaned data (Location, Count, Track, Revisits, and Activities).
  • Demonstration: apply the pipeline to a commercial district near the University of Ulsan, asking where people stay and how one-time and returning visitors differ.

Three appendices cover practical deployment notes, the mechanics and limits of MAC address randomization, and a five-deployment field record of the randomization transition (2019–2024).

References

Fenske, Ellis, Dane Brown, Jeremy Martin, Travis Mayberry, Peter Ryan, and Erik Rye. 2021. “Three Years Later: A Study of MAC Address Randomization In Mobile Devices And When It Succeeds.” Proceedings on Privacy Enhancing Technologies 2021 (3): 164–81. https://doi.org/10.2478/popets-2021-0042.
Gehl, Jan, and Birgitte Svarre. 2013. How To Study Public Life. Island Press/Center for Resource Economics. https://doi.org/10.5822/978-1-61091-525-0.
IEEE Standard for Information Technology–Telecommunications and Information Exchange Between Systems Local and Metropolitan Area Networks–Specific Requirements - Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications Amendment 1: Operation with Randomized and Changing MAC Addresses (2025). https://doi.org/10.1109/IEEESTD.2025.11023005.
JC. Zúñiga, and A. Andersdotter. 2025. State of Affairs for Randomized and Changing Media Access Control (MAC) Addresses. No. RFC9724. Edited by CJ. Bernardos. RFC Editor. https://doi.org/10.17487/RFC9724.
Mandal, Anindita, Charlotta Johansson, and David Lindelöw. 2024. “How Useful Are New Data Sources in Pedestrian Planning? Lessons from Umeå, Sweden Case Study.” Sustainable Transport and Livability 1 (1): 2321145. https://doi.org/10.1080/29941849.2024.2321145.
Martin, Jeremy, Travis Mayberry, Collin Donahue, et al. 2017. “A Study of MAC Address Randomization in Mobile Devices and When It Fails.” Proceedings on Privacy Enhancing Technologies 2017 (4): 365–83. https://doi.org/10.1515/popets-2017-0054.
Mishra, Abhishek Kumar, Samuel Pélissier, and Mathieu Cunche. 2025. “Fingerprinting Connected Wi-Fi Devices Using Per-network MAC Addresses.” In Foundations and Practice of Security, edited by Kamel Adi, Simon Bourdeau, Christel Durand, et al., vol. 15532. Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-87499-4_19.
Nozari, Sheida, Chiara Garibotto, Andrea Sciarrone, Igor Bisio, and Fabio Lavagetto. 2025. “Analyzing Wi-Fi Probe Requests: Insights Into MAC Randomization and Broadcasting Dynamics.” 2025 IEEE Wireless Communications and Networking Conference (WCNC) (Milan, Italy), March 24, 1–6. https://doi.org/10.1109/WCNC61545.2025.10978833.
Ribeiro, Miguel, Nuno Nunes, Valentina Nisi, and Johannes Schöning. 2022. “Passive Wi-Fi Monitoring in the Wild: A Long-Term Study Across Multiple Location Typologies.” Personal and Ubiquitous Computing 26 (3): 505–19. https://doi.org/10.1007/s00779-020-01441-z.
Teixeira, Thiago, Gershon Dublon, and Andreas Savvides. 2010. A Survey of Human-Sensing: Methods for Detecting Presence, Count, Location, Track, and Identity. Nos. 09–2010. Yale University, ENALAB.
Vanhoef, Mathy, Célestin Matte, Mathieu Cunche, Leonardo S. Cardoso, and Frank Piessens. 2016. “Why MAC Address Randomization Is Not Enough: An Analysis of Wi-Fi Network Discovery Mechanisms.” Proceedings of the 11th ACM on Asia Conference on Computer and Communications Security (Xi’an China), May 30, 413–24. https://doi.org/10.1145/2897845.2897883.