I'll cover some of the common types of motion and distance sensors that you can add to your DIY projects. For each, I'll show the important specs, pinouts and wiring, how it's configured in ESPHome and a few pros and cons. I also provide a couple of examples where a distance sensor might be a better choice for detecting motion over a true motion sensor.
Chapter Links
=============
00:00 Intro
00:58 Parameter and Spec Considerations
02:29 Motion Detectors vs. DIY Sensors
03:29 AM312 PIR Motion Sensor
07:45 RCWL-0516 Microwave Motion Sensor
11:06 Motion Sensor Pros/Cons
12:56 HC-SR04 Ultrasonic Distance Sensor
14:40 VL53LOX Time-of-Flight Distance Sensor
17:09 TFMini-S LIDAR Distance Sensor
20:47 Distance Sensor Pros/Cons
21:49 Using a Distance Sensor for Motion Detection
27:50 Wrap Up
Parts Shown or Referenced
=========================
AM312 PIR Motion Sensor: https://amzn.to/42OyydA
RCWL-0516 Microwave Radar Motion Sensor: https://amzn.to/3wtXpaF
HC-SR04 Ultrasonic Distance Sensor: https://amzn.to/3wCmnV2
VL53L0X Time-of-Flight Distance Sensor: https://amzn.to/48nWtlb
TFMini-S LIDAR Distance Sensor: https://amzn.to/48nWBBb
Aqara P1 Motion Detector: https://amzn.to/49ofQMx
Aqara FP2 Presence Sensor: https://amzn.to/3OT949i
Some of these links may be Amazon affiliate links. Use of these links will not affect your pricing, but as an affiliate this channel may earn a small commission if you make a purchase.
Related Videos Referenced:
=========================
Updated Multisensor (RCWL-0516 testing):
https://youtu.be/tVTha44i8SI
Parking Assistant (Distance sensor testing):
https://youtu.be/HqqlY4_3kQ8
Update Stair Ligthing (Replace a PIR with ToF):
https://youtu.be/ZRb_wpJo1AM
Other Links and Additional Info:
===============================
ESPHome GPIO Binary Sensor Doc: https://esphome.io/components/binary_sensor/gpio.html
ESPHome Ultrasonic Sensor Doc: https://esphome.io/components/sensor/ultrasonic.html
ESPHome VL53L0X ToF Sensor Doc: https://esphome.io/components/sensor/vl53l0x.html
ESPHome External Components: https://esphome.io/components/external_components.html
If you'd like to help support this channel, or just say thanks, you can consider buying me a cup of coffee:
https://www.buymeacoffee.com/resinchemtech
#homeassistant #esphome