UPDATED: get HASSIO and Tasmotized Sonoff up and running!

Поділитися
Вставка
  • Опубліковано 12 лют 2018
  • www.DrZzs.com - for longer description and product links.
    UPDATED UPDATE (9/2018):
    Use this method for flashing instead! Much less prone to errors:
    • How To Change Firmware...
    UPDATE:
    There has been an update to the esp8266 board in the manager to 2.4.1, and it breaks this tutorial. only update to 2.4.0.
    *ESP8266 Board version 2.4.0
    To remove default compile options for floating point printf and scanf which are not being used by Tasmota and save 15k code space replace in Arduino IDE folder portable\packages\esp8266\hardware\esp8266\2.4.0 file platform.txt with the Tasmota Source code file arduino\version 2.4.0\platform.txt
    Use this URL to get version 2.4.0:
    github.com/esp8266/Arduino/re...
    Or select the version to install, and choose 2.4.0
    Everything you need to get Home Assistant running and controlling a Tasmotized Sonoff
    Here's some of the critical info you'll need:
    home-assistant.io/docs/instal...
    Configurator Panel:
    panel_iframe:
    configurator:
    title: Configurator
    icon: mdi:wrench
    url: hassio.local:3218
    Switch setup for config.yaml
    switch:
    platform: mqtt
    name: "Sonoff Switch 01"
    command_topic: "cmnd/sonoff/power"
    state_topic: "stat/sonoff/POWER"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"
    retain: true
    ESP8266 board manager URL:
    arduino.esp8266.com/stable/pac...
    Tasmota Releases page:
    github.com/arendst/Tasmota/re...
    IMPORTANT LINKS:
    drZzs.com
    #DrZzs
    www.drzzs.com/shop
    drzzs.com/products/
    www.amazon.com/shop/drzzs
    Social Media:
    Discord DrZzs - discord.me/drzzs
    DrZzs Facebook Page: DrZzs
    Message: m.me/DrZzs
    Group: / 1969622823351838
    Discord Home Assistant - / discord
    Twitter: / dr_zzs
    Instagram: / drzzs
  • Навчання та стиль

КОМЕНТАРІ • 871

  • @pweb4941
    @pweb4941 6 років тому +12

    Brilliant. Although my brain hurts after watching your videos, they are supremely understandable , and you can always watch again.

    • @DrZzs
      @DrZzs  6 років тому +3

      Thanks!
      I stuff a lot in there and I try to keep them short and fill every second with something important. If I'm every going too fast or doing too many scene changes let me know.
      I'll keep cranking them out!

  • @ytbdej
    @ytbdej 6 років тому +1

    Thank you so much. I first banged my head at several toutorials on how to flash the sonoff before trying your vid on over the air for the sonoff, it was so easy. Then I was about ready to give up on mqtt and home assistant, then again you came through with this video. Glad to see that you lay it out so that someone other than a computer programer can understand. I will just come straight to your vids next time I'm ready to start something.

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      It helps that I am NOT a programmer!
      Glad to help.

  • @SergioMontini
    @SergioMontini 6 років тому +1

    hey dude, just came across your video whilst looking for some info on SONOFF. I just want to thank you for this video, and the time you put into it. Awesome job, keep it up buddy!

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      glad to help. I love those little sonoffs.

  • @PhilMandryk
    @PhilMandryk 6 років тому +1

    Thanks for this new video. I just got mine flashed last night after two days of trying different methods. Keep up the great job.

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      Glad you got it!

  • @denispublic2482
    @denispublic2482 6 років тому +1

    Thanks for your videos. I got my first sonoff programed and running in Home Assistant, thanks to you. Love it

    • @DrZzs
      @DrZzs  6 років тому

      Awesome!
      first of many!

  • @stevenladich428
    @stevenladich428 5 років тому

    Bro! i got into home assistant simply to get my garage door to open with siri, but WOW have i "gone down a path". Your vids have really been instrumental in helping me get my HA setup and sonoffs working. this morning i was able to call my first switch with HA after several weeks of learning.. THANK YOU for the comprehensive tutorials. Really appreciate it.

    • @DrZzs
      @DrZzs  5 років тому +1

      Awesome!
      Yes it is a bit of a rabbit hole. But it's so cool!
      I'm glad I've been some help to you.
      Have you joined the Facebook group or Discord chat? There are a lot of good people there willing to share their knowledge, and you will be able to help newer people now too!
      Discord Server Link: discord.gg/4XStfrV
      Facebook: facebook.com/groups/1969622823351838/

  • @martinmchugh1924
    @martinmchugh1924 6 років тому +1

    It's blows my mind how much work these videos must take! Keep'em coming, some day I'll find the time to install home assistant.

    • @DrZzs
      @DrZzs  6 років тому

      ha! When you're ready to jump into HA, we'll be here to help.
      thanks!
      It does take a lot of work. One of my goals is to keep the quality up, but decrease the time it takes to make one. So far I think the HA Dashboard video will be less labor intense.

    • @martinmchugh1924
      @martinmchugh1924 6 років тому +1

      DrZzs I'm an Automation Engineer that has no time to automate at home! I have some sonoffs, some Rpis and Arduinos around the place....all I need now is time! Can you do a video on finding some haha

    • @DrZzs
      @DrZzs  6 років тому +1

      Oh don't I wish!
      I'll put "how to build a time machine" on my future videos list.
      For now, I'll get working on that Flux Capacitor.

  • @mr.advocatusdiaboli1745
    @mr.advocatusdiaboli1745 4 роки тому +1

    Fantastic, managed to get my old flashed devices up and running with the new version of home assistant. Thanks a million! Subscribed. A very simple explanation

    • @DrZzs
      @DrZzs  4 роки тому

      Glad it helped

  • @mikevee174
    @mikevee174 6 років тому +1

    Completely Awesome !!!! I want to thank you for your tutorials. Your videos has stimulated my curiosity and got me into this new hobby. I just wanted to thank you again and keep up the good work. Always looking forward to your new videos. When I subscribed you had less then 800 sub and look at you now.

    • @DrZzs
      @DrZzs  6 років тому

      thanks man!
      just hit 5000 subs yesterday! Crazy!

  • @alcidesmarcano
    @alcidesmarcano 6 років тому +5

    Absolutely great video! I want to thanks for your work and efforts helping newbies like me to get knowledge, I saw many tutorials on youtube but like yours no one, you are the best!!! Thanks again and keep waiting for more

    • @DrZzs
      @DrZzs  6 років тому +1

      Wow! Thanks!
      It helps that I was a newbie not long ago. I still am really.
      Glad to help!

  • @JeffreyHammerCam
    @JeffreyHammerCam 6 років тому +2

    AHHH! I needed this video last week :-) I'm excited to see how much of this will match up with what I had to figure out myself with Google and UA-cam

    • @DrZzs
      @DrZzs  6 років тому

      doh!
      This is also the video I wish I'd had 6 months ago!
      My main source of video content is what I wish I'd had when I stumbled through these projects myself.
      Glad to know I'm not the only one.
      If you find mistakes or differences, let me know.
      Thanks!

    • @JeffreyHammerCam
      @JeffreyHammerCam 6 років тому

      I'm about a month in to my journey, so I'm still learning the basics but I'm moving quickly - fun seeing everything I can do and wishing I knew how to do everything I want to do - so far the learning is still fun, not too frustrating just yet...

    • @jaycollett1926
      @jaycollett1926 6 років тому +1

      Exactly the comment I had! But I started my jouney with sonoff and Hassio because of this channel so nothing but love!

    • @DrZzs
      @DrZzs  6 років тому

      Awesome!
      When you have troubles (or success!) let me know. I'm still learning too.

  • @aigonewrong.
    @aigonewrong. 5 років тому

    Back here after another year, since I had to upgrade hassio manually. Still super helpful. Thank you!! Also watched the house tour, super impressed.

    • @DrZzs
      @DrZzs  5 років тому

      thanks man! good to see your name again :)

  • @MarcoSpelde
    @MarcoSpelde 6 років тому +1

    My new favorite video ! Everything in one clear vid. I just reinstalled hassio today because I fried my sd card (remember kids, don't just pull the power cord out of your pi, do a proper shutdown via ssh) so this video could't be timed better ! Ditched the WeMo emulation for the sonoff's as of now, and just use the proper mqtt way thanks to this video. I still have 5 tasmotized sonoff's laying around, flashed with Atom on my Mac, but next time i'll try this way. Greets from the Netherlands !

    • @DrZzs
      @DrZzs  6 років тому

      Awesome!
      Maybe a video someday on installing an off button on a pi!
      How are the Netherlands doing in the Olympics? I haven't had a chance to watch much.
      I'm interested to try that ESPtools method for flashing too. Looks super easy.

    • @MarcoSpelde
      @MarcoSpelde 6 років тому +1

      I believe at the moment we are second in the medal list. Our skaters are unbeatable. :) And yes !!!! An off button on a Pi !!!! Yeaaaaaahhhh!

  • @issasaid92
    @issasaid92 6 років тому +1

    I love youuuuu

    • @DrZzs
      @DrZzs  6 років тому +1

      haha!
      Thanks! Nice to get a love note on Valentine's day!
      The HA Dashboard is coming together. Hopefully I can get it done in the next week or so.

  • @Bahadurpk
    @Bahadurpk 6 років тому +1

    Great video thanks, I have been working on sonoff-tasmota to work, and finally, after several fails, I succeed, though what worked for me was platformio.

    • @DrZzs
      @DrZzs  6 років тому

      Glad it worked!

  • @shaggeeee1
    @shaggeeee1 6 років тому +1

    Great Video DrZzs :) love them their amazing. 2.4.1 board Manager worked fine for me

    • @DrZzs
      @DrZzs  6 років тому

      Excellent!
      Glad to hear it!

  • @cecastil
    @cecastil 6 років тому +1

    Great tutorial (as usual!). 4 sonoff basic flashed with tasmota thanks to you! Keep up the good work!!

    • @DrZzs
      @DrZzs  6 років тому

      awesome! will do!

    • @DrZzs
      @DrZzs  6 років тому

      Dude! is that Google Glass in your profile pic?!? Wishing I had one of those still...

    • @cecastil
      @cecastil 6 років тому

      Good catch. Yep, those are Google Glass(es). Got to enjoy them for a while

  • @naytron210
    @naytron210 5 років тому +1

    Liked for the excellent content, subscribed for the Dexterity Modifier. Awesome vids man!

    • @DrZzs
      @DrZzs  5 років тому +1

      haha!
      thanks!

  • @distancelab2010
    @distancelab2010 6 років тому +1

    Awesome video thanks for the pointers. I appreciate the work it takes to do these videos, thank you so much. :)

    • @DrZzs
      @DrZzs  6 років тому

      You're welcome!
      Thanks for letting me know. It sure is a lot of work.
      As long as I know it's helpful and folks find it useful I'll keep doing it.

  • @DeclanGreen
    @DeclanGreen 6 років тому +1

    Thank you for your instructive videos, I learn a lot from them. I have moved over to Home Assistant from starting to use openHAB as I personally find there are more helpful videos like yours. Thanks again and I voted.

  • @ki8as
    @ki8as 6 років тому +2

    Love the new web page. Great job and information.

    • @DrZzs
      @DrZzs  6 років тому +1

      Thanks!

  • @TheRealDanielsan
    @TheRealDanielsan 6 років тому

    LOOOOVE YOUR VIDEOS!!! KEEP GOING! I Supper appreciate all the hard work & time you put in them.

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      Glad they're useful to you

  • @Rickr522
    @Rickr522 6 років тому

    I don't think I have seen one of your videos that I didn't like or learn something from. I've been using OpenHAB and wanted to give Home Assistant a try. This video answered a lot of my questions. Great job as always and Thanks!

    • @DrZzs
      @DrZzs  6 років тому

      Cool!
      You're welcome.
      Let me know what you think about OpenHab vs Home Assistant.
      I don't expect I'll switch, but I do want to try OpenHab. I've had a lot of people ask if I would do a comparison.

  • @bst3ck
    @bst3ck 6 років тому +1

    Great update video and well summarized. Looking forward to your upcoming videos.

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      Working on HADashboard now. It might take me more than a week to get it done though...

    • @bst3ck
      @bst3ck 6 років тому

      Sounds great to me. I literally just started looking into this over the weekend. So when I saw your poll on the website yesterday I made sure to add my vote. I was glad to see I was not the only one. So I am looking forward to the video. Thanks for all your tutorials. They have really made it easy to get started.

  • @un1cus
    @un1cus 5 років тому

    You are a god among men. I would never be able to do this without your videos. In the past couple of days I've set up quite the advanced system in our house. Its even wife-approved! Thank you :-)

    • @DrZzs
      @DrZzs  5 років тому

      excellent!
      May you continue to be successful!

  • @MartinDolan
    @MartinDolan 5 років тому

    Thanks for this!
    I've used the first half of your video to fill in the gaps to getting my sonoff basic that I upgraded the memory on flashed with Tasmota, AND to properly recognise the extra RAM, AND also to properly fall back to fallback to device setup via its own web server when it can't connect to my WIFI SSID.
    I've also preprogrammed in my current SSID and password and made a flashable BIN file that I can flash with ESP_Easy...
    So if I ever change password etc, I'm covered, I can do OTA updates , basically best of everything :D
    Now to watch the second half and get my head around MQTT

  • @rorymackay2141
    @rorymackay2141 5 років тому

    Great Work DrZzs , love your videos!

    • @DrZzs
      @DrZzs  5 років тому

      Thanks man! I'll do my best to keep making good ones.

  • @kasyxkm
    @kasyxkm 5 років тому

    FINALLY tasmota is working on my sonoff's, thx!

  • @easwaran83
    @easwaran83 6 років тому +1

    Great Tutorial worked like a charm. Ur awesome. Thanks

  • @ivanwilson7225
    @ivanwilson7225 6 років тому

    Excellent video. Well done - all your efforts are so appreciated. Thank you.

    • @DrZzs
      @DrZzs  6 років тому

      You're welcome!

  • @stefanogrignani6571
    @stefanogrignani6571 6 років тому

    Always great video! Compliments DrZzs!

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!

  • @xxM5xx
    @xxM5xx 6 років тому +3

    Dr Zzs, You are an IoT WIZARD !! Your rate of speech is just right. Please do not slow that down. Anyone who misses something you said can either a) set UA-cam playback speed to .75 or .5; b) rewind / back up to replay what they missed, or both ")a" and ")b". Your annunciation is excellent. Audio quality excellent. Your flipping your bald head around the screen is not harmful. Action like that contains energy. If foreign (non-English speaking) viewers can't understand your slang or humor, there are plenty of non-English Sonoff/Arduino/ESP8266/MQTT videos on UA-cam by non-Yanks. The people who may struggle to comprehend can also use closed captioning. Dr.Zzs please don't change a thing about how you make your tutorials. Thank you.

    • @DrZzs
      @DrZzs  6 років тому

      Wow
      That's nice to hear. Thanks!

    • @kiwijunglist
      @kiwijunglist 6 років тому +1

      yeah i would prefer if you went a bit faster actually.

    • @DrZzs
      @DrZzs  6 років тому

      ha!
      I'll work on that.

  • @VAKUL-DC
    @VAKUL-DC 5 років тому

    finally got the pip line to work without any errors and flashed iFAN02 modules....thanks doc

    • @DrZzs
      @DrZzs  5 років тому

      excellent!
      sorry I haven't gotten around to doing a video about the fan02.

    • @VAKUL-DC
      @VAKUL-DC 5 років тому

      @@DrZzs IT was just like you showed with the Sonoff Basic module except to get it in AP mode. Just holding the push button for 7 sec with 3 beeps was putting it in prog mode for the ewilink app to prog but the SSID was not showing up. i kept pusjing the button and holding the phone to scan wifi and I was able to get it in AP mode. Rest of it was easy..the sonoffOTA script is awesome. for months i had tried the AC main with ftdi on tx/rx/gnd with no luck. Now i might even do all the sonoffs this way.

  • @Fryeballz
    @Fryeballz 6 років тому

    Another great vid! Gonna go check out the web page now. Keep up the good work bro!

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      It's a work in progress, but it's at an acceptable level.

  • @chrisgrou
    @chrisgrou 6 років тому +1

    Right on time for me! Weekend will be interesting

    • @DrZzs
      @DrZzs  6 років тому

      Awesome!
      We're here to help if you hit any snags.
      Fortunately, I've hit most of them myself already so the path should be pretty clear for you now.
      Good Luck!

  • @quicksilver79a
    @quicksilver79a 5 років тому

    Thank you so much for this video! You rock :-) (No, this is not an automated bs comment. I really mean you dr zz with all the great smart home stuff and the beautiful green screen masking)

  • @ucover2
    @ucover2 6 років тому +1

    I love those videos too. Really good job and I am sure also a lot of work.. Just need to find some time to get on it but I sure know where to find the tips and tricks.

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      All in good time!

  • @vaughanza
    @vaughanza 6 років тому

    Thanks for awesome videos , appreciate them.

  • @frodoux
    @frodoux 6 років тому +2

    Awesome video. Thanks to your tutorials, I have 5 tasmotized sonoffs running on hass.io. Regards from Chile!

    • @DrZzs
      @DrZzs  6 років тому

      Chile! Cool!
      You have penguins?

    • @frodoux
      @frodoux 6 років тому +1

      Oh yeah, king pinguins, and the pudú, world's smallest deer ;)

    • @DrZzs
      @DrZzs  6 років тому +1

      I love that you said Tasmotized too. We should probably let Theo know that "tasmota" has become a verb!

    • @JeffreyHammerCam
      @JeffreyHammerCam 6 років тому

      Summer down there right now... they're probably water skiing and hanging
      at the beach in bikini's

    • @DrZzs
      @DrZzs  6 років тому

      Sounds nice!
      Maybe a good place to go for Christmas vacation sometime.

  • @salim.studio
    @salim.studio 6 років тому +2

    Bro is totaly awesome your work, thans so much

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      Hope it's helpful!

  • @ErickOrlandoBalderasBryand
    @ErickOrlandoBalderasBryand 6 років тому

    es el tutorial mas claro que e encontrado hasta ahora, espero no necesitar buscar otro mas, muchas gracias

    • @DrZzs
      @DrZzs  6 років тому

      de nada!
      me da gusto saber que te ayude. No tengo el volcabulario de hacer videos in Espanol. Tal vez algun dia lo intentere.
      !Adios!

  • @Thebertybee
    @Thebertybee 6 років тому +1

    Great job. keep up the good work.

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!

  • @SwartNinja
    @SwartNinja 5 років тому

    Hi Dr. ZZs, thank you very much for the videos, enjoy them. I see there is a new version of the ESP8266 board 2.4.2, can I use that or should I still use the 2.4.0? What broke the tutorial?

  • @ibrahimyildiz1109
    @ibrahimyildiz1109 5 років тому

    Awesome video as usual... Thanks.

  • @mathewtaylor2007
    @mathewtaylor2007 6 років тому +2

    great instructable, thankyou!

    • @DrZzs
      @DrZzs  6 років тому

      you're welcome!
      glad to help!

  • @squalazzo
    @squalazzo 5 років тому +4

    hi Doc, happy new year :)
    i've found easier to just enable "belkin wemo emulation" in configuration - extra in tasmota... this make tasmotized devices autodiscoverable by both home assistant AND alexa or google home, without even setting mqtt initially... it's a "failback" feature that allows you to turn on and off tastmotized devices even if your mqtt or home assistant are not available AT ALL, in case of a "disaster"... you can always turn them on/off via alexa in this case, and once setup mqtt they can be controlled ALSO by that, but NOT ONLY by that...

    • @richardcjay
      @richardcjay 4 роки тому

      Honestly it's the only way. All the videos onsetting up MQTT get to options pages and config files in Homeassistant that I don't have

  • @jwelman1
    @jwelman1 6 років тому +1

    Thanks for another great video.

    • @DrZzs
      @DrZzs  6 років тому

      You're welcome!
      Took a little longer to get this one done.
      Hope it turned out helpful.

  • @trademethings7498
    @trademethings7498 5 років тому

    Thanks for another great video...
    just have a quick question. Would Tasmotized Sonoffs work with Alexa? If not, how do I do it? Thanks

  • @jim20j
    @jim20j 5 років тому

    Excellent Video, however, please note that in the yaml file (7:25) you must have a hash tag above each new entry to describe what you are pasting below it. I am extremely new to this and I was racking my brain for 2 hours trying to figure out why kept getting config errors whenever I ran a check config. I copied everything exactly the way you did for the mqtt user/pw and the switch sonof config. however for a newbie like me, I didn't notice my mistake. hopefully this comment will help others. again, you are a huge contributor to home automation and I praise your efforts all of your videos. very impressive how you seem to find the time to reply to almost every single comment. thank you!!!

  • @StePhanMckillen
    @StePhanMckillen 6 років тому +5

    An other 10 out of 10 video

    • @DrZzs
      @DrZzs  6 років тому

      Thanks man!

  • @ytplaylists1886
    @ytplaylists1886 5 років тому

    Hey, amazing tutorial! I just have one question, if i use Hass.io, would I be able to control it when i am not connected on same wifi? Or is it just working when connected to same network? Bc i want to control for eg. AC when getting back from work on hot days 😄

  • @Ryangosden
    @Ryangosden 5 років тому

    Thanks, explained extremely well.

    • @DrZzs
      @DrZzs  5 років тому

      Thanks!

  • @deviantstudio
    @deviantstudio 5 років тому

    exactly what i was looking for! btw hass.io is great. much simpler to set up all the things than with simple home assistant. i like the concept of addons

    • @DrZzs
      @DrZzs  5 років тому

      Excellent! I like Hassio and Addons a lot as well. Great for those of us who aren't supper comfy at the linux command line.

  • @PhG1961
    @PhG1961 6 років тому

    Waw, very cool interesting video ! I learned quite a lot !

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      Glad to help!

  • @StaxxxInMyJeans
    @StaxxxInMyJeans 6 років тому

    Very handy and helpful video! :-)

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!

  • @cpirius
    @cpirius 6 років тому

    Great video. Entertaining and informative :)

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      Mission accomplished!

  • @ramnik.khanna
    @ramnik.khanna 4 роки тому

    @DrZzs, thanks for another great tutorial! Tell me, can't I integrate Sonoff devices / switches directly into HASSIO, without having to first flash TASMOTA onto the Sonoff devices? If not, then can't one go through the MQTT route to make the Sonoff devices / switches "visible" to HASSIO? Sorry, I'm a newbie, so forgive these basic questions.

  • @RobertHorvat
    @RobertHorvat 6 років тому +1

    Thank you for this video! My first Tasmota-ised Sonoff is functional!! Yesssss

    • @DrZzs
      @DrZzs  6 років тому

      Awesome!

    • @RobertHorvat
      @RobertHorvat 6 років тому

      DrZzs Now, I have ridiculus problem. I wanted to add another sonoff. Copyed switch part in yaml file, renamed sonoff_1 to sonoff_3. Now, error says duplicate blablabla. How to fix that

    • @DrZzs
      @DrZzs  6 років тому

      Did you repeat the "switch" heading? That's a no-no. When you have more than one switch it should look like this:
      switch:
      - platform: mqtt
      name: "Back Porch"
      command_topic: "cmnd/sonoff/power"
      state_topic: "stat/sonoff/POWER"
      qos: 1
      payload_on: "ON"
      payload_off: "OFF"
      retain: true
      - platform: mqtt
      name: "Front Porch"
      command_topic: "cmnd/sonoff1/power"
      state_topic: "stat/sonoff1/POWER"
      qos: 1
      payload_on: "ON"
      payload_off: "OFF"
      retain: true
      - platform: mqtt
      Hope that helps.

    • @RobertHorvat
      @RobertHorvat 6 років тому

      It helps, thx, but Sonoff nr. 3 does not respond. Don't know why.
      in mqtt parameters, host name there is old 192.168.1.4 ip, in box is new 192.168.1.10 (as sonoff 1, but here is host name "domus1"). Do I have to flash again?

    • @DrZzs
      @DrZzs  6 років тому

      no, you don't have to reflash. you can change those things in the MQTT Config page on the sonoff. The "host" has to be the IP address of your home assistant computer, User and Password have to be the user and password for you mqtt broker (assuming you set a password). Then the topic has to be unique for each sonoff. Then make sure the "command topic" and "state topic" in Home Assistant have to new topic name in the middle section. You can see in my example.

  • @PlatinumForceGaming1
    @PlatinumForceGaming1 5 років тому

    so awesome man thanks cant wait to set it up my self

    • @DrZzs
      @DrZzs  5 років тому +1

      Things keep evolving. The current setup is a little different than this. Good news is, it is easier now! Let me know if you have trouble.

    • @PlatinumForceGaming1
      @PlatinumForceGaming1 5 років тому

      Great will do

  • @user-ns4qz3hk2i
    @user-ns4qz3hk2i 5 років тому

    Лучший монтаж, я влюбился

  • @willross6468
    @willross6468 6 років тому

    Thanks for the vid! Already past this stage myself but still great. Have you thought about experimenting with the sonoff touch light switches ? I ordered two ov them, only a few dollars more than the sonoff unit and already pre-built...supposedly runs tasmota as well.

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      I have a sonoff touch. Haven't done anything with it yet.
      Let me know what you think. I'm especially curious about how Tasmota works on it.

  • @Firespyer
    @Firespyer 6 років тому +1

    Amazing, thank you!

    • @DrZzs
      @DrZzs  6 років тому

      You're welcome!

  • @mikefarm9851
    @mikefarm9851 5 років тому

    Dr.Z, I was able to watch one of your live stream yesterday (12/17/18 on PiVPN discussion). Quick question, putting it all together, I was able to get my 3x Hasmatized Sonoff Basic (using the hyphen and separate topic for each Sonoff in the YAML Config file) onto Home Assistant (/w Apple Home/Homekit to control the relay), but on the HA GUI Interface, I see 6x the devices (2 each). Of the 6x device, one is the name of the device in the Yaml platform "name field, and the other is the "Friendly Name 1" on the Tas config page. Is this a discovery issue in HA or how do I make HA only show the three switches? On the Apple IOS/Home, it only shows the accessories (platform) that I've added. Thanks, Great series!

    • @DrZzs
      @DrZzs  5 років тому

      Hey Mike,
      I'm not 100% sure, but that sounds like auto-discovery mucking with you. Do you have "setoption19" turned on in tasmota? if you do, you don't need to have the devices listed in the yaml. That's what I think is happening. Once a device is auto-discovered it's tricky to get it to disappear again. Probably the thing to try would be to delete the switch entries in your yaml. Then to manage the names you can go to the Customization menu and change them from the friendly name in Tasmota to whatever you want. You could probably also try changing the friendly name it tasmota and it may update the name in HA (it should... should...)

  • @orandaadnaro
    @orandaadnaro 6 років тому

    This is such a useful video.
    Will this conversion work with ALL the sonoff products, including the thermometer package and the dual and quad switches?

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      I have done one for the Dual.
      I'm working on the Quad version and should have the video done in another week.
      If you have the Temp model I think all you have to do is set the module type and it should know where the T&H sensor input is and will display it on the main page.

  • @xenodata
    @xenodata 5 років тому

    Following the instructions I wasn't able to see the switch showing on the Home screen. However, I could see the Sonoff was communicating with MQTT.
    The fix turned out to be going to 1. 'Configure UI' on the Overview page and 2. Adding the unused entity with the 'Entities' or 'Entity Button'. (This was my first time setting up a device on Home Assistant, so it may have been obvious to others but not me.)

  • @TiensvanZyl
    @TiensvanZyl 5 років тому

    Thanks so much for this great video. i did however encounter problems with switching on the light from hassio. I had to change the below:
    command_topic: "cmd/switchlamp/POWER"
    state_topic: "state/switchlamp/POWER"
    to:
    command_topic: "cmnd/switchlamp/POWER"
    state_topic: "stat/switchlamp/POWER"
    in order to switch on the light from the soft switch in hassio

  • @slackerc2000
    @slackerc2000 6 років тому

    Love your videos, they are super helpful! I'm still really trying to get my Home Assistant setup how I want it, so I keep tearing down and starting over. I was wondering, do you like HassIO more than just running Home Assistant? I had Home Assistant up for a week and then realized HassIO was out there. So I switched, but what I found is that getting at anything at the OS layer gets very difficult. I'm big on CLI access to my logs etc, and I was struggling to find a good way to gain access. I'm wondering if HassIO is for me, or if I'm better just installing everything in my own docker containers and using scripts with git to maintain everything. Are you only using HassIO these days?

    • @DrZzs
      @DrZzs  6 років тому

      I am just using Hassio now.
      but, for someone like you that really feels comfortable tweaking things at the command line, I don't think Hassio is the best for you. Hassbian is probably a better choice if you want to manage your own add-ons. If you're comfortable managing docker on your own you probably don't need Hassio.
      That's my 2 cents!

  • @denistrudel
    @denistrudel 6 років тому +1

    Hi thank you for your help, I would just like to let you know the yaml for the switch setting is missing a "-" before platform. Keep on the good work !

    • @DrZzs
      @DrZzs  6 років тому

      oops.
      Thanks!

  • @scotthoskin7583
    @scotthoskin7583 6 років тому

    Great video. Just curious, did you 3D print the enclosure for the Sonoff Basic?

    • @DrZzs
      @DrZzs  6 років тому

      Yes I did. Out of fire-retardant ABS even!
      www.thingiverse.com/thing:2394462

  • @sachinthapliyal007
    @sachinthapliyal007 6 років тому

    Hey... Great work. Just wanted to know if you use any security system in your house? Have you used or reviewed Sonoff RF Bridge?

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      I have an old security system. I'm actually awaiting the arrival of a cool Kickstarted module that I'm hoping will breathe new life into our old system.
      www.kickstarter.com/projects/nateclark/konnected-alarm-panel-revive-your-wired-alarm-syst
      I haven't done anything with the RF Bridge yet. I haven't used RF in any of my Home Automation stuff. I probably should look into other options. The wifi traffic in my house is getting pretty busy.
      I'll have to check out the RF bridge.

  • @RobertoCarvalho-0
    @RobertoCarvalho-0 6 років тому +1

    Really good video.
    I would love to see you doing a DIY addressble LED strip guide for home assistant. There's a couple good ones on UA-cam but mostly outdated like Bruh.

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      I've done some addressable LED stuff. I started with Ben's code, made some modifications. I still have some parts of my house that need lights installed so I'll probably do some more before next fall.
      Here's my playlist. There might be something in there you haven't seen already:
      ua-cam.com/play/PLL02pNmOcO9lmMIQXaxv0_3oXM_l-yb-8.html
      Let me know what specifically you'd like to see.

  • @jaimenational
    @jaimenational 6 років тому

    Hello thanks for the video I was having problems with an error saying mem failure but I found out you need the driver for the usb connector also I put the board version to 2.4.0 and everything worked great but thanks for everything you do.

    • @DrZzs
      @DrZzs  6 років тому

      sweet!
      ya, I guess different usb/serial adapters need different drivers. I've used mine so many times I can't remember if I had to add a driver or not.
      well, glad you got it working!

  • @mrteausaable
    @mrteausaable 5 років тому

    Great video. Do you have video flashing Tasmota to NodeMCU or ESP8266 modules beside just sonoff?

    • @DrZzs
      @DrZzs  5 років тому

      yep!
      The thermostat video I just did I use FlashEZ to put Tasmota on my D1mini. That's how I flash everything. The difference is you don't need a USB/Serial adapter (the D1mini and NodeMCU have a chip on the board that handles that), and you don't have to do anything to put them in programming mode. Just plug them into the PC with a micro USB, start up FlashEZ and go.
      Good Luck!

  • @easwaran83
    @easwaran83 6 років тому

    Question : How do I set the default relay state PowerOnState Configuration
    As we do in Ewelink App after tasmato flashing?

  • @jenskapmeyer2579
    @jenskapmeyer2579 5 років тому

    Hi DrZzs, great video, like all yours ... I have a question to the practical experienced guy: is it possible to set up one Raspberry with HASSIO and another with HASSbian and let them work together in parallel in the same WiFi net, subscribing to the same MQTT topics? From the logic I understand it should be possible - I'm aksing because it looks like some things are better with HASSbian, and other things are easier with HASSIO, I'd like to play with both .... cheers, Jens

    • @DrZzs
      @DrZzs  5 років тому +1

      thanks!
      ya, I think that would be possible. You would want just one MQTT broker, but they could both publish and subscribe to the same topics.
      I can't say exactly what all else might need to be coordinated between the two. There's only one way to find out :)
      Good luck!

  • @winchesterlyon
    @winchesterlyon 6 років тому

    Great videos DrZzs... I'm looking into Home Assistant for my smart home project and so far, your videos have been a great help.
    I have a question. For GPIO14, could it work with a sensor like a PIR senor to turn on and off the switch? Also, would HASSIO be able to set conditions, such as time delay before turning off the switch when no one if detected in the area?

    • @DrZzs
      @DrZzs  6 років тому +2

      Thanks!
      Home Assistant is great!
      And yes, to both of your questions. You can use a PIR sensor (could be GPIO14 or other pins), and a HA "automation" would be able to delay and turn off the lights if there was no movement.
      You're not the first person interested in PIR on the Sonoff. Time to put that one on the future video poll!

    • @winchesterlyon
      @winchesterlyon 6 років тому +1

      Excellent.. Thank you DrZzs.. I will be looking forward to your video on this.

  • @njloki30
    @njloki30 6 років тому

    Hey Dr thanks for the awesome videos, I think I've watched every Sonoff video you did several times over, keep up the good work. Kudos aside, I was hoping you can help, I've been trying to flash but each time I go to upload, I get the following errors in Arduino IDE and Atom warning: espcomm_sync failed
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    error: espcomm_upload_mem failed
    Have you seen these , have any thoughts?
    UPDATE - Nevemind, swapped the TX and RX jumpers all is well =)

    • @DrZzs
      @DrZzs  6 років тому

      Glad you got it solved. I would have said that error comes either when the board isn’t in programming mode or if the rx/tx wires aren’t right.
      Thanks!!

  • @apapam
    @apapam 6 років тому

    Great video as always! I'm trying to flash a few Sonoff T10s I have but I think I might be using the wrong USB/TTL flasher. Can you share a link to buy the specific one you're using?

    • @DrZzs
      @DrZzs  6 років тому

      this is the one I use: amzn.to/2uwnvJy
      it has 5v and 3.3v, so make sure you connect to the 3.3v pin or it could damage the sonoff.

  • @ChrisPurser
    @ChrisPurser 4 роки тому

    Is the user we're creating supposed to be our PRIMARY user or something else? It's not clear. As I read and watch, it seems we're encouraged to make a special MQTT ONLY user that is just for the MQTT messaging function. Abnd if that is true, is that used in EVERY place where we add creds? Or are some of the places supposed to be our admin user, and other places supposed to be the MQTT user? Thanks

  • @bernardl
    @bernardl 4 роки тому

    Hi Dr Z. I found an app called Ariela for managing HA remotely and also using your phones sensors in HA. Please let us know what your thoughts are on it. Or whether you have an alternative to recommend?

  • @Contreras04
    @Contreras04 6 років тому

    Man, thanks for all of your videos, they have been really helful to me. Is there any motion sensors you would recomend? I was looking at Eve motion sensor but I think it is not compatible with HA

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      So far the only motion sensor I've used is the PIR I added to the D1 mini. So I don't have a recommendation really. I'm going to test the Sonoff RF motion detector. I'll let you know what I think when I'm done with that one.

    • @Contreras04
      @Contreras04 6 років тому

      Damn! I just started with all of these home automation stuff and Im going crazy! Didn't realized homeassistant was so powerful. I got it installed in my Synology NAS and it works great. You should also do a video on how to connect some cheap Chinese light strips: community.home-assistant.io/t/alternative-firmware-for-arilux-al-lc03-for-use-with-mqtt-and-home-assistant-rgb-light-strip-controller/6328

  • @nakapuf
    @nakapuf 6 років тому

    Hi guy, thank you very much for this amazing work!
    this is the first tutorial and the only one with which I flashed my sonoffs (firmware 1.6). For me, I use rx> rx tx> tx it's OK. but rx> tx tx> rx not work! Thx again man, great job ;-)

    • @DrZzs
      @DrZzs  6 років тому

      Yes. Some adapters are different. You must have a “different” one.
      I’ve seen that also when someone uses an Arduino as a usb/serial connector.
      Glad you got it working!

  • @Markhooperpug
    @Markhooperpug 6 років тому

    Hi. I've had trouble flashing my first and only two Sonoff Basics. They now appear to be bricked - is this possible - they won't start up (no LED activity) using power via USB/FTDI or if I connect them up to the mains as intended. I have tried flashing Tasmota using the Arduino IDE & ESPeasy. Both Sonoffs took many many attempts to get them to take the flash, with the upload process failing unexplainably at many different points. Since I now have two potentially bricked Sonoffs, can you shed any light on what I might do/try next??? Your videos are great and I follow them to the "T". I have tried other methods and Theo Arends' own Wiki instructions. I am seriously frustrated :-( So far I have managed to get home automation working using OpenHAB, MQTT and Arduinos and things are going well - I now need these Sonoffs in my life! Any help is a help! Thanks

    • @DrZzs
      @DrZzs  6 років тому

      Oh man. Sorry you’re struggling with the sonoffs. First thing I’d check is the voltage output of your ftdi adapter. It needs to be 3.3v if it’s 5v it may kill your sonoff.
      Can you try connecting them to the Arduino IDE with the ftdi and see if there’s any output on the serial monitor when you try to flash?
      Without getting my hands on them I don’t know how best I can help you.
      If they are older sonoffs (pre ver 1.6 firmware) you could try the OtA method.
      Have you tried soldering a header on the sonoff? That would let you know it isn’t just jumpers loosing contact when you press or let go of the button.
      Wish I could be more help.
      I’ve thought about selling pre-flashed sonoffs.

  • @pirpy2
    @pirpy2 5 років тому

    Why I get this message when I check the config?
    Component not found: Configurator

  • @gersonfer
    @gersonfer 5 років тому

    Hello! In config.yaml you are using ´name: "Sonoff Switch 01"´. I tried to do that but I received a configuration check error from hass. My topic is lamp1 ( yours is ´sonoff´ ). It only works if I use ´name: "lamp1"´. What i´m doing wrong ? thanks

  • @georgenoren2174
    @georgenoren2174 6 років тому +1

    Ok, I got to the frame at about 12:30 and you say I need an "FTDI adapter" (?) which looks like a bridge connector of some sort. Where do I get one of these? Is there an Amazon link that you can provide for that piece of hardware?

    • @Tomvandorland
      @Tomvandorland 6 років тому

      www.banggood.com/nl/FT232RL-FTDI-USB-To-TTL-Serial-Converter-Adapter-Module-For-Arduino-p-917226.html?gmcCountry=NL¤cy=EUR&createTmp=1&Module-Board-pc&gclid=CjwKCAiAn5rUBRA3EiwAUCWb2w-NjOCcF5HD7eIr_GUGqsZ_n8qaip-meFGhJYoVLU-1MXlfiGoRURoCyygQAvD_BwE&cur_warehouse=CN

    • @kiwijunglist
      @kiwijunglist 6 років тому

      Dont forget you need a miniUSB cable, not a microUSB cable with that adapter.

  • @msuc5vette
    @msuc5vette 6 років тому

    Another awesome tutorial. I like the idea to resolve the issue of Tasmota getting lost in space if the WiFi ssid changes. My question is does this have any impact on security? I.e. if someone disables the router could they then easily latch onto the tasmota hosted WiFi and gain control of the outputs?

    • @DrZzs
      @DrZzs  6 років тому

      Thanks
      The answer is, yes - sortof. Someone could connect to the wifi hosted on that sonoff, but all that lets them do is put in a new wifi SSID and PW. Even then they'd only be able to control whatever is connected to that sonoff.
      So it really isn't much of a security hole. They wouldn't be able to connect to your home network or any other computers in your house using it.

  • @duardyparron850
    @duardyparron850 6 років тому

    This is an outstanding video, is must have put in a ton of work, but its has your own style and is fun. I still didn't get my sonoff to run but I will eventually.

    • @DrZzs
      @DrZzs  6 років тому

      Thanks.
      I enjoy the process. I'd like to be faster at it so I could do more videos more often.
      You will get it eventually.
      Which step is giving you trouble?

    • @duardyparron850
      @duardyparron850 6 років тому

      I can see the sonoff POW authenticating to MQTT in the console, but I cant get the sonoff to respond to commands from the home assistant front end. the switch lever is there but is dead. The project name is correct just like you show on your yaml. I will dig into the home assistant logs next and look for errors.

    • @DrZzs
      @DrZzs  6 років тому

      Sounds like an MQTT problem. And, it sounds like you know what you're doing.
      With Hassio and the Mosquitto Add-on one difference I've notices is in the config.yaml in the mqtt section you need this:
      mqtt:
      broker: core-mosquitto
      instead of the IP address.
      Just one more thing to check.

    • @duardyparron850
      @duardyparron850 6 років тому

      I updated my sonoff POW firmware to 5.12.0 from the web console using the .bin file provided in github:github.com/arendst/Sonoff-Tasmota/wiki/Upgrade I wonder if updating in this fashion introduced an incompatibility with hass.io, I don't see any way to set the max packet length, and the home-assistant.log does not show any mqtt errors... interesting.

    • @DrZzs
      @DrZzs  6 років тому

      I bet you're right. I don't fully understand the max-packet-size problem. I believe it is dependent on HA requirements. I do know that Tasmota ver 5.12 requires a change to the pubsubclient.h file to change the maxpacketsize to 1000.
      You could try to downgrade back to an earlier version of tasmota (not sure if that's an option). Or try re-flashing but grab the new libraries from Tasmota (I know they've updated the pubsubclient.h file because I checked it). Or you could edit the pubsubclient.h yourself and re-flash.

  • @kiwijunglist
    @kiwijunglist 6 років тому

    how many dead sonoffs do you have. I have 6, and have 3 dead ones. 2 of them I think died to my soldering (I think i overheated the adjacent components), although one of them may of been DOA, and one of them died to a breadboard psu ( i think was faulty giving too much power). Have you had any DOA sonoffs, or have you killed any of them? I wish they had headers, I have a little cable that you can flash the sonoff without soldering, but I have to solder to GPO14/GND so I can use the light switch. I do wish the terminals on each end had more chunky screw in connectors, I feel they are a little bit small / close together for 240 volts.

    • @DrZzs
      @DrZzs  6 років тому

      Bummer. I've had 27 sonoffs and fortunately I haven't had any duds. I know if you connect 5v instead of 3v when flashing you can zap the esp chip. I have killed a couple D1 Mini boards by overheating during soldering. I'm glad we don't use 240v much in the US. I'd be nervous with that voltage and the layout of the sonoff too.
      When I was experimenting with creating the Zzonoff, in one version I soldered the mains wires to the solder strips on the bottom of the board. Doing that might give you a little more confidence that those wires are far enough apart and aren't going to accidentally come loose.

  • @luis55g
    @luis55g 5 років тому

    MQTT help!
    why am i getting a Socket error on client when trying to connect sonoff. whats the client in the mqtt parameters? how do you find it?

  • @RebChaim613
    @RebChaim613 6 років тому

    Is it necessary to have / within the topic specification? Does that allow sending an MQTT instruction to either all or just one module?
    What are you using to clip into the serial io leads without soldering for initial programming?

    • @DrZzs
      @DrZzs  6 років тому

      I'm just using jumpers. With a little lateral lean they stay in the holes.
      When you put the MQTT topic in Home Assistant you do need the /
      Does that help?

  • @neomvll
    @neomvll 5 років тому

    Hi Drzzs, after home assistant restart(not all system, just hassio) my turned on devices back off on hassio, but they are on :). So, what I missing?

  • @inchlogic
    @inchlogic 6 років тому

    So, another awesome video. Anyway to update the WiFi Manager setting on already tasmotized Sonoffs or do I have reflash them? They are already hard wired in and I don't want to dig them out of the wall... 😀

    • @DrZzs
      @DrZzs  6 років тому

      You don't need to reflash to change to wifi manager: Here are the wifi commands you can use in the Console:
      looks like what you want is probably "WiFiConfig 2"
      Is that what you mean? or do you want to change the wifi SSID/PW?
      WifiConfigShow current config toolWifiConfig0Disable wifi config but restart (used with alternate AP)WifiConfig1Start smart config for 1 minute and set as current config toolWifiConfig2Start wifi manager (web server at 192.168.4.1) and set as current config toolWifiConfig3Start WPS config for 1 minute and set as current config toolWifiConfig4Disable wifi config but retry other AP without restartWifiConfig5Disable wifi config but retry same AP without restart and flash writes

    • @inchlogic
      @inchlogic 6 років тому

      Yep Wificonfig 2 is exactly what I needed. :-) THANKS!

    • @DrZzs
      @DrZzs  6 років тому

      Awesome!

  • @opheycervania4099
    @opheycervania4099 6 років тому +1

    nice video! do you have an idea on how to automate those appliances that have electronic switch(i mean you need to press power to turn on)? cause i have these humidifier, fan and air purifier that i cant automate. i did some research, and found those microbots, but they are expensive too for me. any idea would be much appreciated.thanks

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      I'd guess you'd have to get inside the appliance and put something inline with the power button. Depending on how the power button works you might be able to use a D1 mini if all you need to do is apply 3 or 5v.
      Essentially you'd be adding a second power button (the D1 mini) that you could control over wifi.
      If the power button was connecting something higher than 5v, then you could use the Sonoff SV which has a relay that's rated for higher voltage (at least 24v, but might be higher, I'd have to check again).
      To know for sure what you need you'd have to open up the appliance and measure the voltage at the power button. Then if it's low (like 3 or 5v), you' want to add a couple wires to the power switch poles. Those wires would go to GPIO/Gnd pins on the D1 mini. You'd have to power the D1 from somewhere inside the appliance as well. Hopefully there's some place in there you can tap into 5v power. You could load Tasmota onto the D1 mini, then control it using MQTT with Home Assistant or something else.
      I hope that's helpful and not just confusing. I would expect it's possible, if you're willing to get inside the appliance and tinker a bit.
      Sounds like a fun project.
      Good luck!

    • @opheycervania4099
      @opheycervania4099 6 років тому

      i have tried opening the humidifier, but the circuitry is a bit complicated for me. power is going to a circuit board then i traced where the momentary switch is connected to the circuit and replace it with toggle switch. unfortunately it didnt work. btw im using those rf switch(zap), nodemcu and sonoff in hassio for my automation and your videos help me a lot specially with tasmota. hope you can make a video on rf + ir connected to nodemcu. thanks a lot.

  • @edwinbueno1231
    @edwinbueno1231 6 років тому

    Hi Dr. Excellent videos!
    Now I use the Sonoff devices with ewelink and I want to change to tasmota firmware, I am new in this and I have some questions:
    1. Is there a way to use tasmotized devices with an app similar to ewelink without MQTT Broker or additional equipment like Rasperry Pi?
    2. Can I configure an MQTT Broker and Home Assistant in a single Rasperry Pi?
    3. Are you aware of using a router with OpenWRT as a substitute for Rasperry Pi?
    Thanks in advance

    • @DrZzs
      @DrZzs  6 років тому

      Thanks!
      Certainly the method for controlling Tasmotized devices that I'm most familiar with is HA on an rpi. Good news is you CAN run MQTT broker on the same pi as HA. In fact, that is what most HA users do. I've not heard of running HA on a router. Might be possible. There are a lot of different ways to install HA. The easiest is Hassio, but there are others.
      www.home-assistant.io/docs/installation/
      As far as other ways to interact with Tasmotized devices that doesn't require HA or MQTT... You can also control Tasmota with html commands:
      github.com/arendst/Sonoff-Tasmota/wiki/Commands#web
      and I believe there are apps that can discover and incorporate Tasmota devices. One I know of is called Yeti (by netbeast) getyeti.co/
      I haven't used it myself yet.
      Hope that helps!

    • @edwinbueno1231
      @edwinbueno1231 6 років тому +1

      Great information!
      Regards from Dominican Republic.

  • @ovo5326
    @ovo5326 5 років тому

    Hey man, I got some sonoff Basic R2 V1.1 from China and they are said that they can only work in China. (It won't connect to wifi in Canada) Will flashing the software solve the problem?

  • @CliffSchampaert
    @CliffSchampaert 6 років тому

    Great tutorial , works great for me. On question, is it possible to use a dimmer and a sonoff basic in combination with a push button?

    • @DrZzs
      @DrZzs  5 років тому +1

      boy, I get that question a lot. There's not one sure answer. 1st it depends on what kind of bulbs you are using; Incandescent vs LED dimmable vs LED non-dimmable. Then based on that you MIGHT be able to integrate a dimmer. The answer would be complicated. Probably if you want to have a smart dimmer the best ideas would be to use a switch that is made to do that instead of a Sonoff Basic. Someday I'll put together something that works for dimming with a Sonoff, but I've not done it myself yet.
      Here's a great resource about a Smart Dimmer solution. He explains the kinds of dimmers too:
      ua-cam.com/video/PVQhGzo-Dtg/v-deo.html

    • @CliffSchampaert
      @CliffSchampaert 5 років тому

      thanks for the answer

    • @CliffSchampaert
      @CliffSchampaert 5 років тому

      What about this ? www.tindie.com/products/Armtronix/wifi-ac-dimmer-esp8266-one-triac-board-alexaecho/

    • @CliffSchampaert
      @CliffSchampaert 5 років тому

      Flasht my first Sonoff . Only the Sonoff wifi network comes not online. What am I missing ?

  • @LinhNguyen-ev8wq
    @LinhNguyen-ev8wq 6 років тому

    Thank you for the video. I'm getting the error below:
    In file included from sketch\sonoff.ino.cpp:1:0:
    C:\Users\linh\Downloads\Home Assistant Project\Sonoff Hack\arduino-1.8.5-windows\arduino-1.8.5\portable\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/Arduino.h:240:21: fatal error: algorithm: No such file or directory
    #include
    ^
    compilation terminated.
    exit status 1
    Error compiling for board Generic ESP8266 Module.
    I navigate all the way to Arduino.h file so it is there. Can you help?

  • @healthcareAI01
    @healthcareAI01 5 років тому

    Dr. Zzs, great video! I follow you to set up wifi as I do not have ethernet in the house. I did not have the file 'system connection' when I click on the flash drive. Any suggestion? Thank you

    • @DrZzs
      @DrZzs  5 років тому

      I think the wifi setup process has changed since I made this video (happens a lot). Here's something that might help:
      github.com/home-assistant/hassos/blob/dev/Documentation/network.md

  • @hckywrestler08
    @hckywrestler08 4 роки тому

    The GREAT and powerfull DR.ZZs!! i have a slight issue not with installing but with updating im running 0.61.1 it was working great with this setup method and im hoping i dont have to redo everything and start all over... but now i cannot connect to the hassio side pannel on the front end of HA i get the error message
    "Failed to load the Hass.io panel from supervisor."
    so i cant get to my snapshots
    i also tried to ssh into putty and update it there i can log in but when i try any of the command options i get
    core-ssh:~# hassio ha update
    Error decoding json invalid character ':' after top-level value: 403: Forbiddencore-ssh:~#
    so far everything i read sounds like i got to start over im hoping theres im missing that you for sure would know better about. please point me in the right direction