ESPHome along with Home Assistant is really powerful for creating your own smart home sensors. This video builds on the Beginners Guide video I did and provides information about more aspects of ESPHome.
We take a look at analog inputs, light components, FSR force sensors, Lambdas and more.
In my opinion the most useful bit is creating discipline around your YAML configuration files.
Here are some links which reference the areas of ESPHome I use in this video:
ESPHome YAML Template - ESP8266: gist.github.com/letsautomaten...
ESPHome YAML Template - ESP32: gist.github.com/letsautomaten...
ESPHome Config for this sensor: gist.github.com/letsautomaten...
ESPHome Playlist: • ESPHome
Sensor Filters - esphome.io/components/sensor/...
GPIO Binary Sensor: esphome.io/components/binary_...
Info about FSRs from Adafruit: learn.adafruit.com/force-sens...
Pin setup, e.g. pull-up mode: esphome.io/guides/configurati...
Output Component: esphome.io/components/output/...
ADC Component: esphome.io/components/sensor/adc
Automations and Lambdas: esphome.io/guides/automations...
Automation Triggers: esphome.io/components/sensor/...
Restart Button: esphome.io/components/button/...
Sonoff TX Ultimate Repo: github.com/SmartHome-yourself...
00:00 Intro
01:14 YAML Configuration Template File
02:26 Defining Substitution constants in YAML
02:58 Adding Restart Button / Entity to Home Assistant
03:33 Arduino versus ESP-IDF Framework
03:49 Connected Status LEDs to a DIY Sensor
04:44 Adding an FSR Force Sensor to your sensor / ADC Component
07:13 Update Interval, Internal Parameter and Filters
08:03 Lambdas
09:14 ESPHome Automations
10:10 Adding a push button to your sensor
11:13 ESPHome Scripts
12:13 Compile Errors / Clean Build Files
12:52 Outro
#esphome #homeassistant #sensor
9 июл 2024