In this tutorial we will be adding a passive infrared sensor to detect movement and switch a light on and off with an automation.
We will also discuss the key differences between movement and presence and the uses of each situations.
You will find the accompanying code on my GitHub Repo @
https://github.com/homeautomatorza/esphome/tree/main/Lets_build_a_room_sensor/Part%205Support me by
▶ Buying me a tea:
https://www.buymeacoffee.com/homeautomatorza▶ On Patreon:
https://www.patreon.com/homeautomatorza▶ Timestamps ⌚:
00:00 - Intro
01:12 - Housekeeping and Announcements
01:27 - Parts and Software Requirements
02:38 - About Passive Infrared Sensors
04:21 - Passive Infrared vs mmWave sensors
08:06 - About the PIR Hardware
10:39 - Hardware settings
12:10 - ESP32 connections
12:57 - Putting it all together
16:09 - The code
18:59 - Web Server
19:55 - Home Assistant Dashboard
23:23 - Let's Automate
20:43 - It's a wrap
#smarthome #homeassistant #esphome #diyelectronics #diyiot #pir