Install Motion Sensor in a esp relay
You would like to turn on a switch if a movement is detected even it’s dark. You need a motion detector call PIR (Passive infrared sensor). It detect general movement but will not give you information on who or what moved. You will need: Wemos ESP Wemos Relay PIR Tasmota firmware Install Tasmota firmware on …