Getting started with ESPHome

Опубликовано: 09 Октябрь 2024
на канале: Let's Automate
50,481
784

ESPHome is a perfect complement to Home Assistant. In this video I show you how to get started using it and creating your own DIY sensors.

I show you how to set up a PIR Motion Sensor and Capacitive Touch Button using a D1 Mini ESP8266 microcontroller.

ESPHome Documentation: https://esphome.io/

Useful links from the ESPHome documentation:

https://esphome.io/components/binary_...
https://esphome.io/guides/configurati...
https://esphome.io/guides/configurati...

Components used:

TTP223 Touch Button
HC-SR501 PIR
Wemos D1 Mini ESP8266 Microcontroller
Dupont wires

You may sometimes need to install a USB driver so that you microcontroller is discovered in Windows. The most common driver is the CH341 Driver which can be downloaded from multiple locations, including this one:

https://github.com/nodemcu/nodemcu-de...

00:00 Intro
00:28 What will be covered
00:51 What is ESPHome?
01:38 ESPHome Add-On Install
01:55 Set up your first ESPHome Device
04:32 Add new device as a Home Assistant Integration
05:43 Touch Button Example (TTP223)
06:35 Touch Button Wiring
07:55 PIR Example (HC-SR501)
10:07 ESPHome YAML Config File
14:23 Wrap-up

#esphome #homeassistant