Flashing TASMOTA Firmware on the Sonoff Basic

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 593

  • @Garry.Anderson
    @Garry.Anderson Před 6 lety +10

    Thanks for the guide..1st Tasmota Sonoff complete! - for those who are having errors on compiling do this - copy everything from the tasmota zip files 'lib' directory (in my case it was - Downloads\Sonoff-Tasmota-5.11.1\Sonoff-Tasmota-5.11.1\lib) to your Arduino folders 'library' folder (in my case - arduino-1.8.5\libraries) and it will clear up all those errors in one hit :)

    • @DrZzs
      @DrZzs  Před 6 lety

      Awesome! Thank you! That'll help a lot of folks!

    • @Zeric1
      @Zeric1 Před 6 lety +1

      From experience I've found it's always better to use the libraries included with the Tasmota source rather than downloading the latest versions with the library manager. No need to download json or PubSubClient as they are also included with Tasmota. When doing this, there is no need to edit the PubSubClient.h file as it's already done.

    • @DrZzs
      @DrZzs  Před 6 lety

      Zeric E Sweet! That makes it a ton easier.
      Thanks!

    • @lioman2578
      @lioman2578 Před 6 lety

      It helped. Thank you .You saved me gray hair.

    • @derekb7260
      @derekb7260 Před 6 lety

      thanks I put everything into the portable folder as followed from this tutorial complied right away

  • @0miker0
    @0miker0 Před 5 lety

    Great video! Because of this I’ve ordered a few Sonoff devices from China and plan on setting up the Pi zero. The one iHome switch in Canada cost $45 alone so your setup will cost far less. I’ll search your older videos to find instructions on setting up the Pi. Great job!

    • @DrZzs
      @DrZzs  Před 5 lety

      Thanks. I have done a lot of updates to this video, especially the flashing process and things I do to make the switches max-safe. Check out the channel page and look for what ever interests you. You can go to DrZzs.com and connect to the Facebook page and Discord chat too.

  • @stickrtrade
    @stickrtrade Před 6 lety

    I recently used this video to flash and get all of my Sonoffs up and running. I didn't see a section in this vid about copying over the Libraries from the Tasmota Lib folder to the Libraries in the Arduino folder. So it gave me an error message for each one. Neopixel & IRremote were 2 of the error messages. So I just copied each folder over for each error, and that fixed that. Also, when editing the user_config.h file, remember to change the WIFI_CONFIG_TOOL to WIFI_MANAGER as you taught us in your other vid. Also, I had to increase the pubsub.h file MQTT_MAX_PACKET_SIZE to 1000 instead of 512. Other than that, using this vid worked for me. That other UPDATED vid that had me using an old board manager didn't work. Ultimately, I started over with this vid and its all GOLDEN now. Thanks Dr. ZZs! By the end of yesterday, I had my first Sonoff running on Home Assistant! Keep creating your awesome vids, Thanks for all the time and effort you devote to them.

    • @DrZzs
      @DrZzs  Před 6 lety

      LouisianaIce Great!! And thanks!

    • @DrZzs
      @DrZzs  Před 6 lety +1

      Funny that the combo of the older and newer videos did the trick.

  • @isponggalapong
    @isponggalapong Před 6 lety

    Sorry DrZzs, I accidentally deleted my question. Anyway, you are right it is not in programming mode, what I did was insert the wires to sonoff then hold down the sonoff button then plugged ftdi usb to the computer and hit upload. And it worked!
    Thanks.

    • @DrZzs
      @DrZzs  Před 6 lety +1

      excellent!
      congratulations!
      Welcome to Tasmotaville!

  • @mikewurlitzer5217
    @mikewurlitzer5217 Před 5 lety

    Love your videos as they have been very helpful.
    Using your instructions I successfully flashed 16 Sonoff Basics with Tasmota, but failed for some time to flash a Sonoff TH10 {last one I needed to get off EweLink}. All the Sonoff Basics have been moved to Node Red and work perfectly.
    Finally, using a separate power supply, I got the TH10 flashed and can toggle the relay via a web browser and Node Red {on a RPi}.
    What I cannot do, is in Node Red, retrieve a MQTT message showing the temperature {don't need humidity} I played with a bunch of nodes and thought the MQTT or the Status Node would at least capture the temperature messages but all I get in Debug is something like, below, with an empty payload. I tried "Status" and "Sensor" in my Mqtt messages but still get an empty payload.
    But this is the best I can retrieve via Node Red via a Debug node.
    12/19/2018, 5:24:14 PMnode: f371cac4.c9b7b8
    stat/Mysonoff_TH10/Status : msg : Object
    { _msgid: "a2da06ba.d241d8", topic: "stat/Mysonoff_TH10/Status", payload: "" }
    If I can get the temperature then I just need a couple of upper/lower set points like 75F and 74F and then find a way to inject into my Sonoff_TH10 output node.
    I can see, every 30 seconds, a sensor update via the "Console" page in my browser like this:
    23:43:33 MQT: tele/Mysonoff_TH10/SENSOR = {"Time":"2018-12-19T23:43:33","AM2301":{"Temperature":69.8,"Humidity":26

  • @naytron210
    @naytron210 Před 5 lety

    Dude. Those see-through Sonoffs are the best!

    • @DrZzs
      @DrZzs  Před 5 lety +1

      ha!
      love the unintended green screen effects. :)

  • @GirthBrooks775
    @GirthBrooks775 Před 5 lety +1

    The only person I've ever seen using Bing.

  • @moritz-rissel
    @moritz-rissel Před 6 lety +1

    Thank you so much! I tried this several times and could not get it to work. Very nice!

    • @DrZzs
      @DrZzs  Před 6 lety

      Glad it helped!

  • @turbojambox
    @turbojambox Před 6 lety +5

    Wow, thanks for the killer guide @DrZzs! Also, I'd really love to know where you got that Sonoff from - never seen one with a perfectly transparent circuit board... :P

  • @Ed19601
    @Ed19601 Před 6 lety

    Thanks. I know everybody is enthusiastic about Tasmota, but I find it overly complicated. Never even have been able to compile the software.
    I am actually quite happy that ITEAD didnt put the tasmota software on their device, but what I would like is a simple OTA section on it.

    • @DrZzs
      @DrZzs  Před 6 lety

      I would suggest trying a new install of Arduino IDE. TASMOTA is just an Arduino sketch. If you’re having trouble compiling it is likely something with the IDE.
      Another alternative is to download sonoff.bin from the TASMOTA github page and use flashesp8266.exe to load it on the board.
      EWeLink is fine if you don’t want to use Home Assistant or another Smart Home hub.
      If you’re happy with it there’s no reason to change. The purpose of TASMOTA is to increase the customization and function of the esp8266 devices.
      Hope that helps!

    • @Ed19601
      @Ed19601 Před 6 lety

      Thank you, I have been flashing Sonoffs, but with my own software, not with Tasmota.
      HOWEVER...… I did find the problem why I couldn't compile: I was using esp8266 core 2.4.2. When I went back to 2.4.1 my compilation errors were gone.
      having said that, using the bin file is a good option too

  • @TimGerdes
    @TimGerdes Před 6 lety

    Thank you for another great video! :-) Looking forward to the next one. I want to install sonoff at home, but haven’t been able to figure out how to get a normal wall switch connected too - I think that’s a requirement from my wife ;-)
    Been following for a while, so it’s about time I comment too - greetings from Denmark, and keep up the good work :-)

    • @DrZzs
      @DrZzs  Před 6 lety

      Tim Gerdes thanks!
      Denmark? Awesome!
      Working on the install video. I’ve learned a couple important things I️ haven’t seen in other videos.
      Thanks for the support!

  • @kingfish9764
    @kingfish9764 Před 6 lety

    Great video, this is the kind of information I have been looking for. Very easy to follow..

    • @DrZzs
      @DrZzs  Před 6 lety

      Thanks!
      have you seen the new edition of this video? I've learned a lot since I made this one.
      Try this: czcams.com/video/B38e1HAMUXs/video.html

  • @casper3oaks
    @casper3oaks Před 6 lety

    These are great. Wish these guys would design a 3 speed ceiling fan/light controller then I'd be happy

    • @DrZzs
      @DrZzs  Před 6 lety

      Amen!
      And a dimmer switch!

  • @budschultz5544
    @budschultz5544 Před 6 lety

    Don’t know if I am just stupid or the Grinch is running around this time of year but. Followed you direction to the tee. Finally got what look to me like a good flash. Not sure why but every time I click the right arrow it compiles the software which take a reasonably long time before it actually start to flash. Plugged in the sonoff and am not seeing it connected to the wifi or recognized by HA. Finally gave up for the moment and took a second switch out of the box and tried to pair it with the elink app on my Iphone. No luck at all would not pair. Did, however, find my wifi. I typed in the ip address in a browser and got the switch menu. Was able to toggle on and off a fan I have connected. Part of the sonoff menu is an MQTT button. When I clicked on it, it brought up the exact information I had used to flash the first Sonoff. The only thing up and running is my Pi with HA running. I have defined a MQTT broker on the pi with the exact userid and password that is shown when I enter the second sonoff’s ip address. I am stumped.

    • @DrZzs
      @DrZzs  Před 6 lety

      whoa.
      So, somehow your MQTT broker info ended up on a brand new Sonoff? That definitely sounds like the Grinch's work.
      The one part of your question I can surely answer is that the Arduino IDE does re-compile the sketch every time before it uploads. So that part is normal!
      The rest of what you're describing I can't explain.
      The native Sonoff software has an MQTT button? I looked for that and couldn't find it. Can you post a screenshot?
      I was wondering if there was a way to just put the MQTT topic info in Home Assistant and the Broker info in the Sonoff. If you can put Broker info in the Sonoff and see the Topics it is listening to, then that should be possible.
      Sorry I'm not more help.
      I'm working on a video for the Tasmota OTA flashing procedure. Maybe you'll have more success with that.

  • @goalgetter92bla
    @goalgetter92bla Před 5 lety

    In Europe the Sonoff Basic and Sonoff 4 Channel Pro Release 2 are available on Amazon with Tasmota flashed already. Basic: www.amazon.de/dp/B07CLDDY2G and 4 Channel: www.amazon.de/dp/B07KFKHP3Z

  • @g0rg0s96
    @g0rg0s96 Před 6 lety

    When I tried the libraries that you suggest I was getting errors. I tried to coppy past all the libs from Sonoff-Tasmota-5.14.0/lib to /Programs/arduino-1.8.5/portable/sketchbook/libraries and it worked with out problem. Thank you for your tutorial was very helpfull.

    • @DrZzs
      @DrZzs  Před 6 lety

      There's a much better way to do this now:
      czcams.com/video/NNW05smSNOA/video.htmlm3s

  • @scottbrown4810
    @scottbrown4810 Před 4 lety +1

    Ran into issue where when trying to add ESP8266 library it is not showing up at all as there to add. Can't find it so can't add it. Have scrolled through 100% of them and filtered not there. Thoughts anyone?

    • @DrZzs
      @DrZzs  Před 4 lety

      I recommend flashing with the pre-compiled binary instead of compiling yourself.
      Here's a newer version of this video with an updated and easier procedure to follow: czcams.com/video/KMiP9Ku71To/video.html
      Hope that helps!

  • @dexterweb
    @dexterweb Před 6 lety

    great video, tks, I will try it with my pow. one thing you might have missed is that esp8266 board library is necessary otherwise you will not be able to see generic esp module in the board menu

    • @DrZzs
      @DrZzs  Před 6 lety

      Flavio Dexter Thanks!
      You are absolutely right. I totally skipped that. Dang it.

    • @dexterweb
      @dexterweb Před 6 lety +1

      UPDATE: after few problems I managed to fix the flash procedure. I had to disable mDNS on user_config.h to make it work on the sonoff pow but now everything works great and I have it in my mqtt broker with OpenHab. Now I'll have to find a way to create a nice sitemap to show relay status and data consumptions

    • @DrZzs
      @DrZzs  Před 6 lety

      Awesome!
      I'd love to hear how it goes. I need to learn more about OpenHab.

  • @yuriu8
    @yuriu8 Před 3 lety

    wow dud you are amazing thank you I wish I would have found you channel earlier

  • @markjohnston5785
    @markjohnston5785 Před 6 lety +1

    Be aware that Sonoff is now shipping the R2 version of this Sonoff Basic... the pin holes are now filled with solder to prevent you from flashing the device and you will likely destroy multiple units before getting the procedure down right.... I have six Sonoffs in my walls and now regret taking this route - will be looking for another vendor who is not actively fighting their user community

    • @DrZzs
      @DrZzs  Před 6 lety

      That is unfortunate. I also would like to see them embrace those of us who want to use their hardware in our own way. For what it's worth, they have contacted me and seemed quite happy that I've been promoting their devices, even though I always recommend replacing the firmware.
      You don't actually have to de-solder the R2 versions to flash them. It's not as convenient as having the holes we had before, but if you just hold male jumpers on the soldered locations you may not get the flash done the first time, but you won't destroy the unit.
      I don't expect there's a device maker out there that is happy to have their devices hacked. I wouldn't be surprised if they did this in response to some potential liability if they know their devices are being "misused" and they don't take some action to prevent it.
      If you do find a better option to the Sonoff, I'd love to hear about it. So far I've not seen another brand of device with the same quality and low price.

    • @DrZzs
      @DrZzs  Před 6 lety

      They might. I'm just starting to work directly with iTead. I doubt they will consider me important enough to consult with early on with new ideas though. I sure wish they would!

  • @anthonyokoren8762
    @anthonyokoren8762 Před 6 lety +1

    Hello found your cool video, Thanks, I have the single leg switch that you say in the video that im outta luck, however i found that if i installed the sonoff inside the light fixture and not in the switch box, then set the power on state to on, it works with the switch and wifi, however the sonoff does not like being powered on/off quickly as the light part works it just takes a while to sync to the wifi.
    great videos!!

    • @DrZzs
      @DrZzs  Před 6 lety +1

      Thanks!
      I should have said that it is possible to put the sonoff in the light box instead of the switch box in that case. I think you could use the wires that go to the switch to connect to GPIO 14. Then you wouldn't be turning the power off/on to the sonoff. I haven't done that, but it should work.

    • @williambello4089
      @williambello4089 Před 6 lety

      My device was designed for exactly this! I designed it to fit inside a switch box. It is limited to 120VAC/250 watts, but in the event of a WiFi failure, you still have switched lighting control (It's a true 3-way)
      piwifio.com/3WayRetrofit.html

  • @smugala88
    @smugala88 Před 6 lety

    Also worth noting... if you don't see the 'generic-esp8266' board, you have to go to Tools

    • @DrZzs
      @DrZzs  Před 6 lety

      ya, sorry.
      realized later I skipped over that step. Would be really helpful if youtube would let us go in and at least add some text.
      Glad you figured it out.

  • @DavidSanchez-xq2ly
    @DavidSanchez-xq2ly Před 5 lety +1

    Nice video!!! I have a question, If you upload a new Firmware on the sonoff Basic are you able to connect with Alexa or Google Home?

  • @guyfawkes6318
    @guyfawkes6318 Před 6 lety

    I wanted to update this for anyone having the same problem I was having (see previous posts here)
    I have tried a hundred different things, but never could get it to work.
    Ultimately, it flashed when I changed the serial to USB adapter.
    Good one:
    www.amazon.com/gp/product/B014Y1IMNM/
    Bad one:
    www.amazon.com/gp/product/B00IJXZQ7C/
    Once I ordered the EXACT one that Dr Zzs showed in the video, it worked correctly.
    Physically looking at the two models side by side, they are identical. But clearly, something is different.
    So if you are getting failures, get the right module!

    • @DrZzs
      @DrZzs  Před 6 lety

      Dang!
      Well, I'm glad you finally solved it. Suck you had to go through all that.
      I need to look at the differences between those adapters. I could have easily recommended a bad one potentially.
      Thanks for sorting that out!

  • @Jeroen_a
    @Jeroen_a Před 5 lety

    Succes!! it worked!!! Thanks DOC! :-)

  • @xrekonx
    @xrekonx Před 6 lety

    Thanks for the video. I ran into a few hiccups with this new version but in the end it worked great and was in home assistant once I added it. I was getting missing library file errors. For example one was TasmotaSerial.h missing and another was IRRemoteESP8266.h missing. Instead of knocking them out one by one I did this:
    I copied everything from Sonoff-Tasmota-5.11.1\lib folder into C:\Program Files (x86)\Arduino\libraries
    All errors cleared and flash was successful.
    Not sure why I had to do it but it worked, maybe I missed a step and this was required from the get go.
    Thanks for the video. Between Superhouse.TV, BruhAutomation, and yourself this is moving along nicely.

    • @DrZzs
      @DrZzs  Před 6 lety

      Thanks!
      ya, I need to update this. At the time I made it all the necessary libraries were there, but now the best thing to do is what you did. Just copy the whole folder from Tasmota.
      Glad it's working out. Being listed with Ben and Jon is pretty cool. Thanks

    • @xrekonx
      @xrekonx Před 6 lety

      I'd send you a PM with my website address but I don't think it will let me. I'm slowly building a page... but I think the three of you and whoever else should start one.
      Home Networking, Automation and Technology is a hot topic right now .. and the current sites that exist have unhelpful content.

    • @xrekonx
      @xrekonx Před 6 lety

      I'd send you a PM with my website address but I don't think it will let me. I'm slowly building a page... but I think the three of you and whoever else should start one.
      Home Networking, Automation and Technology is a hot topic right now .. and the current sites that exist have unhelpful content.

    • @DrZzs
      @DrZzs  Před 6 lety

      Nice Timing!
      I just spent some time yesterday working on mine. I had a site that was okay, but I want to make something better. I'm spending a lot of time learning WordPress right now.
      I did get email set up. You can send me stuff at:
      justin@drzzs.com
      Let's discuss what content would be most helpful!

  • @DCJautomacoes
    @DCJautomacoes Před 5 lety +2

    in this firmware is it possible to configure on / off times via mqttt?
    ex: on / off Wednesday at 8:00.

  • @easwaran83
    @easwaran83 Před 6 lety

    Great video again. 😍
    As a newbie I have the following query before flashing
    After getting tasmototized how can I get the following features working with my sonoff with my home assistant.
    a. Sonoff ON & OFF
    b. SONOFF Scheduled ON & OFF preset.
    c. LOOP timer feature. (To turn off)
    d. Create Scenes
    e. On state decision for existing physical switch.
    f. IFTTT support.
    Can you please post tutorial link/code. Thanks in advance.

  • @veaaltanuwijaya6193
    @veaaltanuwijaya6193 Před 3 lety

    Sir i really need ur help, i try to flash with my FTD232R, in middle flashing i got this error "conflicting types for 'esp8266_gpioToFn' what should i do...

  • @jpcme2002
    @jpcme2002 Před 4 lety

    Thank DrZzs it´s time for an update video, many errors npwadays with new versions like Tasmota 8.0.1 and many missing libraries, like esp-knx-ip, ihx.h, etc etc upgrading JSON 5 to JSON6, please help us ;) Thank for the excelent work and videos!!!

  • @sreed1073
    @sreed1073 Před 6 lety

    thanks for the video I have found in almost all cases it is better to buy the Sonoff Dual WiFi Wireless Smart Swtich it is almost as easy to flash and having dual switches also for greater flexibility . I'm really eager to see what you do with smart touch switch that is something I have not used in my setup

    • @DrZzs
      @DrZzs  Před 6 lety

      I'll have to get a Dual. I have a couple places where I want to control a fan and a light in one box. A Dual will be better than trying to squeeze 2 Basics in there.
      I have a Sonoff Touch. Haven't even opened the box yet. I'll get to it eventually. So many cool projects!

  • @shothman
    @shothman Před 4 lety

    THANK YOU and WOW in then thank you again again .....

  • @rizkyp
    @rizkyp Před 6 lety

    I did get a lot of errors, but using Arduino IDE 1.8.5 (i was using 1.6.7) and copying the lib folder did the trick. MQTT packet size is need to be at least 1000 with later tasmota firmware. so try that if you have problems.

    • @DrZzs
      @DrZzs  Před 6 lety

      Excellent!
      That's good info that I didn't have. Seem like copying the lib folder is better than directly including individual libraries.
      I didn't know about the newer versions needing larger MQTT packet size. Do they have that changed already in the PubSubClient.h from their lib folder? I guess they must.

  • @aldomansueto2739
    @aldomansueto2739 Před 5 lety

    Hi, love your videos. I have a question for you, if I flash with Tasmota can I control the Sonoff with the Smart Life app for Alexa. Thanks and keep up the good work.

    • @DrZzs
      @DrZzs  Před 5 lety

      Thanks!
      No, sonoff devices don't work with Smart Life app. After you flash with Tasmota you can control the device with a hub like Home Assistant. If you just want Alexa to control the sonoff then you can just use the built-in app called ewelink.
      Hope that helps.

  • @RiaanBoden
    @RiaanBoden Před 3 lety

    DrZzs. I am stumped. Now with the Sonoff integration for Home Assistant, do you know if there is a way to remove Tasmota from a SonOff device. I just cannot wrap my brain around it:(

  • @bucklelanefarm
    @bucklelanefarm Před 5 lety

    Thanks for the great videos, they have been really helpful! I have a question though: I want to use GPIO 14 for remote switching of lights, which is easy enough, but I would like to add a connector to the Sonoff Basic case so that I can make installation more modular. I have googled around, but can't find anything suitable. Any thoughts or experience on an external 2 pin connector that can mount to the case? Thanks again.

  • @BasicBenny
    @BasicBenny Před 5 lety

    This is so awesome! I bought a few sonoff basic and wanting to use it to open my garage door. I see that you have a video on sonoff SV to open a garage door. Will it work with sonoff basic also?thanks

    • @DrZzs
      @DrZzs  Před 5 lety +1

      Thanks!
      Yes, it would work with the sonoff Basic. You'd just have to isolate the relay from the mains power. Do some searching on google. There are instructions out there on how to cut the traces on the basic to make it function that way.
      Hope that helps.

  • @sayedur
    @sayedur Před 6 lety

    Thanks for such great videos!! Do they have Tasmota firmware for Sonoff T1 1/2/3 gangs touch switches, or have you had any experiment with them? Would love you to cover those as well.

    • @DrZzs
      @DrZzs  Před 6 lety

      I have a T1, single UK version and a T1 triple US version. I expect I'll have videos done for those in the next week or two.

    • @sayedur
      @sayedur Před 6 lety

      Thank you for your reply. I wrote my own arduino based firmware for Sonoff Basic and successfully integrated that with my own mosquitto broker and Node-red dashboard. While I was upgrading my sketch to work with Sonoff T1 UK 3-gang, I found another lovely little firmware called Kman-Sonoff ( github.com/KmanOz/KmanSonoff ), which integrates beautifully with my system, including those T1 3-gang. I did not particularly like Tasmota's approach of bundling a whole lot of libraries with its distribution, and the intimidatingly huge code base in 71 files (over 1.2 MB); Kman is just 2 files (about 16 KB) for nearly the same functionality. I don't like the Arduino "portable" approach either, coz I already have all those libraries installed in my working version of Arduino IDE,. Kman, IMO, is an smarter implementation and lot easier for beginners. The only shortfall is, you have to upload the firmware each time your WiFi access credentials or mqtt address change. But that too can be accomplished via OTA (code is there, although I did not test it). I think Tasmota is an overkill.

  • @salim.studio
    @salim.studio Před 6 lety +2

    Bro, could you make a 4channel sonoff in a sprinkle system? a tutorial of this could be awesome.

    • @DrZzs
      @DrZzs  Před 6 lety

      4 channel video is done. will be uploaded tuesday.
      I didn't do a sprinkler setup exactly, but I should do that...

    • @salim.studio
      @salim.studio Před 6 lety

      bro thanks s o much ,i have some ideas for this , like solenoid valvules and know this could work really

  • @DanBurgaud
    @DanBurgaud Před 5 lety

    I bought a Sonoff Basic v2 with 2.6.0 firmware... while waiting for serial cables, tried sonOTA flashing and no go.
    Hope to get the cables soon to get my project going...

    • @DrZzs
      @DrZzs  Před 5 lety

      ya, sorry. I think v2.6 doesn't support OtA flashing. :(
      But USB/Serial method always works!

  • @oliverosbourne6776
    @oliverosbourne6776 Před 6 lety +1

    just wanted to say in the new tasmota 6.1.1 the the user_config.h file needs to be edited with ssid info etc not the sonnoff.ino

    • @cattierfriend
      @cattierfriend Před 5 lety

      I'm stuck at this exact step, can you elaborate on how to do that?

  • @RAC7012
    @RAC7012 Před 5 lety

    I can't install the ESP8266 from the board manager. I read through the comments below and tired everything. The images you posted from Dropbox are not working...

  • @b3y0urs3lf
    @b3y0urs3lf Před 2 lety

    You need to update this video, it's easier now!

    • @clintAdventures
      @clintAdventures Před 3 měsíci

      i dont think he cares to update the old vides. its just live streams now. shame as I LOVE all these old videos it got me into all this.
      any chance you can post a quick how to for doing it now?

  • @mw7185
    @mw7185 Před 4 lety

    I recently purchased a sonoff basic ( 6pack ). However the interior is slightly different. Has 2 black wires. Will that Sonoff work with this process ?

  • @michaelhenderson5098
    @michaelhenderson5098 Před 6 lety

    I am a little late to the Sonoff game, but I have a question. I can't connect a new Sonoff to my router because it is 5ghz...and my phone...and my Galaxy TabA. So am I skrewed when it comes to 2.4ghz devices? I hate to flash them only to find out they are worthless. Note: My router is an Xfinity dual band style. One Raspberry Pi is on the 2.4 ghz band and the Home assistant Pi is on the 5ghz Pi.

    • @DrZzs
      @DrZzs  Před 6 lety

      Bummer. The ESP8266/8285 chips are 2.4ghz only. There may be other devices that use 5ghz, but not the Sonoffs.
      Sorry.

    • @michaelhenderson5098
      @michaelhenderson5098 Před 6 lety

      And now some good news. I have an android tablet, that when checked, is on the 2.4ghz band. I was able to install the ewelink app on it and got one of the Sonoffs installed and the firmware upgraded to 1.8 something. A second one failed to connect multiple times so I gave up. Now to work on the Tasmota flashing. Thanks.

    • @DrZzs
      @DrZzs  Před 6 lety

      Glad you got that far at least. You may have trouble trying to connect with any ESP8266 device still without a 2.4ghz band on your wifi. Good luck!

  • @sstockemer
    @sstockemer Před 5 lety

    Hey Doc. Love your videos, bro! Thanks for all your hard work! But I'm here because I have a question, not only to sing your praises...
    So here goes. While I'm waiting for several sonoff basics to arrive (I've just gotten intro HA and smart home tech about a week ago), I've set up a sandbox HA system, and since installed HA on a Raspbian. Now to my question. I received a 'magic home' wifi led controller for an rgb strip. I dig it. The Magic Home app isn't horrible, and it integrated nicely with my HA system. So...why (like what advantages would there be) would someone flash Tasmota on this?
    I read that it can be done. It's on git. But other users (in some German forum) have said that they lost functionality after the flash. What were they hoping to accomplish?...or is it just that flashing itch that tech-freaks (myself included) get that drove them to flash it? (Speculation, I know...But please speculate!)
    Many thanks again!

  • @NetworkGeek280
    @NetworkGeek280 Před 5 lety

    How did you avoid needing to solder on a pin header to the sonoff?

    • @DrZzs
      @DrZzs  Před 5 lety

      If you're just flashing it with new firmware you can just hold the wires in the holes if you're using male jumper wires. If you want to connect an external switch to gpio14 I don't think there's a way to do it without soldering. Sorry.

  • @learntechnologynow6826

    What will be power adapter recommendation for "1 Channel Inching /Self-Locking WiFi Wireless Switch 5V " . 5 Volt 1Amp or 5 Volt 2 Amp or 5 Volt 3Amp ?

  • @DanielScottFilms
    @DanielScottFilms Před 5 lety

    The link for the Arduino IDE preference setting resulted in a 404. UPDATE: Found your updated video here: czcams.com/video/KMiP9Ku71To/video.html - works - THANKS!

    • @DrZzs
      @DrZzs  Před 5 lety

      Thanks!
      ya, not surprised there are dead links.

  • @fcecamor
    @fcecamor Před 6 lety

    Hi DrZzs, thanks for all your video. I really like the idea of make domotic my house but I've a question. I would like to know if during the standby period of the device if it produces WiFi transmission (and if so, how much) considering that if there should be more than 50 devices installed in a house, the transmission could end up being unsafe for human exposure. Cheers

    • @DrZzs
      @DrZzs  Před 6 lety

      that's a great question. I don't know enough about what having too much wifi exposure does to us.
      When you get the device running Tasmota you can watch the Console and see how often it sends wifi messages. I think you can adjust that too, so you could probably decrease the amount of transmitting quite a bit.
      Check out the Tasmota site and see what you can find about how often it sends messages in standby and how you might be able to decrease it.
      github.com/arendst/Sonoff-Tasmota/wiki/Commands
      github.com/arendst/Sonoff-Tasmota/wiki/Domoticz
      Hope that helps!
      and I hope I'm not frying myself and my kids with all our wifi! We've got at least 20 devices connected at any given time.

    • @fcecamor
      @fcecamor Před 6 lety

      Thanks for your answer. The problem is not only the MQTT protocol (like you said, maybe we can reduce the amount of messages between the sonoffs and the server ) but the WiFi protocol itself. I think the Tasmota developer can give us an answer: github.com/arendst/Sonoff-Tasmota/issues/1805

  • @renedemsgaard8053
    @renedemsgaard8053 Před 6 lety

    Hey I am trying this, but when i add the "portable" folder I cant start arduino, the error is " Arduino cannot run because it could not create a folder to store your sketchbook." When i delete the portable folder i works fin again???

    • @pangit9999
      @pangit9999 Před 6 lety

      Same here. Don't know the fix yet

  • @MoyeenShariff
    @MoyeenShariff Před 6 lety

    I have a PIR sensor that will turn on my lights (Using son off RF bridge) but I want them to be switched off after 3 mins automatically.. can we schedule this in sonoff basic using ewelink ?

    • @DrZzs
      @DrZzs  Před 6 lety

      I'm not sure with the ewelink app. I know you could do it with Home Assistant or another smart home hub. I'd be surprised if the ewelink app could do that kind of automation.
      Sorry.

    • @MoyeenShariff
      @MoyeenShariff Před 6 lety

      Hi, Thanks for the reply. I have few questions
      1. Do you know if there will ever be a sonoff bridge
      2. Is there a 433 mhz alaram that i can pair with sonoff bridge to go off when the door sensor is activated.
      3. I have seen your on air upgrade to TASMOTA for sonoff basic , is the procedure same for sonoff pow and sonoff TH 16
      4. Can we use ewelink after tasmota update ?
      5. Sonoff these days are having multiple products which are basically the same base unit with a little added functionality but there is no product which has every feature in it. Is it possible to have a sonoff pow2 to have the sonoff th features OR to have the power measurement to sonoff basic . It would be good if you can do a video with all the devices in sonoff family and some good devices compatible with them (with both RF and WIFI) with improvements that we can do for that device.
      Thanks for positing the videos you did till now they are very informative.

    • @DrZzs
      @DrZzs  Před 6 lety

      there is an RF bridge if that's what you mean.
      www.itead.cc/wiki/Sonoff_RF_Bridge_433
      I don't know much about the RF alarm options. Check the iTead website. They probably have something like that.
      OtA should work on any sonoff. The difference is just how you get it into programming mode.
      This page should tell you if there's a different procedure for the one you're using.
      The difference is really just where to find GPIO-0. It isn't always attached to the on-board button.
      github.com/arendst/Sonoff-Tasmota/wiki
      No, once you flash with Tasmota you can't go back to the eWeLink app.
      ya, no one device does it all. But with Tastmota you can do a lot with the extra pins. So you can use a TH or a PIR or add a second relay. You just have to decide and do a little tinkering. They can do dang near anything.

  • @MbySK
    @MbySK Před 5 lety

    What the difference between FT232RL vs FT232BL

  • @zfrenchy1716
    @zfrenchy1716 Před 5 lety

    Hello everybody. Just bought my first house, also found the Sonoff are awesome and cheap control and survey my house, but I am confuse how I should do.
    I know the app eWeeLink on tablet works fine, but I want more !
    Home Assistant with CodeRed look great, BUT, BUT, BUT, what and how to do ? Flash Tasmota into the Sonoff devices then install Home Assistant with MQTT and CodeRed plugins, on a dedicated laptop (will do Rpi later with touch screen) ?
    Is it the right sequence of operations ? What I am missing ?

  • @AyroldiNicolo
    @AyroldiNicolo Před 5 lety

    Hi, just an information. According to you, is it possible to add an ethernet port to your sonoffs with a tasmota firmware? Just to not fill the house with wifi devices. Thank's!!!

  • @BradleyHerbst
    @BradleyHerbst Před 6 lety

    Very good video. Thank you.

  • @NeenjaDesigns
    @NeenjaDesigns Před 6 lety

    Hey man, great videos, I used your tasmota OTA instruction to flash one of my sonoff basic switches and it works like a charm! Only problem is, I had zero success in integrating the tasmota flashed sonoff into my homebridge...
    Question: do you need a raspberri PI for these projects? Can you just use a mac? did you/will you make a video tutorial on how to set up the sonoff and something like homebridge (in my case on a mac) so as to integrate everything with apple homekit? I'm pretty new to this and im far from being comfortable with coding and using the terminal on mac, but your guides are super easy to follow thus I hope you have something that can help me or will consider making one... Help :p :D ;)

    • @DrZzs
      @DrZzs  Před 6 lety

      Thanks!
      Homebridge and Homekit are on my video to do list. Don't know when I'll get to it, but hopefully before too long.
      Did you try using the emulator modes in Tasmota? I don't know if it helps with Homebridge/kit, but it's worth a try. You can make the Sonoff appear as a Hue or Wemo.
      I can't remember the menu option off the top of my head, but I think it's the "Configure Other" option.

    • @NeenjaDesigns
      @NeenjaDesigns Před 6 lety

      DrZzs I blindly tried to switch them on but I really dunno what to write in the json after that... i even tried to install mosquitto on my mac, but as i said i have no idea what I’m doing, hence I couldn’t even find mosquitto’s address or where/how to configure it... Ask me to wire something and i will build a damn nuclear plant... ask me to program something and i can be defeated by a simple server address...

  • @flyjim99
    @flyjim99 Před 5 lety

    Any major problems to anticipate with R2 devices?

  • @hockeysam91
    @hockeysam91 Před 6 lety

    hi,
    everything works fine but now i can't toggle the relay. and the green led doesn't open when i plug something. maybe something burned but i don't know. I need to let the ESP8266 Module connect to the sonoff ootherwise i can't open the sonoff.:( I need some help please..

    • @DrZzs
      @DrZzs  Před 6 lety

      hmmm
      Give me as much info as you can about what you've done and what you're seeing. Post a short video if you can, that's most helpful. I'm sure we can figure out where the problem is.
      Sorry it took a few days to reply.
      Somehow some comments are getting buried instead of appearing in order.

  • @shaunwhiteley3544
    @shaunwhiteley3544 Před 6 lety

    Excellent, thanks. Also put a big smile on my face when you mentioned Home Assistant. Will have to check your back catalog of videos to see what else you have done with it. I am just starting my setup, a bit slow going, need all help I can get! You had a look at MySensors.org ? Looks very promising for home diy sensor builds, a lot cheaper than buying them!
    Thanks and I hope you’re having a good Christmas. Cheers 🎄
    P.s new subscriber 👍😀

    • @DrZzs
      @DrZzs  Před 6 lety +1

      Shaun Whiteley Cool! Thanks!
      I haven’t looked at mysensor but I’ll check it out.
      Home Assistant is awesome. I started with it just to control some LEDs but now it’s taking over.
      I started learning from Bruh Automation videos. Ben hasn’t posted anything in a while though.
      I’m going to keep cranking out videos as long as folks are watching.
      Let me know if you have something specific you want to see.
      Good Luck!

    • @shaunwhiteley3544
      @shaunwhiteley3544 Před 6 lety

      DrZzs Thanks for reply, just going through my first setup, following your instructions. Hit a snag when trying to compile, missing libraries, are you supposed to add the Tasmota libs? I opened the sonoff.ino from the unzipped download but failed to compile after making changes. Missing irremoteesp8266, neopixiebus and tasmotaserial. Added first 2 with library manager but serial I had to manual add (add zip library) as not showing in lib manager
      Just waiting now to see if it will upload.....🙏

    • @shaunwhiteley3544
      @shaunwhiteley3544 Před 6 lety

      DrZzs failing to upload, can upload blink fine but not this sketch. Espcomm_sync failed. I noticed you have upload 1m (64k spiffs) but the tasmoto wiki has no spiffs. No idea what a spiff is so some more googling 🤔

  • @FernandoTapia00
    @FernandoTapia00 Před 6 lety

    Great video, i know there are new and simple ways to flash tasmota, but my problem Is with the Adapter, the pc wont recognized it, I've download drivers but it's not working , how do you install the drivers?

  • @norbertro8709
    @norbertro8709 Před 4 lety

    Hi
    I can't find Generic ESP8266 Module in the list. what can I do? Thank you

  • @riteshkarn341
    @riteshkarn341 Před 5 lety

    sketch/sonoff_post.h:41:24: fatal error: esp-knx-ip.h: No such file or directory
    i am getting such error

    • @DrZzs
      @DrZzs  Před 5 lety

      I wouldn't recommend flashing that way anymore. This should be an easier process: czcams.com/video/KMiP9Ku71To/video.html

  • @alpeshrodage
    @alpeshrodage Před 5 lety

    I want to automate my old honeywell chronotherm III thermostat of HVAC. I was thinking of using sonoff basic or th16. Do you have any video on it? Any tips;suggestions are appreciated. I fond video some one uploaded for reading old thermostat of heater which did not have A/C or cooling system. I am new bee. Trying this first project in home automation. Please help.

  • @DeclanGreen
    @DeclanGreen Před 6 lety

    I flashed 4 sonoff basic and can open a Web browser to turn on and off etc. Now how do I connect to openHAB and MQTT as this is the next logical step for me. Thanks for the inspirational videos.

    • @DrZzs
      @DrZzs  Před 6 lety +1

      If you're seeing the Tasmota main page:
      Then you go to Configuration, Configure MQTT, and there you can set the MQTT broker IP (host), user/PW, and topic.
      To see what your full MQTT topic looks like go to the Console and click the button. It should post the topic and payload you'll need to know for OpenHab. I don't use openhab so I can't get much more detailed than that.
      Hope that helps!

  • @huskywolf8198
    @huskywolf8198 Před 6 lety

    great video, i will doit soon but a question......after flasing can i still use alexa with tasmota firmware????????????????????

    • @DrZzs
      @DrZzs  Před 6 lety

      Well, yes, but not in the same way you can without Tasmota. There are a couple ways to use Alexa and/or Google home with Tasmota. I think the easiest way is to set the sonoff to emulate either a Wemo or Hue bridge. From the Tasmota main page go to Configuration and Configure Other. There are check boxes there for emulations. That should make the Sonoff detectable by Alexa or Google home.
      The other way is to use a Home Automation hub, like Home Assistant. Connect the Sonoffs to HA with MQTT, then you can connect Alexa with the HA cloud. And I think there's a component for Google Home. Not 100% sure about that though.
      Anyway, emulation should work.

  • @stewartrv
    @stewartrv Před 6 lety

    I think the reason it didn' work with your Apple PC is that you need the driver for the USB Adapter and they aren't always too easy to find if they don't workout of the box...

    • @DrZzs
      @DrZzs  Před 6 lety

      I have had SO many issues with connecting Arduino stuff to the Mac USB ports. I've deleted and re-added drivers, and had it working from time to time, but eventually it goes back to not recognizing them. So I'm sure you're right.
      Grrrrr

  • @mik29k
    @mik29k Před 5 lety

    What custome firmware offers over stock sonoff firmware

    • @DrZzs
      @DrZzs  Před 5 lety

      The ability to use an open-source Hub like Home Assistant and keep all the control for your smart home "local-only", that means not relying on any other company's servers.
      This may be changing very soon for Sonoff. They are releasing a new version of their firmware that is going to have "DIY mode" that will let us control the device without needing to connect to their servers.
      If you want to just use Alexa or Google home as your hub you don't need to change the firmware. So for most people it isn't necessary.

  • @jranjan4685
    @jranjan4685 Před 6 lety

    Bro I tried flashing with my mac with atom and windows using Arduino it got flashed but didn’t got green led flashing what to do

  • @kikip25
    @kikip25 Před 6 lety

    Is it possible to flash with Arduino UNO? I will try with all steps but it said generic platform esp8266 not found. Failed compiled for generic esp8266 module....

    • @DrZzs
      @DrZzs  Před 6 lety

      another thing to try would be to use the pre-compiled sonoff.bin file. Then you won't have any board manager or library issues.

  • @rammaoz
    @rammaoz Před 5 lety

    The link in the description for the esp8266 driver board link gets mangled by youtube putting a redirect in the url. the url is :
    h** p://arduino.esp8266.com/stable/package_esp8266com_index.json replacing ** with http

    • @DrZzs
      @DrZzs  Před 5 lety

      Thanks.
      I haven't used that in a while since I switched to using the pre-compiled binary of Tasmota.

  • @manningcustom
    @manningcustom Před 6 lety

    can i use my Sonoff products with smart life app if I flash the firmware?

  • @winchesterlyon
    @winchesterlyon Před 6 lety

    FYI: For the latest stable version of Arduino ESP8266 Board Manager:
    arduino.esp8266.com/stable/package_esp8266com_index.json
    The latest stable version is 2.4.1

    • @DrZzs
      @DrZzs  Před 6 lety +1

      thanks.
      The process for flashing I used it this video is quite outdated now. The method I've been using lately is just to download "sonoff.bin" from Tasmota
      github.com/arendst/Sonoff-Tasmota/releases
      and "flashesp8266.exe" from ESPeasy
      github.com/letscontrolit/ESPEasy/releases/download/mega-20180513/ESPEasy_mega-20180513.zip
      No need to mess with board managers or libraries etc.
      czcams.com/video/NNW05smSNOA/video.html

    • @winchesterlyon
      @winchesterlyon Před 6 lety

      I've been using ESPEasy and it's been working great... I tried the method in this video afterwards, because of something I read about Rules that needed to "be enabled when compiling".. For a second I thought that there may be features that are not enabled by default and doesn't have some section in the configurations - I couldn't find anywhere to "enable" or "disable" Rules in the configurations - and using ESPEasy would skip over them.
      I read so much on Tasmota pages and to be honest, they don't clarify things completely some times - lack of context in most cases.. So, I end up wasting time going through this to find this "Rules" feature so I could enable it. However, while going through the method in this video, I was able to find out a few things... So I really didn't mind after all... Going through this video cost me almost 2 hours and I still learned more than the 2 days of reading through Tasmota forums and Wiki pages.. Thanks for the video...

    • @DrZzs
      @DrZzs  Před 6 lety +1

      wow. Thanks!
      Glad to help.
      I know they added some rules functions in the newest version of tasmota (5.13 and newer I think). There isn't anything you have to do before flashing to have access to them. I don't know much about ESPeasy firmware. I've been meaning to try it but just haven't had time yet.

  • @xbb1024
    @xbb1024 Před 6 lety

    Help, I'm using version 6.1.1 and I get the error "esp-knx-ip.h: No such file or directory"

    • @DrZzs
      @DrZzs  Před 6 lety

      I'd recommend skipping the whole compiling step and just use sonoff.bin
      like this:
      czcams.com/video/KMiP9Ku71To/video.html

  • @mickejansson999
    @mickejansson999 Před 6 lety

    Hi!
    Rely looking forward to have my SONOFF in Homekit and when I found your guide here I was hopeful, But I got stuck @3:42, what should I put in the"additional boards manager URLs"? PLS help me :)

    • @DrZzs
      @DrZzs  Před 6 lety

      Sorry that wasn't clear. It's this:
      arduino.esp8266.com/versions/2.3.0/package_esp8266com_index.json
      its in the description too.

  • @roksipec1015
    @roksipec1015 Před 6 lety

    Hello after flashing tasmota my sonoff changes relay position every 30 seconds and in between led lights up and after before changing relay againt if flashes few times .
    Do you maybe know what the problem is ?
    Thanks

    • @DrZzs
      @DrZzs  Před 6 lety

      whoa, that ain't right.
      I've not seen anything like that.
      Look in the Tastmota Console and see if there is any information there when it's doing that.
      But that is certainly not normal behavior.

  • @alvj7373
    @alvj7373 Před 5 lety

    I've just bought a bunch of these but there's no gpio 14 (that I can find). Looks like they've removed it. Please tell me I'm wrong (and where it is) or how I can switch without it.

    • @DrZzs
      @DrZzs  Před 5 lety

      can you post an image? Are they Sonoff brand? I've seen some in similar cases that are not made by sonoff and do not have easily accessible pins.

  • @fanysoft
    @fanysoft Před 6 lety

    Nice, you dont have to change PubSubClient.h (video position 4:23) - it throws error in IDE for beeing too small, keep 1024

    • @DrZzs
      @DrZzs  Před 6 lety

      Thanks!
      Things have changed a bit since I made this. I think Tasmota now includes a PubSubClient.h that doesn't need to be modified at all.

  • @LeifNelandDk
    @LeifNelandDk Před 5 lety

    Instead of having to change the project name for each switch, isn't it possible to use the mac-address as a topic, like /sonoff/01AF23B280 ?
    If the sonoff sends something when it is turned on, you can always subscribe to /sonoff/* to see new sonoffs

    • @DrZzs
      @DrZzs  Před 5 lety

      yes, very true. I believe that is how TasmoAdmin gets it's connections to all the Tasmota devices on your network.
      I actually haven't compiled Tasmota in the IDE for a while. I've been just flashing with the pre-compiled binary, then changing the mqtt topic in the UI. All Tasmota devices have a "grouptopic" that they respond to as well.
      Thanks!

  • @emailyarabrandao
    @emailyarabrandao Před 6 lety +1

    hi. may i please ask you a question? i am still learning all this. so, this TASMOTA firmware flash is so i can use the sonoff with a switch, cell, alexa and google in any order to turn off and on a light for example? thank you kindly.

    • @DrZzs
      @DrZzs  Před 6 lety +1

      You can always ask a question! I try to answer them all, at least as well as I can.
      The answer to your question is "mostly yes". The reason for using Tasmota is 1) to connect the sonoff with Home Assistant or any other hub that uses MQTT. 2) to connect a physical push button so you can use it as a light switch in a regular switch box. Other people use them with Tasmota for a whole bunch of other things. Those are just my reasons.
      Out of the box the Sonoffs can be controlled by their own app, alexa, and google home. So, they're already pretty useful without Tasmota.
      Tuesday morning I'll have a video about how to get Alexa controlling everything you have on Home Assistant.
      Hope that answer helps.
      What are you hoping to do with them?

    • @emailyarabrandao
      @emailyarabrandao Před 6 lety

      thank you sooo much for the fast response. and happy 2018 by the way. about your answer... i have the sonoffs here and as i have tested and saw on the videos, the way the manufacturer has it; if i turn on the lamp with my alexa i have to turn off the lamp with alexa as well. if i turn on the lamp with my cell app i then have to use the app to turn it off. i want to be able to turn on and off my apt lamps without having to use the same way i turned them on. for example: i want to turn the light on with my wall switch and then turn it off with alexa. or vice versa. i then goolgled here and noticed the method to solder a wire to the black click button on the sonoff board, so this way i could use it on my wall swtich and have it work the way i want it above. but i am bad at soldering, so i looked for another method. that is why i wanted to know if tasmota can do this. because this is the only thing i wan to do with them. thank you again!

    • @DrZzs
      @DrZzs  Před 6 lety +2

      I see. Well, I'd encourage you to practice soldering ;) If you really want it to work as a wall switch you'll eventually need to connect some wires to the board. I'm a lot better at soldering now than I was 6 months ago. It's just practice. You can do it!
      What you describe is how mine works. I can turn lights on from the wall switch, from Alexa, or from the Home Assistant app on my phone or desktop, and then turn them off by any one of those methods, regardless of which I used to turn them on. And with Home Assistant I can set up Automations to do things like turn off all the lights at 11pm, etc.
      Happy New Year to you as well!

    • @emailyarabrandao
      @emailyarabrandao Před 6 lety

      so what you are saying is that TASMOTA can do what i am looking for, in case i do not decide to solder. correct? (my hands shake, illness, i cant solder)

    • @DrZzs
      @DrZzs  Před 6 lety +1

      You would need to also use Home Assistant to get control through Alexa, I believe. The only reason to solder is to connect a switch to the GPIO pins so you don't have to use the on-board button. You can use the on-board button to turn it on and off, but the on-board button has other functions, like putting the board back in programming mode, among other things. So using a different GPIO pin is usually considered better. But if you are totally against soldering, then you can use that on-board button.
      There are other alternative firmware options besides Tasmota. ESPeasy and ESPruna are 2 others I know of. I don't know if they integrate Alexa. They might.
      Hope I haven't just made you more confused.
      Good Luck!

  • @darcywalker1706
    @darcywalker1706 Před 6 lety

    DrZzs: I have just received a Sonoff S31 (US power plug with power monitoring) and I am trying to flash it... but I am having some challenges... I can't seem to find how to get the unit into "flash mode". Do you have any recommendations?
    Thanks in advance,
    DarcWing

    • @DrZzs
      @DrZzs  Před 6 lety

      I wonder how similar it is to the European version.
      github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-S20-Smart-Socket

  • @kostaca
    @kostaca Před 5 lety

    hey quick question how can i make my sonoff switch relay to power up when reset, for example i turn off a light on HA, now my wall switch is on position but when someone goes and try to power on the light it wont work because i selected off but is the relay is set to power up when reset now the they can flip the switch off/on and the light should power on

    • @kostaca
      @kostaca Před 5 lety

      so i found this "PowerOnState 1/ on" bus HA turns it off after 30 sec or so, any ideas?

  • @RobertHorvat
    @RobertHorvat Před 6 lety

    something went wrong. I can not find json and PubSub lib. If I start searching undeer boards manager, if i write json, there is nothing more to select

    • @DrZzs
      @DrZzs  Před 6 lety +1

      oops. Those you'll find in Include Library, not Board Manager.
      Understandable, they look similar.
      www.dropbox.com/s/kp6qt6dk6uy1sjb/Screenshot%202018-01-14%2010.42.42.png?dl=0

  • @vrthykr7070
    @vrthykr7070 Před 6 lety

    When using tasmota firmware to use Sonoff in regular gang switch. Can the switch be a dimmer or does this mess with the dimming of your smart home control. Thanks

    • @DrZzs
      @DrZzs  Před 6 lety

      VrT Hykr No. You won’t get dimming if you connect a dimmer switch to the gpio pins. There’s a lot of things TASMOTA can do that I haven’t tried. I haven’t looked but I seriously doubt there’s a dimmer function.
      You’d have to have “smart” bulbs, but if you have those you don’t need a sonoff to control them.
      Many people are asking iTead to make a WiFi dimmer switch. They’ve been a pretty responsive company so I bet they’ll make one before too long.

  • @davidtjac
    @davidtjac Před 6 lety

    Hi I followed until I gor to MQTT & Pi!!! I am running Smartthings so initially just want to upgrade to Tasmoto. Do I actually need MQTT or is it solely for Home Assist?

    • @DrZzs
      @DrZzs  Před 6 lety

      good question. I know Tasmota is compatible with SmartThings. I don't know much else about getting them communicating. My guess would be you won't need a separate pi/mqtt broker.
      Just found this: github.com/BrettSheleski/SmartThingsPublic/blob/master/devicetypes/BrettSheleski/sonoff-tasmota.src/readme.md
      Looks like it should be pretty easy to get SmartThings talking to your Tasmotized Sonoffs.
      BTW, I've learned some things about making the sonoffs better (and safer) as a light switch. Check this one out: czcams.com/video/B38e1HAMUXs/video.html
      Good Luck!

  • @dennisherrmann1233
    @dennisherrmann1233 Před 6 lety

    When i do like you told, i get 2 errors while compieling. One in the PubSubClient and one in the functional.

    • @DrZzs
      @DrZzs  Před 6 lety

      hmmm. Can you give me more details?
      They have made some changes that make some of my instructions no longer necessary. Search through the comments here. There are some references to copying everything from tasmota into the lib folder for your Arduino IDE. That might fix your errors.

  • @jakobmosburger2737
    @jakobmosburger2737 Před 6 lety

    Great Video and everything works.
    Is there a solution for the following issue:
    I would like to use the sonoff dual for my shutters.
    This means, if I switch one Relay on I have to switch off the other one.
    Is there a sketch available which include this function?

    • @DrZzs
      @DrZzs  Před 6 lety

      Thanks!
      I just finished a video on the Dual. It'll be up tomorrow morning. (I hope your Dual is an R2)
      I didn't go into the different possible switch functions, but that's part of what makes Tasmota great. You can change what happens when you activate the switches.
      I haven't looked into it much, but you might find a solution by changing the SwitchMode. The link below is a list of all the commands you can type in the Console and what they do. The functions aren't all really clear, but with a little experimenting I bet you find one that'll do what you're looking for.
      github.com/arendst/Sonoff-Tasmota/wiki/Commands
      Good luck!

    • @jakobmosburger2737
      @jakobmosburger2737 Před 6 lety +1

      DrZzs
      Great. I will watch the video tomorrow. Perhaps I find a solution for my shutter problem
      Thanks again

    • @jakobmosburger2737
      @jakobmosburger2737 Před 6 lety

      I watched your Video for the Sonoff dual and also my Sonoff Dual works well.
      The Problem for my shutter is difficult because if I switch relay 2 on I have to switch relay 1 off. The Motor can only work in one direction up or down.
      Is it possible to adjust the Sketch in this way that only one relay is switched on?

  • @AndyP126
    @AndyP126 Před 6 lety

    So, the serial to USB adapter does not need to be soldered to the board? As long as the pins make contact, you're good?

    • @DrZzs
      @DrZzs  Před 6 lety

      Yes!
      I just use female/male jumpers from the adapter to the sonoff.

    • @AndyP126
      @AndyP126 Před 6 lety

      Time to try it, now that SonoOTA doesn't work any more.

  • @bst3ck
    @bst3ck Před 6 lety +2

    Is anyone having an issue compiling the Sketch file with the esp8266 board running version 2.4.0? I keep getting the following error:
    Sonoff-Tasmota-5.11.1\sonoff\xdrv_02_irremote.ino:25:29: fatal error: IRremoteESP8266.h: No such file or directory.
    I am going to try and downgrade to 2.3.0 to see if that works, but wanted to get any additional suggestions from the community.

    • @DrZzs
      @DrZzs  Před 6 lety

      You can also try going into the user.config.h and comment out all the references to the IR Remote.
      Looks like it's trying to load an IRremote library that isn't there. If you don't have the IR Sonoff (They make a Basic with IR, if you just bought a basic, it doesn't have IR an receiver). Other option is go to Libraries and search and install the IRremoteESP8266.h library. But there's no reason to do that if you don't have an IR sonoff.

    • @Zeric1
      @Zeric1 Před 6 lety +2

      The IRRemote library issue is just one of many missing library related issues that will occur at present. Things likely changed since this video was released, a common problem with the how to videos on compiling tasmota (or other software). So here is what you need to know....
      At present (tasmota 5.11.1 and arduino 1.8.5), all the libraries are included with the Tasmota source download. It's much better to use the known working versions included with the Tasmota source rather than getting newer, and potentially problematic, versions through the arduino library manager. Added bonus, the edit required for PubSubClient.h is already done. If you already have json and pubsubclient installed, delete them (from ..\portable\sketchbook\libraries) and move all the libraries from the Sonoff-Tasmota-5.x.x\lib folder and put them under the ...\portable\sketchbook\libraries folder in the arduino tree. After doing this, all the library compile errors went away.
      As far as changing PROJECT in user.h to deal with multiple devices, I find it's better just to change if from the web config once it's online. If you have many devices (I have maybe 15 or so, most running ESPEasy software), you are not going to want to recompile for each separate device. That way you can use 1 known working binary to update all your devices.

    • @DrZzs
      @DrZzs  Před 6 lety +1

      Zeric E You’ve obviously got some deep knowledge and experience. Thanks for helping out!

    • @smugala88
      @smugala88 Před 6 lety

      Zeric E I ended getting compile errors even after copying the the aforementioned libraries. I had to copy ALL of the Libraries from the Tasmota download and past them into my library folder. After that, it was cake.

    • @BowWowPewPewCQ
      @BowWowPewPewCQ Před 6 lety

      +1 for having to move all the libs Thanks everyone.

  • @pvtien7
    @pvtien7 Před 6 lety

    i'm not have "Qunqi 3.3V 5.5V FT232RL FTDI Usb to TTL Serial Adapter Module for Arduino Mini Port". can i use aduino UNO r3 ???

    • @Zeric1
      @Zeric1 Před 6 lety

      Any USB serial converter will work provided it's can supply 3.3v power. An UNO R3 can work just fine, search google for tutorials. I prefer a stand alone CH340 based converter, only $2 from china or about $7 on amazon. Prior to getting that, I used an UNO for serial programming but it's been so long (years) I don't remember exactly how I did it, but the information is out there.

  • @Bahadurpk
    @Bahadurpk Před 6 lety

    Great videos, I have a question about Home Assistant MQTT broker, do I need to install seperate Mqtt server or I can use the MQTT broker as HASSIO Add-on, in which case when editing the user_config entry, where it says MQTT HOST, what IP address you put in?
    Thanks

    • @DrZzs
      @DrZzs  Před 6 lety

      Thanks!
      Yes, you can use the MQTT broker add-on (Mosquitto). When you're setting it up the "host" is the IP address of your Home Assistant pi. It's the IP address of the computer where Mosquitto is running.
      Hope that helps!

  • @Mr1279Dave
    @Mr1279Dave Před 5 lety

    Arduino will not run with the portable folder you said to create. Several hours later, this only works for a portable install of Arduino IDE.

    • @DrZzs
      @DrZzs  Před 5 lety

      Sorry man, this video is very old the way things change in Smart-Home tech. The description has links to newer versions that don't follow that method and are much easier. Unfortunately CZcams won't let us change a video once it's posted.

  • @MrAnderson1221
    @MrAnderson1221 Před 6 lety

    DrZzs great video! thanks for the help.
    I followed the video as best I could. I didn't get the generic 8266 board installed and all the settings . I went to board manager and searched for "generic" and installed. I just thought I would get some feedback in case others were having the same issue.
    I'm totally new to this and my question is around the MQTT. I simply want to set up the lights to run off switch, phone, and google home. I understand the ewelink will not work, so is the MQTT another APP that interfaces between google home and the sonoff?

    • @DrZzs
      @DrZzs  Před 6 lety

      Michael Anderson
      Thanks! And welcome to home automation! I think the sonoff stock firmware and EWeLink app work with google home. If you already flashed it maybe too late to go back and test it.
      If you haven’t successfully replaced the sonoff firmware with TASMOTA, try the stock sonoff stuff and see if google home can find it.
      MQTT is a message protocol to send simple messages between devices. It’s not an app. You have a broker, in my case it runs on the same raspberry pi that runs Home Assistant. Then your IoT devices can “publish” and “subscribe” to specific “topics”. So in my case Home Assistant is a client and the Sonoff (running TASMOTA) is another client. There’s a topic for the power control of the sonoff called “cmnd/sonoff/power” that the sonoff is subscribed to. Home Assistant can publish a “payload” of “on” or “off” to that topic. The broker receives that message and sends it to any device that is subscribed. In this case that’s the sonoff. When the sonoff gets the message it flips the relay. Then there’s a topic for the state of the sonoff. The sonoff publishes the state as on or off and Home Assistant is subscribed to that topic. So when Home Assistant gets that message it sets the icon on the home page to on or off depending on which payload it received.
      I think technically the sonoff isn’t publishing it’s state, but in general that’s how MQTT works.
      That was a really long, probably confusing response. Especially if you’re new to all this.
      Hope that helps!

    • @MrAnderson1221
      @MrAnderson1221 Před 6 lety

      Hey thanks! I've been running the sonoffs, ewelink APP, and google home to control many devices. I just wanted to start trying to control lights through the switches using GPIO14. I havent flashed anything yet because I was stuck on the MQTT setup.
      I think I follow your comment...
      If I don't want to set up home assistant or a pi. Is there an APP that you recommend like ewelink that would work as the interface between a sonoff (TASMOTA) and google home?

    • @DrZzs
      @DrZzs  Před 6 lety

      Michael Anderson Not off the top of my head. I’ll keep an eye out and let you know if I find something.

    • @DrZzs
      @DrZzs  Před 6 lety

      I'm a totally knucklehead.
      I completely forgot that Tasmota can emulate a Belkin WeMo or a Hue Bridge. By doing that, you should be able to find them and control them with google home!
      www.dropbox.com/s/2d6ctfoirgwkj8w/Screenshot%202018-01-08%2011.58.59.png?dl=0
      If you find a reason to try Tasmota, now at least, you'll have an option to still control your sonoffs with google home without another hub and MQTT.

    • @MrAnderson1221
      @MrAnderson1221 Před 6 lety

      I'm trying to flash for the first time. I've been having to install different libraries. Now I'm getting this error, but there isn't a library to install. Any ideas?
      Sonoff-Tasmota-5.11.0\Sonoff-Tasmota-5.11.0\sonoff\xsns_03_energy.ino:252:27: fatal error: TasmotaSerial.h: No such file or directory
      thanks!

  • @blackicedk
    @blackicedk Před 6 lety

    Can you please make a video on how to make sonoff work with the Apple Homekit app

    • @DrZzs
      @DrZzs  Před 6 lety +1

      It’s on my list. I’ve got at least a month of videos planned so it won’t be soon.
      Try BurnsHA. I think he did a video about HomeKit.
      Maybe we can cover that on the next live stream! That’s a good idea!

    • @blackicedk
      @blackicedk Před 6 lety

      Good to hear, but i was wondering if it would be possible to control the sonoff through homekit without a Raspberry Pi?

  • @immortalengraver
    @immortalengraver Před 6 lety

    So I followed set by step and at the end I did not get the file sonoff.ino I'm not sure what I missed do you have an idea?

    • @DrZzs
      @DrZzs  Před 6 lety

      sonoff.ino will be in a folder where you unzipped the Tasmota download.
      www.dropbox.com/s/ar52og2vceodsdc/Screenshot%202018-02-07%2015.11.51.png?dl=0
      That's where mine is.
      I'm also working on an updated video on how to flash a sonoff with Tasmota. Planning to post it Monday morning. The process is easier now.

  • @jbcole05
    @jbcole05 Před 6 lety

    Thanks for the video. I had been struggling with how to flash Tasmota using the Arduino IDE. However, I am getting an error on compile that I haven't been able to resolve:
    xdrv_ir_send:46: error: 'IRsend' does not name a type
    IRsend *irsend = NULL;
    Other posts I read described a conflict with the Robot IR Remote library, but I don't have that installed. Any other suggestions?

    • @DrZzs
      @DrZzs  Před 6 lety

      Hmmm... Probably the easiest solution is to install a new fresh version of the Arduino IDE in a different folder and use it just for this project.
      You'll have to redo the Board Manager URL, and add the Json and PubSubClient libraries.
      Let me know if that fixes it.

  • @luisdlahuertacambil
    @luisdlahuertacambil Před 6 lety

    Grande!!!!.:D
    Thanks very much.

    • @DrZzs
      @DrZzs  Před 6 lety

      you're welcome!
      There's a newer/better way to flash now:
      czcams.com/video/NNW05smSNOA/video.htmlm6s

  • @ericastanton2010
    @ericastanton2010 Před 5 lety

    Any way to operate Konnected Alarm Panel with a Sonoff/Tasmota so that you can do away with a hub.

    • @DrZzs
      @DrZzs  Před 5 lety

      you mean do away with Home Assistant?
      No, I don't think there's a way to do that.

  • @lioman2578
    @lioman2578 Před 6 lety

    Use arduino IDE for non admin install. installed gives error when creating portaable folder.

    • @DrZzs
      @DrZzs  Před 6 lety

      The process has changed since this video. You don't need to make the portable folder anymore. The most recent method doesn't require it.
      Here's a newer video on the process: czcams.com/video/c2IUIUnxjUY/video.html
      Even since then the process has changed. If you copy all the files from the Tasmota Lib folder into the Arduino Libraries folder you don't need to change the pubsubclient MaxPacketSize.
      Use Tasmota version 5.12
      5.13 is out but there's been a couple issues that need to be resolved.

  • @craigmartin4998
    @craigmartin4998 Před 5 lety

    When I add the "portable" folder to the arduino program folder, arduino program no longers loads. I see the loading screen then it disappears

    • @DrZzs
      @DrZzs  Před 5 lety

      That's an outdated method. I would recommend this method instead: czcams.com/video/KMiP9Ku71To/video.html