ESPHome Guide for Advanced and Intermediate Users

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ค. 2024
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 22

  • @OPB682
    @OPB682 4 หลายเดือนก่อน +6

    A video that has been needed for FOREVER.
    PLEASE MAKE MORE.

  • @substandard649
    @substandard649 4 หลายเดือนก่อน +5

    Excellent! I needed this a year ago 😂 I like that you highlighted the option to run the logic on the board rather than in HA, that's a key benefit of esphome and mostly overlooked.

    • @uSlackr
      @uSlackr 3 หลายเดือนก่อน

      Agreed - It is probably the number one feature of ESPHome. It allows the controller to take action locally without relying on HA being available.

  • @jimbo149
    @jimbo149 25 วันที่ผ่านมา

    Thank you for your instructive videos. very helpful

  • @ilco31
    @ilco31 2 หลายเดือนก่อน

    this is wat i so desperatly need more of . great video .would love to see more guides on eps home

  • @sch9986
    @sch9986 4 หลายเดือนก่อน

    This is a great overview and really brings a lot of clarity. Thank you so much

  • @NoCPU
    @NoCPU 4 หลายเดือนก่อน

    It's a fantastic video and hitting a real gap in YT. Excited to see what you release next

  • @uSlackr
    @uSlackr 2 หลายเดือนก่อน

    One clarification - you mention that with lambda functions, a lot of the work can be done on the esphome device, but changes will require new firmware. You are able to pass along value from HA into esphome for some customization. For instance, I needed to offset a sensor value to calibrate it and I was able to use a helper in HA to make the adjustment and pass it to esphome without the need for a firmware change.

    • @lets-automate
      @lets-automate  2 หลายเดือนก่อน

      Yeah, for sure linking them up to HA entities is the best way of keeping flexibility of settings.
      How's the brewery endeavour going?

  • @michaellakeman4208
    @michaellakeman4208 หลายเดือนก่อน

    Very helpful

  • @missko1962
    @missko1962 3 หลายเดือนก่อน

    Really good educational video thanks!
    if I could wish for something, it would be an ESP home project with a load cell, scale, hx711, ESP32 with integration to Home Assistant with calibration and tare and zero function.

  • @floi.2005
    @floi.2005 16 วันที่ผ่านมา

    @lets-automate How is it possible to use instead of wifi a usb connection for data and stuff? Can you please explain How to get usb running in esphome?

  • @uSlackr
    @uSlackr 3 หลายเดือนก่อน

    Thanks for this. i've done a deep dive into ESPhome this past month or so and have learned a lot. I'm looking to automate a small commercial brewery and it appears ESPhome tied to Home Assistant is up to the task.

    • @lets-automate
      @lets-automate  3 หลายเดือนก่อน +1

      That's really cool. Sounds like a nice practical use for using HA and ESPHome.
      Let me know what you end up automating!

  • @giantbrain5793
    @giantbrain5793 4 หลายเดือนก่อน

    nice video.I want to ask, how do I do it if I want to share my IoT project with my family, so that the remaining family connects to the internet, then my esphome device directly connects to my family's new network. Thank you.

    • @sugnaangus
      @sugnaangus 4 หลายเดือนก่อน

      Do your family members already have Home Assistant?

    • @lets-automate
      @lets-automate  4 หลายเดือนก่อน

      Thanks for the comment!
      When you say family, do mean in a separate household presumably?
      What sort of sensor is it, as in what data do you expect your family to get access to from your sensor?
      Also, as mentioned by @sugnaangus, would be good to know if they use Home Assistant too and if any of your systems are accessible externally, e.g. have a public address.
      If they do not, then you could send your sensor data to a cloud service via http or mqtt then they (and you) could access the sensor data from there.

  • @avri210984
    @avri210984 4 หลายเดือนก่อน

    For stuff like wifi ssid and password you should use secrets rather than substitutions

    • @lets-automate
      @lets-automate  4 หลายเดือนก่อน

      Yeah, agreed and I should have mentioned that really. I do in my beginners video I believe.
      You will see that I do use the secrets for the house WIFI SSIS and Password, just not for the on-device AP.
      Some people might be happy to use the same AP details for each device, in which case using the secrets is perfect.
      If using different creds per device for increased security then I would say it is personal preference. You might not want to bother with entries per device in the secrets file. But of course you could.