Ready to ditch proprietary smart home hubs and take complete control of your devices? This is the ultimate A-to-Z beginner's guide to ESPHome, the powerful framework that lets you turn an inexpensive ESP32 board into a custom, reliable, and privacy-focused smart home device.
Note: A companion written guide will have a list of all parts used, copies of all wiring diagrams shown along with example ESPHome configuration and more:
https://resinchemtech.blogspot.com/2025/11/ESPHome.htmlI'll start with the basics, then dive into practical, hands-on examples for setting up a variety of popular sensors and lights. Finally, you'll see just how easy it is to integrate everything seamlessly into Home Assistant!
In This Video, You Will Learn:
• What is ESPHome? A quick overview of what it is, how it works, and its key advantages (local control, privacy, simplicity).
• What You Can & Can't Do with ESPHome (e.g., control lights, read sensors, vs. complex video processing).
• How to install the ESPHome Add-On for Home Assitant
• Essential Parts Review: A rundown of the components I used for this project.
Hands-On Component Configuration:
Learn to configure and test these five essential smart device components using the simple, readable YAML configuration in ESPHome:
• PIR Motion Sensor: Configuring a simple motion detector for security or automation triggers.
• AHT20 Sensor: Reading temperature and humidity data for environmental monitoring.
• HC-SR04 Sensor: Setting up a non-contact distance sensor (great for trash can fullness or water level monitoring).
• BH1750 Light Level Sensor: Read current ambient light level.
• TTP223 Sensor: Implementing a basic capacitive touch button for interactive controls.
• WS2812B Light Strip: Controlling an addressable LED light strip via touch.
Home Assistant Integration
The final and easiest step! We'll show you how ESPHome's native API enables instant, seamless integration with Home Assistant so you can start using your new custom device in your automations right away.
And finally, I'll show how to safely and completely remove an ESPHome device and node so that the ESP board can also be used for a different ESPHome node in the future.
Chapter Breaks
==============
00:00 Intro and Overview
01:40 What is ESPHome and Why Use It?
03:27 What You Need and How ESPHome Works
05:49 Parts Used and Test Setup
08:47 Installing ESPHome
11:30 Creating a Node and Preparing a New Device
22:30 First Time Flash (via USB)
26:17 Adding an AM312 Motion Sensor
31:48 Adding an AHT20 Temp/Humidity Sensor
36:32 Adding an HC-SR04 Distance Sensor
38:33 Adding Light Level, Touch and LEDs
42:36 ESPHome Automation Example
46:49 Home Assistant Integration
48:43 Deleting an ESPHome Device
51:50 Additional Info
Parts Used/Shown
================
ESP32:
https://amzn.to/3MvTMbWAM312 PIR Motion Sensor:
https://amzn.to/3KxdOSXAHT20 Temp/Humidity Sensor:
https://amzn.to/4amnHNJHC-SR04 Distance Sensor:
https://amzn.to/3XXIZtGBH1750 Light Level Sensor:
https://amzn.to/48GdFFXTTP223 Capacitive Touch Sensor:
https://amzn.to/44EACqBWS2128b Addressable LED Strip:
https://amzn.to/4rqMKoTVariable Power Supply (3-12V):
https://amzn.to/48fbuHWProtoBoard:
https://amzn.to/3KhAXc4Breadboard Jumpers:
https://amzn.to/4iv0g6XDupont Connectors:
https://amzn.to/4pw08q0Wago Lever Nuts:
https://amzn.to/4prWe29Some 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. Use of these Amazon links is one the best ways to show your support for the channel... at absolutely no cost to you!
Links and Additional Information
================================
Companion Written Guide:
https://resinchemtech.blogspot.com/2025/11/ESPHome.htmlESPHome Official Site:
https://esphome.io/ESPHome Standalone Installs:
https://esphome.io/guides/installing_esphome/ESPHome Secrets File:
https://esphome.io/guides/yaml/#secrets-and-the-secretsyaml-fileIt takes significant time, effort and occasionally substantial expense to create these videos. If you'd like to help support this channel and future content, or just say thanks, you can consider buying me a cup of coffee:
https://www.buymeacoffee.com/resinchemtech#esphome #homeassistant #esp32 #esp8266