ESP32 HC-SR501 / AM312 PIR + LDR Light Sensor (ESPHome) for Home Assistant – Complete 2026 Guide

Combining a PIR motion sensor with an LDR light sensor is one of the most flexible ways to create intelligent room automation.With this setup, lights can automatically turn on only when the room is dark and motion is detected —…








