ESP32 Motion + Light Sensor (PIR + LDR) with Home Assistant – ESPHome & MQTT Guide
A motion sensor that only turns lights on when it’s dark is one of the most useful smart home automations.By combining a PIR motion sensor with a simple LDR (light-dependent resistor) and an ESP32, it’s easy to build a local,…