DIY IoT
DIY IoT
Build a Wi-Fi Presence Detector Using ESP32 and Home Assistant
Ever walked into a room and wished the lights would just know to turn on? Or wanted your smart home to react the moment your phone connects to Wi-Fi? With an ESP32 and Home Assistant, you can build a Wi-Fi presence detector that does exactly that—no fancy sensors or wearables required. In this guide, I’ll walk you through my own journey of setting this up, complete with code snippets, troubleshooting tips, and a few laughs at my own mistakes.
Control Lights Based on Room Occupancy Using PIR and ESP32
Ever walked into a room, arms full of groceries, only to fumble for the light switch? Or worse—left the lights on all day in an empty room? With a PIR motion sensor and an ESP32, you can automate your lights to turn on when someone enters and off when the room is vacant. It’s a simple yet powerful way to save energy and add convenience to your smart home. In this tutorial, I’ll walk you through setting up this system step-by-step, including wiring, ESPHome configuration, and troubleshooting tips.