Це відео не доступне.
Перепрошуємо.

Sonoff Mini Finally! The Smart Switch we've been waiting for! w/ Tasmota for Home Assistant esphome

Поділитися
Вставка
  • Опубліковано 3 сер 2019
  • Buy from itead directly (best price): shrsl.com/1qmjj
    Sonoff is still the least expensive Smart Switch option. Recently new devices like the Shelly have made major improvements to what Sonoff was making a couple years ago. Now Sonoff has caught up with their newest model, the Mini.
    Banggood: drzzs.com/Sonof...
    AliExpress: s.click.aliexpr...
    We don't have to modify the "Basic" model anymore. The Mini is built to be what we wanted from the Basic. It's small enough to fit in a switch box and it is ready to use with an existing 'dumb' switch.
    Their DIY firmware makes it possible to flash Tasmota, ESPeasy, or ESPhome without soldering and without a USB/Serial adapter.
    For the price, this is my new favorite DIY Smart Switch for home automation, and home assistant.
    Social:
    Discord DrZzs - discord.me/drzzs
    DrZzs Facebook:
    Page: DrZzs
    Message: m.me/DrZzs
    Group: / 1969622823351838
    Discord Home Assistant - / discord
    Twitter: / dr_zzs
    Instagram: / drzzs
    sonoff mini tasmota esphome

КОМЕНТАРІ • 435

  • @NoProblem76
    @NoProblem76 4 роки тому +22

    Flashing firmware is called "刷机" (Shuājī) in Chinese. When the two characters are taken apart, "刷" means brush, "机" means machine...

    • @fz8964
      @fz8964 3 роки тому

      个人认为"刷" 翻译成"flash"更准确些

    • @oztaxx
      @oztaxx 3 роки тому +1

      Chinglish

  • @AndreasSpiess
    @AndreasSpiess 5 років тому +50

    Thank you for posting a link to my video !

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

      Thank you both for making great content, it's a pleasure to see 2 of my biggest inspirations on the same page.

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

      Thank you for sharing your knowledge with us!
      It's fun for me that we released these videos at almost the exact same time.
      :)

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

      Andreas Spiess what is your link? Didn't find it in the description or comments.

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

      Here is the link: ua-cam.com/video/fzEDFmB0UYU/v-deo.html

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

      @@paultoepel21 Assisting the mentally challenged, bless u

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

    Dude. "I'm not a programmer." You do yourself a disservice. You may not be a coder, but you have an enviable ability to enthuse about and explain complicated concepts to people who are not always technical. I'm a coder of 30 years industrial experience and most people still look at me like I have two heads when I speak!

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

    Got a permanent WAN network especially for this, with ubiquity. Saves a lot of time with not having to set up the hotspot every time

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

      I set one up on my Ruckus too. However it occurred to me that anyone who knows about Sonoffs and happens to be passing by would know the SSID and password of at least one of my WAPs. So it is important to switch it off between flashing sessions :)

  • @PitmanCabinetmaking
    @PitmanCabinetmaking 4 роки тому +1

    Thanks for the edit, just tasmotised 5 sonoff minis, and using the template feature, made setting up a breeze. OTA worked a treat

  • @TheEmbeddedHobbyist
    @TheEmbeddedHobbyist 5 років тому +2

    A single or dual relay would be great as an option. most of my rooms in the house only have a single ceiling light so a dual relay would be a waste. but if I was rewiring and adding extra lights a dual would be a good replacement. great video, getting to the point where I might start a tasmota system in parallal with the current one to see how it goes. I'm retiring in a few months so will at last get time to play with new things.

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

      Awesome!
      I wish I was retiring in a few months :)

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

      @@DrZzs be careful what you wish for. That hidden honey dew list is a killer, as I discovered.

  • @Sylvan_dB
    @Sylvan_dB 4 роки тому +1

    It looks like with those 4 contacts on the bottom for flashing, and the button on top, a little square jig with 4 pogo pins would work really well as a flash station. Maybe work even easier than OTA.

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

    I've been using the Basic units and had no problem adding an external button.
    I have V1.0 with the large jump wires. There are 5 header pin connections behind the output terminal block GND--K_P--LED--KEY--3.3V. connect a push button across GND and K_P for the same action as the SONOFF push button. The LED will give a + output if the RED LED is used.
    Place a 220ohm resistor to the empty pads just above the KEY pad. You will now be able to see the SONOFF RED LED illuminate when the relay is ON and the LED output will function as well.
    Program the Green LED to OFF in the switch options. Will still flash green when connecting.
    The K_P terminal could be used for any momentary switched input.

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

      great!

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

    First off, DrZzs your channel rocks!
    I think the sonoff mini is really cool, especially for the price point. But I can't justify them, even at this price point, over a zwave wall switch.
    Since I'm going to have to put in a zwave fan control switch I may as well stick with zwave.
    Plus, there are two other factors that would deter me from this.
    1. Wireless saturation. I would need to add 19 of these just to cover all my non-3way light switches in the house.
    That is a lot of wifi devices to add to a environment at home that already has a high RF noise floor.
    2. Security. 19 more wifi devices drastically increases my threat surface.
    While I have my IoT/Home automation on its own wireless VLAN, that is a large threat surface to add.
    Zwave (especially v2) is much more secure than wifi.
    Not trying to be a buzz kill, just wanted to point some risks out.
    I'm running some sonoff basics in some edge cases at home. But just wanted to point out some security vulnerabilities.

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

      Thanks!
      I'm not a Zwave fan and never will be because they are so proprietary and expensive.
      But if using them makes you happy, then you go boy!

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

      @@DrZzs Honestly I use everything, I'm just über security conscious.
      I am using your videos to build out my blinds automation, fantastic stuff!

  • @TKGMoMoSheep
    @TKGMoMoSheep 5 років тому +3

    It is called "brush machine" because it is "刷機" in Chinese.
    That's being translated directly.
    刷 means brush and 機 is machine.
    However it's more accurate to just translate to "Flash".

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

      gotcha, thanks!

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

    And yet again by watching your video, I was able to flash Tasmota, this time to my Mini, even learned and added TasmoAdmin to my Hassio... although the TasmoAdmin page is blank! (I will have a play) I did use the TasmoAdmin Web UI and that worked great for the 2 devices I have managed to flash so far... Many more to be added soon thanks to you! Greatly appreciated... all the way from Australia! lol

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

      Excellent!
      Did you do the "autoscan" in tasmoadmin already? I've started using Tasmoadmin to find the IP addresses of my newly tasmotized devices too. Very handy!

  • @markmacherey4744
    @markmacherey4744 5 років тому +2

    On Andreas Spiess channel, Jinyu Liu explains how the "brush machine" is a translation issue and should be "Flush machine" which "flush" is a term used for flashing the firmware.

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

      Actually, "flashing" is "brushing" in Chinese.

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

      I'm going to start saying "brush machine" every time I flash firmware from now on. That also reminds me that I've been saying Sonoff wrong again. It's "S-On-Off". Someday I'll learn :)

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

    The OTA pin is connected to gpio16, it can be used as gpio when using tasmota I have it set as a button, gpio12 is the relay and gpio4 is the switch, you need to chosse sonoff generic to set them. I hope it's useful for someone

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

      Excellent info!
      thanks

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

    Dude you are awesome! Just flashed 10 Sonoff Mini via OTA thanks to your video and great explanation. It took me a total of 2h +/-. Now I just need to install and then setup MQTT to interact with my OpenHab server. :)

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

      Had other 4 units that arrived after these ones. None flashed via OTA. Solded all of them (one at a time), one broke but the others 3 are working. :)

  • @anthonymuru2402
    @anthonymuru2402 4 роки тому +1

    I am still looking for that "ideal" device for my purposes. Sonoff Mini with easily accessible pins to add a temperature /humidity sensor, motion sensor would be IDEAL. Imagine ability to setup a switch plate with motion, temp/humidity and a touch button everywhere in the house, without the need for separate 5v power supply.

  • @ronsafranic5177
    @ronsafranic5177 3 роки тому +1

    You should do a video on the Sonoff DIY Mode 2.0. no jumpers don't need to open the case.

  • @Birixidor
    @Birixidor 4 роки тому +1

    Figured I'd add some extra info here to possibly help some people out:
    1. For DIY mode flashing you can alternatively use a WIFI access point or
    use windows 10 as a hotspot if your phone doesn't support hotspot.
    Just plug in a compatible wifi adapter and set it up with the correct info.
    You will need to unplug your ethernet cable before starting the tool
    though for it to not be "confused" as where to look.
    2. If the tool crashes with a failed to execute script tool_01diy85 install
    python from python.org (windows app won't do it). This still didn't
    solve the problem (still missing some prerequisites) installing qt
    from qt.io (opensource one) added whatever was needed to make
    the tool run for me YMMV.
    3. You can use the DIY jumper pin (I/O 16) as a I/O after flashing with tasmota.
    As always DrZz, great info!

  • @michaelprobert3607
    @michaelprobert3607 4 роки тому +1

    Hi can anyone help if I connect say a magnetic door switch to S1 and S2 pins can I usethe sonoff mini as a home automation switch input on Alexa? It seems WiFi plug "on" state can't be used as a trigger input?

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

    That switch connection option really is huge. Very handy!

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

      it is! very easy to connect to existing wires and existing switches. High WAF if you don't change the old light switches.

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

      DrZzs also handy if you don’t want your landlord noticing your switch upgrades.

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

    Thank you DrZzs!
    However, because it just took me 3 hours to figure out why the eWelink app (iOS) didn't want to connect to my network:
    It's important to enable Location Services in the iPhone settings for the eWlink app!

  • @amsterphangui5788
    @amsterphangui5788 5 років тому +3

    This is what I wanted from Sonoff! 😊👍

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

      me too

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

    I would love to know why Sonoff has not brought out a dimmable relay unit and a wall switch plate to control it. No the T1 doesn't count.

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

      My guess is because you have to create the dimmer based on what kind of lights the user is going to connect to it. Dimming incandescent bulbs is very different than dimming LEDs.
      But I agree. Other companies have made dimmer switches. I don't know why Sonoff hasn't.

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

    Thank you very much for the guide ! I was having trouble flashing it OTA earlier (hanged) but found out that the Windows Firewall was blocking the flashing device from uploading the firmware !

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

      Excellent!

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

    For manual flashing, use pogo pins instead of soldering. Very easy to make adapter using pogo pins and proto board PCB. This model may require new adapter as the pins are not in straight line.

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

      And I saw someone designed a 3d jig to hold the pins for flashing. AndreasSpiess just did a video about it. ua-cam.com/video/xEmYDLdiCnQ/v-deo.html

  • @claudioita9
    @claudioita9 4 роки тому +3

    Hi, I followed everything in order: updated firmware to 3.3.0, put the jumper, create the SonoffDiy hotspot (with Android), password 20170618sn, my laptop connects to it, the sonoff connects to it (I can see from my hotspot menu in the phone that both LAptop and Sonoff mini are connected), but when I launch the sonoff tool.exe, the device is not there!! Any clue?

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

      I had a similar issue, but after I turned Windows defender firewall off I was off like a one legged man in an ass kicking contest.

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

    A great video. With this knowledge have managed to flash one device! The rest should now be easy.
    Sorry to hear about your audio problems :(

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

      ha. Thanks. It worked out :)

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

    Thanks for another great video!
    Just curious if it can still work when the old style light switch is in the off position. If we can still control the sonoff even when the switch is off, does the traditional on/off position just flip around?

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

      Thanks! yes, it will work and yes the up/down to on/off flips, just like a 3 way switch when the other switch in the circuit is used.

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

      @@DrZzs The traditional/mechanical switch flips when the sonoff is operated through commands?? That is quite a feature ;-)

  • @ashoktvm
    @ashoktvm 4 роки тому +3

    Can you make a video to go back to Ewelink mode?

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

    I know this is late. Pogo pins might be an easy way to access the pads on the board for programming. Maybe 3d print a jig?

  • @SolarMiracle
    @SolarMiracle 4 роки тому +1

    Now that You have flashed Tasmota , DIY pins are no longer has affects , so can we use them ? What GPIO ?

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

      If I remember correctly it is GPIO-16. If you get it working as a sensor or something else let me know!

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

      @@DrZzs I am expecting the shipment soon , so sure
      I have another question , for the switch pins , can I use them as output ? for NC/NO purpose ? (simple connect for DC devices)

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

    In the video, when you shorted the switch contacts the light turned on. Then, when you removed the short the light turned off. Can you do the opposite? Meaning, turn the light on via gpio0 quick press and then short the switch terminals to turn light off, lastly remove the short to turn on? If so, then this would work with a 3 way and 4 way switches. Simply connect the 3way switch’s common to one switch terminal. Then the traveler wires to the 4way then more traveler wires to the next 3 way and lastly the 3way’s common to the remaining switch terminal.

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

      I'm not sure I follow exactly, but with Tasmota you can invert the function of the relay relative to the switch. So if the switch is low the relay is off (which would be the opposite of how it works by default). Switchmode is the command to change how the switch functions. There are a few switchmode options:
      github.com/arendst/Sonoff-Tasmota/wiki/Buttons-and-Switches

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

    My experience is that you HAVE to upgrade the switch to itead firmware version 3.3.0. Otherwise it is NOT recognized by the itead flashing program!

  • @rich22111
    @rich22111 4 роки тому +1

    Hi, thanks for the video, I installed 2 already and it works very well. But could you show me how to do on a 2 way circuit please? I got 3 in my place

  • @TheEmbeddedHobbyist
    @TheEmbeddedHobbyist 5 років тому +3

    have a look at Andreas Spiess review on the mini, there is a answer to you "brush machine" in the comments, it looks like a bad translation of the chines for flushing.

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

    Dr ZZz thank you for the video I was so impressed that I purchased 3 devices so much easier as i cannot solder due to disability but one of the devices i had a "grey" moment since this episode every time i try to access the sonoff console i get prompted with username and password is there anyway of resetting to factory defaults

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

    Excellent video, as always. Thank you for the tutorial. You and my daughter, the 1st year resident, both drink the same soda. 2 Diet "Dr Peppers" !

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

      Excellent!
      What specialty is she?

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

      @@DrZzs she's in emergency medicine.

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

    Nice vídeo, as always... what I could not understand yet is the fact if it's possible to use 2 wall switches and continue receiving the real feedback on the app..

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

      It should report the correct state in a 3-way switch setting as well.

  • @RebChaim613
    @RebChaim613 5 років тому +2

    How many gpio pins are accessible by either screw terminal or easy soldering? As many as with original I hope? Please share a pinout of all the screw terminals.

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

      GPIO-4 is the S-in pin. Then you have gpio-16 at the terminal for the DIY jumper, then Rx and Tx if you want to solder some wires on. I haven't found a schematic yet. itead usually publishes the schematics, but they haven't yet for this device.

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

      Would you know what is the DIY companion pin? Perhaps ground? And also the external switch companion pin? (I ask because I like to bring out an external LED as well as 2 gpio pins for an external switch that I can disable through software control.)

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

    Hi! In my case it was necessary updating the firmware to 3.3 in order to make the sonoff connected to the hotspot.
    I tried at least 4 windows Pc (OS 10, 7pro, 7he) but with the 3.0 firmware on the sonoff it didn't connect to the hotspot.
    Maybe this could help someone..

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

      Thanks
      I guess v3.0 was a firmware version that wasn't working.
      Glad you got it working. Thanks for posting the answer too!

  • @pugofstardock
    @pugofstardock 5 років тому +10

    So it's like a Shelly or is there a killer feature the Shelly does not have?

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

      Shelly 2.5 can control two lights, also there's UL listed option, so it's probably safer?

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

      Main difference I found is that the Sonoff Mini is cheaper.

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

      @@fistfull95 Shelly is (in theory) way safer as registered with safety authorities :) and has an internal antenna that won't likely touch your high voltage :)

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

      also just found, Shelly is 15A, Sonoff 10A, with LED lights, likely doesn't matter in general home use, but if you want to use it on a plug for an air conditioner or heater, etc, it will matter!

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

      @@marcusone1 Fair enough, forgot about those differences. Also, Shelly supports MQTT out of the box.

  • @LeonardoPereira-ps1om
    @LeonardoPereira-ps1om 4 роки тому

    I did a mistake to put the minimal. The only way to save it is using a ftdi board? I can't find this sonoff-basic.bin anywhere.

  • @aasimenator
    @aasimenator 3 роки тому

    Can you create an updated video? I bought Sonoff Mini they dont have any jumper or jumper pins any more

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

    Can i use the mini for one dual button wall switch to controll 4 bulbs inside a ceiling light? At this moment 1 button powers on/off one bulb and the second button poweres of/off the remaining 3 bulbs.

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

    This didnt work out well for me. I see everyone else had good luck but that wasn't my experience. I followed everything and flashed the hardware, it went through the thing to 100%. Clicked and rebooted, asked for my, i assumed, home Wi-Fi and password which I entered. Went like it was going to the tasmota screen... said it was connecting, then disappeared. I think it's trashed... cant find it through thr ip address. No blue light or any sign of life from the mini. Any ideas?

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

    would be nice if there was a cover to protect possible shorting out or touch of the terminals. Especially the live terminal (hot).

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

      They are recessed pretty well. You can't contact them with a finger on top. I guess a little hot glue or a piece of tap would be even more secure if that's what you want :)

  • @joeowens3495
    @joeowens3495 4 роки тому +1

    I have a problem with every time I try to flash, it says, “No device selected yet !”. I selected the device, but it still says it. If I click, “Flash device list” then click “OK” it just locks up. Any idea’s on what’s going on?

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

      Did you manage to find a solution for this? Using the latest flash tool (DIY85_v330, dated 07 Aug 2019) it's not possible to select a device. The "v330(log)" version of the tool was deleted by McAfee because it contains a virus.

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

    Just cannot connect the mini to the ewelink app. The app says to connect to the device AP, ITEAD-XXX, but it’s not there. Auto doesn’t work either.

  • @darioafonso6451
    @darioafonso6451 4 роки тому +1

    I only managed to flash by creating hotspot right on the computer

    • @MrAlgefors
      @MrAlgefors 3 роки тому

      Thanks for that info!! I was stucked at nothing happened when I pressed flash. But when I did it your way, it was a success!

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

    Hi DrZzs. what will be the wiring diagram for two way switch in a staircase using sonoff mini noting that there are three light in the staircase controlled by these two switches?

  • @warrenpfo
    @warrenpfo 2 роки тому

    Can anyone help? I need to know the current flow required/used to switch a mini using the external switch so I can work out what gauge cable to use as I have a 6 gang switch and want to run all 6 switches using independent minis but only have one conduit running to the box and I cant fit enough 1.5mm single cables in it.

  • @strokesurvivorvideologhuss6183
    @strokesurvivorvideologhuss6183 2 роки тому

    Hi Hope you can help, I setup the sonoff mini a year ago, and have had my router changed now im unable to access it I have forgot the passwords is there a way of resetting it to factory default?

  • @silviocaltabiano5981
    @silviocaltabiano5981 4 роки тому +1

    Thank you very much for this great movie! Keep it up ;-)

  • @JohnBaxendale
    @JohnBaxendale 4 роки тому +1

    Great video as usual, super clear instructions!

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

      Thanks!

  • @metoo7587
    @metoo7587 4 роки тому +1

    I got my first Mini's today. Connecting the Mini to the Sonoff cloud using eWeLink was troublesome - to say the least. Finally I got it connected using Compatible Pairing Mode(AP), but only after several unsuccessful attempts. I have no idea what "Compatible Pairing Mode(AP)" means and why that eventually worked in the end, but it did.
    Updating to v.3.3 of the Sonoff software was also an ordeal - during the update, there's absolutely no indications what so ever in the eWeLink App that something is actually taking place. I was just lucky, cause my phone rang and I had to take the call. After I was finished talking and turned my attention back to the App, it reported update successful. This is ugly programming. There should have been some kind of progress indicator. If the phone hadn't rang, I would probably have concluded too early that things didn't work as expected. Lessons learned.
    Then after a successful update, I attempted the OTA after first fitting the DIY jumper. The Mini connects immediately to my Hotspot and running the DIY Mode Tool v1.2.0 (which no longer says "Brush Machine", by the way), trying to flash sonoff-basic.bin failed big time. It is stuck at 0% and nothing happens. No error messages. The Arendst GitHUB documentation says the following: "If the firmware update gets stuck at 0%, the Sonoff device could not reach the manufacturer server because your mobile hotspot does not share the Internet connection." At least - that's a clue. But in my setup, I have full internet access from the hotspot, so that shouldn't be the case.
    Now, there's another one of your fans further down the list here at UA-cam who says he has discovered that Windows Firewall settings can cause trouble - which he discovered, and solved. But the helpful dude fails to tell anyone HOW he solved it. If firewall is the issue, then the text over at Arendst is perhaps misleadingly saying that the Mini needs to connect with the Manufacturers Server (There is no firewall in the Mini). But the Windows machine where the DIY tool is running, may certainly have a firewall. So perhaps it is the DIY tool that needs to contact the manufacturers server? Which manufacturer by the way? And why do the tool need to do that in order to flash the Tasmota firmware - which most certainly isn't a Sonoff supported firmware.
    Beats me why such important information is always left out.....
    [Edit] I finally made the DIY Tool run properly by reverting back to Windows version 1809. Perhaps there is a compatibility issue with version 1903 ?

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

      I got the same problem , running Windows version 1809. So that's not the solution. Sonoff_Devices_DIY_Tools
      got a bug for sure. Many has this problem! I guess I have to upgrade the old way :-( I got 10 units

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

    When you say "don not flash with minimal, do you mean during the initial flash, or do you mean EVER? So, i have my device flashed with -minimal. Is it OKay to use TASMOTA OTA to flash with minimal and then upgrade to the normal version?

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

    Here is a tip for you, if you are running Windows 10 you can simply setup a Mobile hotspot from Windows 10 and run the DIY mode tool directly on that PC. Saves some fiddling around with the mobile phone. You find the settings under "Settings / Network & Internet / Mobile hotspot".

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

      Thanks
      I did try that but for some reason the Sonoff didn't connect to it. I couldn't figure out why so I used my phone and it worked.

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

      @@DrZzs if you are both wired and wireless it can get a bit confused.

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

      ah, yes. That could have been the problem.

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

    @DrZzs, thanks for another great video!! The audio off 2 hrs wasted was a real bummer! Please tell me, does the Mini have RF capability?

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

    Hi !
    I had my sonoff mini with original firmware, external switch was working fine. After I flashed tasmota external switch stopped working. I did as you said GIPO4 -> Switch1(9) with no success. I also tried a template change sonoff mini but i cannot get it working again. Do you know what problem is ? Thanks

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

    I have a couple on order but looking at those exposed screw terminals it seems like you could very easily come into contact with some lethal high voltages should you handle the Mini whilst powered on.

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

      The screw terminals are recessed. I guess you could poke something in there, but I don't think they are as exposed as they might look. A little tape or hot glue will solve that problem if you're really worried about it.

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

    Andreas Spiess explains the Brush Machine name quite nicely
    , that's a bad translation for flash firmware ;)

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

      thanks

  • @Gaatech
    @Gaatech 5 років тому +2

    Warning people that those screws are at mains voltage if you try putting a wire on to the no voltage switch terminals

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

      ya, my fingers were pretty close. Good idea to warn folks.
      Thanks

  • @PrinceSRHU-oe5ue
    @PrinceSRHU-oe5ue 3 роки тому

    Can i use it without the normal switch? Just through the app? I don’t have space in the board for another switch

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

    Regarding "Brush Machine": thinking its something that got lost in translation. Probably trying to say you are "clearing" the device ("machine").... just a guess

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

      Lol in the 1.0.0 version of tool it was flash firmware. somebody changed it

  • @bumblingwelshman
    @bumblingwelshman 5 років тому +2

    Awesome tutorial as usual. But almost had a heart attack a few times, that finger got very close to the mains in connectors, might want to add a warning about that bit :)

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

      I just found this guy's channel. ua-cam.com/users/msadaghd
      pretty fun to watch. :)

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

    I have the same issue of Clauidioita9. Sonoff connected properly but discovered by the PC SW....
    Documentation says the problem could be the mDNS that is not working but ho to make it works on Android phone ?
    I have a Galaxy Note 10....

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

    Can we also start with the OTA flashing with the small tasmota firmware and after we have it then use the tasmota web interface to flash newer tasmota firmware right? also do the DIY jumper has to stay short?

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

    Having an issue with a standard sonoff mini. I've got it wired to a reed switch so my garage lights come on when the garage door opens. Works fine nine out of ten times and then randomly goes out of sync and the garage light comes on when the garage door is closed. Would flashing Tasmota get around this toggling issue? Seems there a few people having issues with the mini not detecting input changes correctly.

  • @1988marksie
    @1988marksie 5 років тому

    I don’t know if you are aware but Shelly have been doing this a long time and have way more options than sonoff you should check them out.

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

      Yep, and tomorrow I'll be posting a video comparing the Shelly One with the Sonoff Mini.

    • @1988marksie
      @1988marksie 5 років тому

      @@DrZzs ah great news look forward to watching it :)

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

    I have a question that I can't seem to get a direct answer to, and the web provides conflicting information: if I flash a Sonoff Mini (or Basic, for that matter) with Tasmota, can I still control the Sonoff Mini with eWeLink (and correspondingly, with my Amazon Echo smart speaker)? Your site seems to imply that I still can control my Tasmota-flashed Sonoff devices with eWeLink/Echo IF I upgrade the firmware on my Sonoff device to at least version 3.1, but then I read on another site (notenoughtech) that "as soon as you activate the DIY mode the device becomes not responsive in the eWeLink app and you no longer can use it, even if you select LAN mode". I already use a mix of "unflashed" Sonoff devices to control my poultry coop/garage/gate and depend on my Echo to control the Sonoff device - I don't want to give up that functionality when I use Sonoff Minis to control lighting circuits around our home. Thanks for any "light you can shed" (pun intended) on this issue.

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

    Great video doc. question though: I see the switch is not mains voltage (ie it's a gpio header) how does it handle remote switches? I have sonoff basic in the ceiling, and needed low pass filtering on the switch in the wall connected to gpio14. Would I need to add LPF to these or is it already on-board?

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

      my guess is they already have something to allow long lead wires without interference, but I haven't tested it. I've got a spool of 100 ft of wire sitting by my desk. I'll have to test it out.

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

    If the sonoff was to lose network connection, could whatever is being switched still be operated via a manual switch?

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

    I could not get this work at all. I tried paring with ERE - no dice. I tried dev mode. no dice. What am I doing wrong?

  • @Taxedo1221
    @Taxedo1221 3 роки тому

    I tryed with DIY tool and Tomsa and it become a brick ! no reaction to anything ! what to do ? I did it with wifi no USB tools. :(

  • @JL-lg9ys
    @JL-lg9ys 4 роки тому

    DrZzs @12:55 you set GPIO4 = switch1. That will make the relay to switch on, when terminal S1 and S2 is shorted. If you only are interested to see status open/close in Mqtt, would that be possible without relay activation?

  • @fabsfabs6670
    @fabsfabs6670 3 роки тому

    Can i use this as a 100v speaker signal passthrough or is it only for main?

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

    I'm impatiently awaiting a video update, now the both Itead and Arendst have redefined how to use the Mini. Q. Do we need the jumper anymore?

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

      It's now working with an own wi-fi network. No need to put your smartphone up to have that wi-fi network.

  • @tamasgaspar3821
    @tamasgaspar3821 Рік тому

    Thank you! This video is very helpful.

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

    There are now similar-sized and priced dimmable alternatives available, that can switch your lights on and off slowly... Is there any sense to buy these today?

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

    Could you please let us know how did u do cool fan rotating effect at 8:30.I was rotating icons and creating gifs but size not uniform for all pics.how did u do

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

      that's the custom button card:
      github.com/custom-cards/button-card
      it can do a lot of cool stuff.
      my card yaml looks like this:
      - entity: switch.main_floor_ac
      icon: 'mdi:air-conditioner'
      name: Main Floor
      show_state: true
      spin: false
      state:
      - spin: true
      value: 'on'
      tap_action:
      action: call-service
      service: switch.toggle
      service_data:
      entity_id: switch.main_floor_ac
      type: 'custom:button-card'

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

    Hi, is there a way to use s1 and s2 or other pins in the sonoff basic to monitor the state of a binari sensor?

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

    @DrZzs let me hit you with this since I've worked on OTA flashing of a sonoff mini for about 20 hours last weekend. All boiled down, I got all the way to the point when after I successfully flash tasmota, all of the menus came up that I was supposed to have after a sonoff restart, then change the credentials to my internet and password. Since I didn't change anything, no other settings, when I disconnected power from the sonoff then plugged it back in it was not showing up on my Wi-Fi network.
    I have eight other sonoff minis to try this on so I guess my question is, after I have flashed tasmota on it and find the IP address and look at the settings, what specifically do I need to change in it so it will show up on my Wi-Fi network the next time I power it up? Thanks for your effort in these videos, I hope to get this ironed out soon.

    • @davidrobinson4797
      @davidrobinson4797 4 роки тому +1

      Got a quick update. Weirdly rereading through some instructions to flash tasmota to my already tasmotized sonoff may have removed the jumper too soon. Reinstalling the jumper allowed the sonoff to be seen on my network and the IP address visualized by the app Fing. Once I updated the firmware after tasmota was on it is how I was able to remove the jumper and have the sonoff interface toggle page. 9 more sonoff minis to tasmotize.

  • @alextonu3926
    @alextonu3926 3 роки тому

    Can this be used for a garage door opener?

  • @3ATIVE
    @3ATIVE 5 років тому

    Question:
    With this SONOFF-Mini connected to the wall switch and that switch is 'on' (so the room light is on too) ...
    - Can the light be turned off via WiFi / TASMOTA/ HA/ etc??

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

      yep.
      The switch on the wall will be inverted next time, do down might turn the light on, but it's the same as a 3 way switch.

    • @3ATIVE
      @3ATIVE 5 років тому

      Hmmm.. can that input accept a push button, instead of a switch - I.E. be programmed to 'toggle'?

  • @J.Ogden954
    @J.Ogden954 4 роки тому

    Sorry for sounding dumb but I'm new to this... What's the purpose in doing all this? Whats diy mode ?elink mode? Please help

  • @davestufflebeam2686
    @davestufflebeam2686 3 роки тому

    DrZzs, I bought some Sonoff Minis to use in my Home Assistant setup, based on your video (great video by the way). However, I was shipped the version 2 (the newest model). I searched for instructions for flashing Tasmota on a Sonoff Basic Mini v2 but cannot find anything. Do you know if these same steps would work on the v2? I do not want to brick them...

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

    A question, in DIY mode , after flashed tasmota firmware, do u have to remove the pin, plug or can you leave it?

  • @belgi76
    @belgi76 4 роки тому +1

    Really great video... thanks! it saves me lots of hours :)

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

    Hi, i'd like to use sonoffMini in order to wifi repeater. is it possible? *i saw many esp28(nodemcu) project about wifi rep.

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

    7:28 How come the sonoff-minimal.bin file shown at this point in the video is 366KB, which is smaller than the sonoff-basic.bin (426KB) which was used? I thought sonoff-minimal was too large?

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

    What happens if you accidentally swap places of live and neutral wire?
    Does it have a protection for that?
    I'm thinking of having this outside in a box instead of in the wall.
    Just because that switch thing fits my needs very well but I can't be sure which cable is which when they are outside the wall.
    Or is there a way to know what?

    • @MatHelm
      @MatHelm 4 роки тому +1

      In the US, nothing, except maybe screw up a ground fault circuit down line from it.

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

    @DrZzs with the Sonoff Mini devices you have tested, running Tasmota, do you find that switch response becomes an issue with physical switch events that happen in close succession? i.e. switch on then off with ~1 second gap. I occasionally find that the Sonoff Mini will respond to the first switch event and turn the relay on, then ignore the second/ subsequent events until a few seconds later. I'm not able to replicate this via the Tasmota web interface, but can on multiple Sonoff Mini devices running Tasmota 6.6.0.

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

      I haven't seen that yet on the mini, but I totally believe it. I know in the past the Sonoff Basic had similar issues with rapid switching. I believe it is a limitation of the ESP8266. I don't know enough of the inner workings of the chip to say more about it.

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

    I am unable to find firmware version 3.3.0 ewelink anymore. Version 3.0.0 is the latest version displayed in ewelink

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

    So after upgrading to 3.3.0 then flashing tasmota, can we go back to ewelink mode?

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

    Thanks for this very clear and helpfull video! May I ask you an advise. If after the upload of the firmware I want to setup the SONOFF MINI to work with a relè what should I change in the settings? Or no change needed?

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

      I'm not sure what a Rele is, but I would say you'll have to connect it and play with the settings until it works as you expect. There are settings to change in Tasmota for using momentary vs latching switches.
      Hope that helps.

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

    Great video man, thank you for it!
    I've got a question, what happens when you use the S1 and S2 pins with a light switch and leave the switch in the on position? What has priority, the S1 and S2 pins or the remote on/off command?

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

      The state of the lights changes regardless of which method you use. The manual switch may point in a different direction when you change the state with the app, but the next time you use either one, it will toggle the lights to whichever state they are not currently in. It basically works like a 3-way switch. Just one switch is Mechanical, and one is Virtual.

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

    Can you please post a link to the Tasmota firmware you used as well as the Ftdi flashing software?

  • @Birlank
    @Birlank 3 роки тому

    Can @DrZzs or someone please help me. What cord is he using to power these from his desk? I just got my Sonoff R3 Basic and cannot figure how to power it safely. Anyone please?

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

    I hope your wifi ADEN is just a test bench AP, because Holiness can be found on any pre-hashed wordlist dictionary. Stay safe out there!

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

    Know what would be a great video? Put a sonoff mini in the base of a standard table lamp. I this would be much neater than to have an extension cord tied to every lamp in the house. Plus if someone turns off the lamp manually the Basic doesn't work until you manually turn it on again

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

    Once sonoff-basic.bin is running on the Mini, can you then re-flash OTA with sonoff.bin ?