How to get started with ESPHome and Sonoff

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 91

  • @JuanMTech
    @JuanMTech  4 года назад +2

    ⚠️UPDATE: The written guide was last updated on Dec. 18th, 2019, to reflect some changes in ESPHome.
    --> juanmtech.com/how-to-get-started-with-esphome-and-sonoff/
    Added how to set up:
    ✅OTA password
    ✅Safe Mode
    ✅Captive Portal
    ✅Fallback Hotspot
    ✅!secret

    • @jaimevaldez3058
      @jaimevaldez3058 4 года назад

      Great video Juan! Thanks for the update. I am trying to setup a Sonoff Mini switch to turn on my outside entry lights. I have it working and it turns on and off. I would like to add a lights entity to show my outside light status when I manually turn the switch.

    • @JuanMTech
      @JuanMTech  4 года назад +1

      I have my config files on GitHub. Go into Entities > Lights > Office you can find examples there.
      github.com/JuanMTech/Home_Assistant_files

  • @wizdude
    @wizdude 5 лет назад +25

    Juan, I love watching your videos because you speak so well and have such a clear and concise way of describing everything. You've covered some great topics over the past few months. Keep up the good work and I look forward to watching more of your videos :-)

    • @JuanMTech
      @JuanMTech  5 лет назад

      Always glad to help. Thank you for the kind words.

  • @bertmonkey8457
    @bertmonkey8457 3 года назад

    As many others have said! Thanks for the great video. Clear and easy to follow and understand... especially with the link to your page! Greatly appreciated.

  • @JuanMTech
    @JuanMTech  5 лет назад +2

    REMINDER: Check out the written guide on my website for any changes to the configuration.
    --> www.juanmtech.com/how-to-get-started-with-esphome-and-sonoff

  • @oqnq5193
    @oqnq5193 2 года назад

    The simplicity you've handled the status LED synching with the relay, embarrassed me a lot after half day of googling and desperation. :) thanks

  • @ANUNAYSINHA610
    @ANUNAYSINHA610 5 лет назад

    I was stuck with my Raspberry Pi 3B+ running Hassio not detecting the esp8266 when connected via USB. I am very new to this. Through your video i found about ESP flasher and its availability on Mac so i can flash it directly from my mac and not use ESPHOME to flash. That solved my problem. Thanks a ton. Keep up the great work.

  • @jaimevaldez3058
    @jaimevaldez3058 4 года назад

    Juan I really enjoy watching your tutorials they are clear and to the point. I have also seen you edit using Visual Studio Code. I have VSC running on my Window computer and not the Raspberry Pi integration that can be installed in HASSIO . However, whenever I try to flash ESPHome using VSC on my PC it is always missing some component and I spend a lot of time trouble shooting. I would really like to see a video on how you use VBS with Home Assistant and ESP Home. Great job on your tutorials!

  • @jig1056
    @jig1056 5 лет назад

    Dude your videos are simply awesome.. So informative, and so easy to follow. This ESP home demonstration seems 1000 times easier than doing the setup via the Arduino dashboard. Thank you
    edit: just cleaned up the text, I dictated with Siri the first time and that didn't go so well. :)

  • @Rickr522
    @Rickr522 5 лет назад

    Exactly what I was looking for. A clear and concise explanation. Thanks!

  • @brucerawiri7170
    @brucerawiri7170 5 лет назад +1

    Amazing video Juan. Thanks for the simple process, will be trying this tomorrow for sure 👍

  • @randyarrasmith2013
    @randyarrasmith2013 5 лет назад

    Thank you, Sir. I have been playing with ESPHome recently and really like it. Didn't know I could add it as a panel in HA. Loving that! Thanks for the info!

  • @JuanProductions1214
    @JuanProductions1214 5 лет назад

    Nice video i almost never comment but i love how you uploaded this the day i was looking into ESPHome. in about 5min i have a LED strip working, i used to use McLighting but there updates have been really slow and its getting more and more complicated for the same use. But what i light so far about ESPHome is the HUGE about of customization its just INSANE thanks for the vid.
    P.S. your video keeps glitching a bit, might have both video clips overlapped

    • @JuanMTech
      @JuanMTech  5 лет назад

      Glad to help. That's weird. Didn't see any glitching when I reviewed it after I rendered it. Will double check. Wonder if anyone else is seeing the same. Thanks for letting me know.
      UPDATE: So, I double checked the video uploaded and it seems that it was an issue on RUclips side. It no longer has that issue. Thanks for letting me know.

  • @drreality1
    @drreality1 5 лет назад

    Thank you for all the effort in doing the educational videos

  • @aaaafaaaaf
    @aaaafaaaaf 5 лет назад

    Thank you .. this was very informative. love your videos bro, keep them coming.. I have ESPhome running for a while, but I learned something today... I can control both the LED and the relay together, I don't need an automation to turn the LED when the switch goes on.

  • @iot_enthusiast
    @iot_enthusiast 5 лет назад

    Very well articulated... loving it!

    • @JuanMTech
      @JuanMTech  5 лет назад

      Glad to help. More videos to come.

  • @sebydocky5080
    @sebydocky5080 5 лет назад

    Great and clear video. Bravo....Cheers from France

  • @MaxGoddur
    @MaxGoddur 3 года назад

    Great video but one suggestion use zoom when you are showing smaller items in the vidoe.

  • @jpjcrossi1980
    @jpjcrossi1980 5 лет назад

    As always. Great vídeo!

  • @joerglaukemper2687
    @joerglaukemper2687 3 года назад

    Many thanks for the great video! With your explanation it`s really easy to get an ESP sensor running. However, I would like to process the incoming data in Home Assistant with Node Red. I used an API node but I can’t see any debug messages. May be using an API node is not the right way, or I used a wrong configuration for the node. Info: My Raspberry is connected via WiFi to my PC.

  • @-vermin-
    @-vermin- 5 лет назад

    Another great video. Just one minor issue, there's a rather annoying black frame flicker every 5 seconds or so in the video. Happens at all the resolutions I tested and for Firefox and Chrome. I did check another video to make sure it wasn't my PC - it wasn't.

    • @JuanMTech
      @JuanMTech  5 лет назад

      Hmm. I'll double the copy I have on my computer. If I don't have that. Will have to check with RUclips to see why the video has that so they can check.
      UPDATE: So, I double checked the video uploaded and it seems that it was an issue on RUclips side. It no longer has that issue. Thanks for letting me know.

  • @bruxy70
    @bruxy70 5 лет назад +1

    Great video. How do you compare configuring Sonoffs using ESPHome vs. Tasmota. Which one is easier? Which one do you use and why?

    • @JuanMTech
      @JuanMTech  5 лет назад

      To be honest, I haven't used Tasmota. Didn't like the idea of using MQTT in the first place. However, for what I researched so far, ESPHome is good in a lot of things but, Tasmota has a few other things that ESPHome doesn't have, yet.

    • @bruxy70
      @bruxy70 5 лет назад +1

      @@JuanMTech Ok. I did change all my sonoffs (and most of other devices) to ESPHome, initially I found it more complicated - in Tasmota you just select the sonoff type and you are all set, in ESPHome you have to manually configure all GPIOs and the logic yourselves. And I was also struggling a bit with WiFi issues. But once I fine-tuned it, it was just a matter of copy&paste and I quite like it. Plus I find it much more flexible - you can add different sensors and do some scripting, in Tasmota you have to do that in Home Assistant. Just wanted to hear what the others have experience with. It might be worth having somewhere a library of configs for different sonoffs, to make it easier to start....

    • @JuanMTech
      @JuanMTech  5 лет назад +1

      I definitely see your point. I agree on having a library of configs to make it easier for a lot of people. My selling point was that I didn't need MQTT to use it.

    • @atom6_
      @atom6_ 5 лет назад +1

      @@JuanMTech MQTT makes life way easier, with Tasmota you can even control stuff without the need for anything else. Then again, I don't see your point eliminating MQTT while using a convoluted piece of software like home assistant.

    • @Fabian-_-
      @Fabian-_- 5 лет назад

      @@JuanMTech wait, Esphome doesn't use MQTT? Does it use HTTP? If yes, is it possible to use MQTT instead?

  • @jamescullins2709
    @jamescullins2709 4 года назад

    How do I access my router settings? Thanks good video I'm just new to this.

  • @dukeplc
    @dukeplc 5 лет назад

    Love this channel.

  • @Sim3Dfly
    @Sim3Dfly 5 лет назад

    Thanks for the video.
    I'm also not seeing the benefit of using ESP home. I like the idea of compiling and uploading the firmware via browser. But configuring the sensors and switches and LEDs and buttons is so complicated! On Tasmota its preconfigured and works very well. Its so hard to find out, which port is for what.
    I think ESPhome should be a lot easier the configure.

  • @pangklee1
    @pangklee1 5 лет назад +2

    Sorry new to espHome any reason why you need to port forward? Trying to limit the numbers of ports open to ha only

    • @JuanMTech
      @JuanMTech  5 лет назад

      You don't. However, if you have remote access set up in HA, when you try to open the ESPHome Dashboard. The URL that would try would be the DuckDNS URL. Now, if you set up to open ESPHome directly in HA using the panel_, then you can set up to open the local IP for that device.
      This is an update that I'm going to put in the article (link in description) later on.

  • @vtech8716
    @vtech8716 5 лет назад

    Great tutorial, thanks

  • @rottison
    @rottison 5 лет назад

    great video thanks

  • @jeremymouton1515
    @jeremymouton1515 5 лет назад

    really interesting, great job

  • @phuongnguyenthanh8887
    @phuongnguyenthanh8887 4 года назад

    can you show me how to connect Module sim 800L, with D1_mini with home assistant.

  • @georgelza
    @georgelza 3 года назад

    ... tried to run the ESPHome flash tool on my MAC, it tells me I don't have permissions, assuming I can also use espeasy,py tool, that we use to flash sonoff fw to sonoff devices, all it's doing is flashing a bin file?

  • @lyalljohnson5334
    @lyalljohnson5334 5 лет назад

    Great video. Thank you for this but can you please tell me how I go about installing that ESPHome flasher tool please? Thank you

    • @JuanMTech
      @JuanMTech  5 лет назад

      There is a link for it on the written guide. Once you download it, it doesn't need to be install. Just click on it and it would run.

  • @jeffchan6614
    @jeffchan6614 5 лет назад

    Great video tutorial! I learned a lot, thanks so much. By the way, how did you make those LABELS in HA? e.g. Bedroom TV, Bedroom AC and Fan, etc.?

    • @JuanMTech
      @JuanMTech  5 лет назад

      I used the markdown card for Lovelace

  • @amirzz1100
    @amirzz1100 5 лет назад

    Mennnn I am new in to smart home stuff and your videos helped me so muchhhh. Thank you 100 times. Is this flashing thing also possible with sonoff Touch switches?

    • @JuanMTech
      @JuanMTech  5 лет назад

      Check on the ESPHome website. I believe it is.

  • @thanasisglt
    @thanasisglt 5 лет назад

    Great tutorial, thanks!
    Is it possible to flash the original sonoff firmware and use eWeLink app after ?

    • @JuanMTech
      @JuanMTech  5 лет назад

      Never thought about that. Not sure to be honest. But I'm thinking that most likely not

  • @jamegrabham9992
    @jamegrabham9992 5 лет назад

    Great video Juan, thanks. My question is similar to the one below, which language is better, ESPHome or Tasmota???

    • @JuanMTech
      @JuanMTech  5 лет назад +1

      I haven't use Tasmota to be honest. However, for what I researched before using ESPHome, I like it better. There are some things that Tasmota has that ESPHome doesn't have, yet.

    • @jamegrabham9992
      @jamegrabham9992 5 лет назад

      @@JuanMTech Thanks Juan for your reply. Your videos are excellent for me, as you make them quite simple to follow. I am in the process of moving from ST to HA(like this week). I plan on replacing some of my switches from z-wave to Kule wifi, and also use some of the Sonoff appliances...I have never quite understood MQTT.

    • @MyChannel-yr7zp
      @MyChannel-yr7zp 5 лет назад

      @@JuanMTech Hello, can you please explain what things tasmota has but not esphome?

  • @bofroe810
    @bofroe810 4 года назад

    Hi ,
    I have a question.
    I flashed the esphome and it works perfect.
    Only i now have a new installation of hassio.
    Is there a way to reinsert the switch in the dashboard.

    • @JuanMTech
      @JuanMTech  4 года назад

      I'm not sure I understand the question.

  • @M.4y
    @M.4y 5 лет назад

    Can you help me with IFTTT webhooks. I want to set an input_number. Thanks

  • @stevetrapp1095
    @stevetrapp1095 5 лет назад

    No link to hardware in description

  • @GiuseppeLodiRizziniOfficial
    @GiuseppeLodiRizziniOfficial 5 лет назад

    How can I do if I use HA installed on raspbian without possibility to use addons?

  • @jamescullins2709
    @jamescullins2709 4 года назад

    after installing ESPhome I started it, clicked on Open Web UI and got 502: Bad Gateway

  • @javiercalderon1081
    @javiercalderon1081 5 лет назад

    Juan, thank you for the videos. I have a question, if i already have a sonoff with tasmota flashed OTA, can i just generate the ESPHome file (complile) and do OTA update or i need to flashed first with ESPHome.
    thanks

    • @JuanMTech
      @JuanMTech  5 лет назад

      There is an option available in the ESPHome website to migrate from Tasmota to ESPHome.

    • @javiercalderon1081
      @javiercalderon1081 5 лет назад

      @@JuanMTech perfect, i will check. thanks again

  • @John_Ridley
    @John_Ridley 4 года назад

    failed right out of the gate - I don't have any idea what Home Assistant is.

  • @Hucksleyyy91
    @Hucksleyyy91 5 лет назад

    You don’t need to download the binary and upload it with your computer just plug the uart into the pi select it and upload it with esphome :) so much easier

    • @Hucksleyyy91
      @Hucksleyyy91 5 лет назад

      Thank me later

    • @JuanMTech
      @JuanMTech  5 лет назад

      That's true. But, I believe you still have to restart HA or the add-on so it can see the device connected via USB. Is that correct?

    • @Hucksleyyy91
      @Hucksleyyy91 5 лет назад +1

      JuanMTech I couldn’t see it in esphome until I stopped my add on “network ups tools” after that i didn’t have to ever disable it ever again for it to show up and “network ups tools” is always running ...If you have anything using your USB try disable it so esphome can detect your uart 1st time. Should be good !

    • @JuanMTech
      @JuanMTech  5 лет назад

      Thanks for sharing. Always welcome to get feedback and support 😁

  • @joshuachettiar86
    @joshuachettiar86 4 года назад

    Is this using the PC as a server

  • @scubieman
    @scubieman 4 года назад

    Do you use the API in esphome?

  • @bdubs6666
    @bdubs6666 5 лет назад

    I Would love to use the ESP home method, it seems much simpler. However, as always with my projects I have having issues. The step where you download the binary which is supposed to download the garage.bIn file, is not working. I get an error messatge that states "Failed - No File" and the filename is download.txt which seems odd. I am using Chrome as my browswer which I am assuming works fine? The validate and compile of the garage.yaml file validated and compiled successfully. Any ideas?

    • @smdemmery
      @smdemmery 4 года назад

      Same issue here im in Chrome too, not sure thats the issue though. I got no file found on the .yaml edit too, but located it using Samba share & edited that way. It compiles but It seems like I have a pathing issue of sorts. Im using SSL. Really bugging me any suggestions?

    • @smdemmery
      @smdemmery 4 года назад

      Sometimes its the simple stuff....Quick restart of Hassio & all good :-)

  • @MyChannel-yr7zp
    @MyChannel-yr7zp 5 лет назад

    I have one problem with esphome ,whenever my RIP gets booted again due to say power failure ,entities on lovelace ui becomes unaiavlebe even though node is connected to home assistant as can be seen in esphome user interface.What cab be the issue?

    • @JuanMTech
      @JuanMTech  5 лет назад

      That's weird. Never had that issue on my end. I'm not sure what it could be. If you do find the answer, let me know.

    • @MyChannel-yr7zp
      @MyChannel-yr7zp 5 лет назад

      @@JuanMTech I have read about solution on this issue it's related with mdns also there is options in esphome option that say status_use_ping. I have done lots of search on this but dint find any reason or solution can you help me in this?

  • @adrianbonilla5537
    @adrianbonilla5537 5 лет назад

    Buenosdias.pregunta de principiante. Si se cae el internet los dispositivos que estan con esphome en home asistant seguirian funcionando por red local?

  • @jamescullins2709
    @jamescullins2709 4 года назад

    What happened to the "add new repository" It is no longer in add-ons where did they move it to?

    • @weirjwerijrweurhuewhr588
      @weirjwerijrweurhuewhr588 4 года назад

      Go to the Add-on store and click the 3 dots on the top right of the menu bar. (You have probably figured this out already, but nice for people who pass by and can't find it).

    • @jamescullins2709
      @jamescullins2709 4 года назад

      @@weirjwerijrweurhuewhr588, Yes, I did, buy thank you for responding. This stuff is changing so fast you hic-up and you are behind. Thanks

  • @ErickHuonReis
    @ErickHuonReis 5 лет назад

    Hi, could you please post the code I should use for Sonoff RF ? I tried the same as Sonoff Basic but the remote control didn't work. Thanks.

  • @MrBoricuaTec
    @MrBoricuaTec 5 лет назад

    Where can I get the USB thing and cables

    • @JuanMTech
      @JuanMTech  5 лет назад +1

      It's in the article. Link in description

  • @kriss1313
    @kriss1313 4 года назад +1

    bye bye mqtt :)

  • @hpanpan7178
    @hpanpan7178 3 года назад

    If only there were English subtitles or Chinese subtitles. Can't understand...