How to Install Tasmota & ESPHome | SONOFF ESP8266 w/ Home Assistant

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มิ.ย. 2024
  • How to get started with ESPHome or TASMOTA on Smart Plug. Complete step by step guide how to install it on one of my favorite smart plugs. The SONOFF S31 - amzn.to/40uVxJC
    ⚡Parts
    USB TTL (little red guy) - amzn.to/46nWDZ7
    Clips - amzn.to/40w8SkM or s.click.aliexpress.com/e/_Ddv...
    Helping Hands - amzn.to/3SHjXNU
    Omnifixo - omnifixo.com/
    USB Switch Cable - amzn.to/3u8E91b
    Voltlink USB TTL - www.tindie.com/products/voltl...
    Sonoff S31 Setup digiblur.com/wiki/devices/plu...
    ⚡Preflashed Options
    Sonoff S31 - cloudfree.shop/product/sonoff...
    Athom - s.click.aliexpress.com/e/_DEG...
    ⚡Products We Use/Recommend
    Amazon US - amzn.to/2YZNDeO
    Amazon UK - amzn.to/2TnG2R4
    Amazon CA - amzn.to/2JWsNq5
    ⚡Be Social!⚡
    Main Website - www.digiblur.com
    Discord Chat - discord.digiblur.com
    Patreon - patreon.digiblur.com
    Join / @digiblurdiy
    Facebook - facebook.digiblur.com
    Instagram - instagram.digiblur.com
    Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you!
    00:00 Intro
    01:52 Parts
    06:12 How to Flash the Plug
    11:30 TASMOTA - Install/Flash
    17:03 TASMOTA - Integrate with Home Assistant
    23:08 ESPHome - Install/Flash
    32:12 ESPHome - Integrate with Home Assistant
    34:38 Closing Thoughts

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

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

    Thank you! Just started with home assistant, bought 4 of the S31…held some breakout wires to flash first one (pretty tedious), have the clips and usb power switch coming today. Took me 3 times to realize SSID is case sensitive. Have it flashed (used ESPHome via command line on Mac) and watching my smoker right now via the app. So frickin cool!

    • @digiblurDIY
      @digiblurDIY  หลายเดือนก่อน +1

      Nice work!

  • @TismoGaming
    @TismoGaming 7 หลายเดือนก่อน +3

    These plugs have been the best smart item I’ve ever bought. Buy it, flash it , forget about it and it just keeps working

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

      They are still my favorites for sure! Screws, pin headers, etc. I did finally have to replace one from 2018 that has been kicking away on my gas dryer. I figure I got my money out of the usage.

  • @nicolasrabate991
    @nicolasrabate991 7 หลายเดือนก่อน +2

    I like very much the spirit of your tutorials. Thanks a lot.

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

      Thanks! I try to keep it normal paced where people can jump around and grab stuff they need.

  • @tbluge
    @tbluge หลายเดือนก่อน +1

    Very helpful thanks!

  • @jimbrewer5821
    @jimbrewer5821 7 หลายเดือนก่อน +3

    Travis, Great video of flashing one of the most versatile "go to" smart plugs. This update video provides a refreshed/updated step by step instructions for those getting into Home Assistant, as well as a refresher with tips/tricks for those that have previously done it. Thanks!

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +1

      I bought the two S31s for spares as I had one from 2018 go out but then I thought, hey let's do it again and add ESPHome too. The S31 never gets old!

  • @gadget1968
    @gadget1968 7 หลายเดือนก่อน +2

    Thanks for the content ..... I am sure it will help many ..

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

      Selfish method of making reference material for myself plus being able to point users to some things as needed.

  • @jmr
    @jmr 7 หลายเดือนก่อน +2

    That magnetic helping hands setup is dope. Nice to get an update of how things have changed. I assume this video is out of date again in 3.... 2.... 1..... 😂

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +1

      they are pretty awesome. The cool ground plane option is cool too. So compact and versatile.

  • @Razor_Burn
    @Razor_Burn 7 หลายเดือนก่อน +1

    Awesome tutorial mate! 👍

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

      Thank you 👍

  • @surfingcuriositywaves4046
    @surfingcuriositywaves4046 6 หลายเดือนก่อน +1

    Thanks!

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

      Thanks for the super thanks yo!

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

    I have been using two of these for quite a while now. One plugged into the small window unit in the shed. The other powering the 3dprinter. I haven't bit the bullet on installing and configuring HA yet. They are both running tasmota though.
    Should have bought more on Prime day.

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

      Watch the sales. Apparently they were on sale yesterday before the video too.

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

    Thanks Travis, I just ordered everything I need for this from your links above. Something I would love to see you do is to flash Lillygo's T-Display-S3 Touch Edition with Tasmota. It's a esp32 with a touchscreen about the size of a decora switch. It would be cool to have a couple of buttons on the screen and display data like temp in that room from a different esp32. I have found some info about this but have not been able to get it to work.

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

      I have one model that has a small screen on it, luckily those with the USB ports they are meant to be flashed so a lot of times you can just attach the cable and go. Some make you hold down the boot button while applying power but that's usually about it. Easy peasy there.

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

    Thank you for this. Worth mentioning is that Sonoff also has a S31 Lite - with no power monitoring, and the holes on the little board are blocked... those are the ones I just ordered and received... not knowing this. Ah well, they're going back.

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +1

      The lite is the same board just missing the power monitoring as you said. There are no holes. Just pads on both models.

  • @kenmorales753
    @kenmorales753 5 หลายเดือนก่อน +1

    Travis. Love your content. I assume you live in south Louisiana ? One of your vids made me think so.

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

      Thanks!! Yup, talked about it a few times in various streams and videos too.

  • @patteahan8704
    @patteahan8704 7 หลายเดือนก่อน +2

    Would love to see your take on the latest MyQ debacle!

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +2

      I actually got rid of MyQ about a month after having it last year. Been rocking this setup on both of my doors - digiblur.com/2022/10/10/myq-garage-esphome-dual-remote

    • @patteahan8704
      @patteahan8704 7 หลายเดือนก่อน +1

      @@digiblurDIY can you review the ratgdo?

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +1

      I have one on order but of course they are backordered.

  • @caper58
    @caper58 6 วันที่ผ่านมา

    New to HA, looking to flash a sonoff r2, and I have followed a lot of your tutorials but you threw me a curve at 25:05 when you jump over to the configra?.. where did you go?, it appeared to be another url location but you lost me. Sorry if I was missing something 😵‍💫
    Just figured it out. (my mama never accused me of being real smart:)

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

    Timely, considering I'm new to HA and recently flashed 4 Emporia Vue 2 power monitors with ESPhome with help from your video on that subject. I've been looking at the S31 plugs for ESPhome integration. Though Tasmota looks interesting, I'm already into ESPhome now (I get that I could do both).
    I already have a few Zigbee plugs and end devices, so wonder about the relative reliability of the two approaches... I have a well house with a metal skin that Zigbee seems to have a hard time penetrating. Any thoughts appreciated!

    • @RossReedstrom
      @RossReedstrom 7 หลายเดือนก่อน +1

      Metal shells on buildings are really hard for RF. Getting an antenna through the wall would help immensely. I wonder if those cheap truck stop "improve cell signal in your car" passive antenna pairs would work for Wi-Fi frequencies (which includes zigbee)

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

      @@RossReedstrom A Zigbee plug 'router' with an external attenna would probably do the trick if I could find one.
      Where do you stand on Zigbee vs. ESPhome or Tasmota? The mesh aspect of Zigbee is appealing, but then again, that is what HA does through integrations and across a wider range of products...

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +1

      Since this is WiFi it could be fixed with access points in your home around, which also is an added benefit to other WiFi devices you have such as phones, computers, etc.

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

      @digiblurDIY So, a better solution to getting signal inside that well house than Zigbee? It's worth a try, and I get to flash somemore ESP devices...

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +1

      Yes. If you can pull some ethernet cables it works damn well.

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

    Are there any means to calibrate power for devices with power monitoring in ESPhome, like there are in Tasmota?

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

      Yes, it isn't the same but yes you can adjust the values via filters.

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

    i have not used esphome yet.... and if both are available for all devices i think i'd stick with tasmota just because.... i'm familiar, it seems easier, and it leaves me with a single integration in HA vs 2. once thing i question on that and maybe you, or someone else can or cannot answer... is that plug rated for 15A? i know you avoid the sonoff basic because of it's 10A limitation vs the shelly having 15 but does that plug do 15A? most of what you'd probably use it at wouldn't even hit that limit but just a curious question.

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

      I haven't had issues with using these at 10A or so but I still like to give myself headroom on things but these are rated for 15A and not 10A.

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

      @@digiblurDIY perfect. that's what i like to hear!

  • @Genesis8934
    @Genesis8934 7 หลายเดือนก่อน +1

    Probably going to come back here when I need to remember how to flash this type of device lol

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +1

      Definitely what I made this one for. When people get something to flash, jump around to the parts that apply.

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

    I must be missing something. I hooked the S31 to the USB TTL vcc-3v3 gnd-gnd tx-rx rx-tx. I power theCP2102 on while holding the button on the S31 for a few seconds. I go Tasmota Install click on install and choose the CP2102 USB port, Then device dashboard pops-up and I choose install Tasmota then choose to erase the device then install. After that a install failed window pops-up with this massage. "Failed to initialize. Try resetting your device or holding the BOOT button while clicking INSTALL." I tried the restarting and the button, checking the wires angai and again and I still get the same message. Any help would be greatly appreciated.

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

      that's pretty much the gist of things. Check your connections and make sure all is good. Might be a bad wire too as I've seen that. Make sure you are using the correct RX and TX on the plug.

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

    how do you make it restore to last status on power outage ?

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

      In Tasmota or ESPhome?

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

      ​@@digiblurDIY both if you can, thank you

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

    Your YAML code posted on your site under S31 switch doesn't work. Won't allow a manual save or anything. Gives an error in the code.

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

      Thanks... fixed it. Adding in the new changes for the latest esphome and I must of nuked two spaces on the total energy sensor.

  • @EmilePolka
    @EmilePolka 7 หลายเดือนก่อน +1

    as much possible, ill avoid any IoT devices that still uses esp8266, that thing can be easily kicked out to the wireless by somebody and put it in AP mode. yep, deauth attacks on esp8266 is very easy thing to do, of course any esp chips that is esp32 or later are not vulnerable on this since it support 802.11w-2009 management frames.

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +2

      You have some bored neighbors? I did hear Athom is coming out with ESP32-C3 plugs soon.

  • @bigneilh
    @bigneilh 7 หลายเดือนก่อน +2

    sixth

  • @5mxg
    @5mxg 7 หลายเดือนก่อน

    @esphome config you should probably use OTA password

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

      It's on an isolated private network so it is fine. No worries about locking myself out later.

    • @5mxg
      @5mxg 7 หลายเดือนก่อน

      @@digiblurDIY I think people may copy-paste your configs and not be aware, that any thing that has access to network can replace software in devices with no password. By setting it you care of those who follow your advices.

  • @patrickburton6130
    @patrickburton6130 7 หลายเดือนก่อน +1

    Thanks!

    • @digiblurDIY
      @digiblurDIY  7 หลายเดือนก่อน +1

      Many thanks for the super thanks!!