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

  Рет қаралды 156,904

DrZzs & GrZzs

DrZzs & GrZzs

Күн бұрын

Пікірлер: 433
@AndreasSpiess
@AndreasSpiess 5 жыл бұрын
Thank you for posting a link to my video !
@_Z_3_R_0_
@_Z_3_R_0_ 5 жыл бұрын
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 жыл бұрын
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: kzbin.info/www/bejne/nKuodXmjd5WIj7c
@Beam_ZERO
@Beam_ZERO 5 жыл бұрын
@@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!
@NoProblem76
@NoProblem76 4 жыл бұрын
Flashing firmware is called "刷机" (Shuājī) in Chinese. When the two characters are taken apart, "刷" means brush, "机" means machine...
@fz8964
@fz8964 4 жыл бұрын
个人认为"刷" 翻译成"flash"更准确些
@oztaxx
@oztaxx 3 жыл бұрын
Chinglish
@PitmanCabinetmaking
@PitmanCabinetmaking 5 жыл бұрын
Thanks for the edit, just tasmotised 5 sonoff minis, and using the template feature, made setting up a breeze. OTA worked a treat
@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!
@warcraftjinx
@warcraftjinx 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 5 жыл бұрын
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 :)
@amsterphangui5788
@amsterphangui5788 5 жыл бұрын
This is what I wanted from Sonoff! 😊👍
@DrZzs
@DrZzs 5 жыл бұрын
me too
@PedroLimaPT
@PedroLimaPT 5 жыл бұрын
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 5 жыл бұрын
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. :)
@claudioita9
@claudioita9 5 жыл бұрын
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.
@michaelprobert3607
@michaelprobert3607 5 жыл бұрын
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 жыл бұрын
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.
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 5 жыл бұрын
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 жыл бұрын
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.
@ronsafranic5177
@ronsafranic5177 4 жыл бұрын
You should do a video on the Sonoff DIY Mode 2.0. no jumpers don't need to open the case.
@markmacherey4744
@markmacherey4744 5 жыл бұрын
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 жыл бұрын
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 :)
@jasongomez5344
@jasongomez5344 5 жыл бұрын
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?
@vijayvikma4994
@vijayvikma4994 5 жыл бұрын
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'
@JL-lg9ys
@JL-lg9ys 5 жыл бұрын
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?
@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!
@aasimpathan
@aasimpathan 3 жыл бұрын
Can you create an updated video? I bought Sonoff Mini they dont have any jumper or jumper pins any more
@xandersnyder7214
@xandersnyder7214 5 жыл бұрын
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 жыл бұрын
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!
@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.
@woof03
@woof03 5 жыл бұрын
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.
@RebChaim613
@RebChaim613 5 жыл бұрын
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.)
@strokesurvivorvideologhuss6183
@strokesurvivorvideologhuss6183 3 жыл бұрын
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?
@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 3 жыл бұрын
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.
@joeowens3495
@joeowens3495 5 жыл бұрын
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.
@damianpinnington5477
@damianpinnington5477 5 жыл бұрын
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
@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?
@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?
@PrinceSRHU-oe5ue
@PrinceSRHU-oe5ue 4 жыл бұрын
Can i use it without the normal switch? Just through the app? I don’t have space in the board for another switch
@TKGMoMoSheep
@TKGMoMoSheep 5 жыл бұрын
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 жыл бұрын
gotcha, thanks!
@lg1115
@lg1115 5 жыл бұрын
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 жыл бұрын
Thanks I guess v3.0 was a firmware version that wasn't working. Glad you got it working. Thanks for posting the answer too!
@FrazeBigs
@FrazeBigs 5 жыл бұрын
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.
@paololazzareschi5077
@paololazzareschi5077 5 жыл бұрын
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....
@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?
@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
@pugofstardock
@pugofstardock 5 жыл бұрын
So it's like a Shelly or is there a killer feature the Shelly does not have?
@zadintuvas1
@zadintuvas1 5 жыл бұрын
Shelly 2.5 can control two lights, also there's UL listed option, so it's probably safer?
@fistfull95
@fistfull95 5 жыл бұрын
Main difference I found is that the Sonoff Mini is cheaper.
@marcusone1
@marcusone1 5 жыл бұрын
@@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.
@larryweber6425
@larryweber6425 5 жыл бұрын
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.
@fabsfabs6670
@fabsfabs6670 4 жыл бұрын
Can i use this as a 100v speaker signal passthrough or is it only for main?
@damianossoumelidis2240
@damianossoumelidis2240 5 жыл бұрын
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!
@maxreynolds679
@maxreynolds679 5 жыл бұрын
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 жыл бұрын
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.
@johnduffy7502
@johnduffy7502 5 жыл бұрын
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 5 жыл бұрын
ha. Thanks. It worked out :)
@gverran
@gverran 5 жыл бұрын
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 жыл бұрын
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.
@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 :)
@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?
@jamescklim
@jamescklim 5 жыл бұрын
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!
@AnthonyGossner
@AnthonyGossner 5 жыл бұрын
If the sonoff was to lose network connection, could whatever is being switched still be operated via a manual switch?
@alextonu3926
@alextonu3926 4 жыл бұрын
Can this be used for a garage door opener?
@ashoktvm
@ashoktvm 5 жыл бұрын
Can you make a video to go back to Ewelink mode?
@AleHernandez
@AleHernandez 5 жыл бұрын
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?
@Taxedo1221
@Taxedo1221 4 жыл бұрын
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. :(
@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'?
@SolarMiracle
@SolarMiracle 5 жыл бұрын
Now that You have flashed Tasmota , DIY pins are no longer has affects , so can we use them ? What GPIO ?
@DrZzs
@DrZzs 5 жыл бұрын
If I remember correctly it is GPIO-16. If you get it working as a sensor or something else let me know!
@SolarMiracle
@SolarMiracle 5 жыл бұрын
@@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)
@eIektrinis
@eIektrinis 5 жыл бұрын
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?
@matheokoning4456
@matheokoning4456 4 жыл бұрын
Can you use this switch of you have no neutral wire?
@TheHellis
@TheHellis 5 жыл бұрын
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 5 жыл бұрын
In the US, nothing, except maybe screw up a ground fault circuit down line from it.
@JamesValero
@JamesValero 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 жыл бұрын
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 ;-)
@pulgamazzgst
@pulgamazzgst 5 жыл бұрын
How about the low pass filter needed for sonoff basic?
@DrZzs
@DrZzs 5 жыл бұрын
Are you having EMI problems with your Basic? I don't think this device will have the same problems we had using the GPIO's on the basic for a switch.
@pulgamazzgst
@pulgamazzgst 5 жыл бұрын
DrZzs yes, with the basic I had to do the capacitor and resistor to stop random activities. Good to know that this one is better
@Smslife
@Smslife 5 жыл бұрын
@@DrZzs I am experiencing these issues :( I have 8 mini's with external switches, only one is showing this (fast random switching) behaviour, untill I flip the switch connected between S1 and S2. They all have the same config and tasmota version. What now?
@stupest
@stupest 5 жыл бұрын
I really like this device but in Oz the wires in our light switch are actually what we need to connect to s1and s2. So not sure how to connect it up other than directly in the light fitting.
@DrZzs
@DrZzs 5 жыл бұрын
That's exactly how you have to connect it, Up in the ceiling at the light fixture. That's where you'll have L, N, and the wires to the switch. I think they built it just for you!
@stupest
@stupest 5 жыл бұрын
DrZzs Yeap worked it out. I was hoping I didn’t have to climb into the roof space. Lol.
@amsterphangui5788
@amsterphangui5788 5 жыл бұрын
After having a few of Sonoffs flashed with Tasmota, How to integrate all of them into a dashboard to control? I'm kinda new to this. Thanks.
@TheTinkerDad
@TheTinkerDad 5 жыл бұрын
If by Dashboard you mean a nice web interface, DrZzs made quite a few videos about integrating Tasmota based stuff with Home Assistant. What you're looking for is basically sending MQTT messages between the Sonoff (Tasmota does this) and and Home Assistant. You'll have to add your Sonoffs to Home Assitant via configuration and you'll also need an MQTT broker like Mosquitto or EMQX. If you want a cheap solution, you can run both Home Assistant and the MQTT broker together on a Raspberry Pi.
@amsterphangui5788
@amsterphangui5788 5 жыл бұрын
@@TheTinkerDad Thank you so much for your elaborate reply. You really made my day. 😊😊
@TheTinkerDad
@TheTinkerDad 5 жыл бұрын
@@amsterphangui5788 You're welcome! :)
@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.
@Kevin-cg9ui
@Kevin-cg9ui 5 жыл бұрын
Hi, I now have a few of these, but having an issue with them. Previously I have been using Sonoff Basic's, soldered resistor, solderd switch wires, for controlling UK lights above the ceiling rose, never had any issues really with switching. I decided to swap them for the Sonoff Mini, as they we're designed from the ground up specifically for this purpose, BUT... I have this issue. Occasionally when switching the light switch, the Sonoff Mini fails to activate, nothing happens on the light, and nothing is shown on the console. Im suspecting the length of switch wire cable (which isn't very long at all, maybe 5 or 6 feet in some instances). I have this issue on more than one switch, so isnt just a faulty Mini. Without reverting back to the Basic's, how can I work on resolving this?
@DrZzs
@DrZzs 5 жыл бұрын
Could it be a switchmode issue in Tasmota? I can't remember which is which, but if you have rocker switches instead of push buttons you may need to change the switchmode option. See if you can determine a pattern. Is it consistently happening in any specific situation? Like if you've toggled it in the App then does the switch not change the state? Does it happen if you switch it really fast or does it happen the same if you pause between toggling the state. Those details might give you some clue about the basis of the problem. I don't think it's the length of the wire. It's more likely a software option you can adjust like switchmode or debounce. Hope that helps.
@speedyrazor1
@speedyrazor1 5 жыл бұрын
@@DrZzs hi, thanks for taking the time to reply. There deosnt seem to be any patterns or situations as to when it fails to activate via the swtich, seems very random. If I stand at the swtich and switch it on and off, say twice every second, most of the time it works, probably 1 in 5 clicks fails.
@Smslife
@Smslife 5 жыл бұрын
@@speedyrazor1 I see the same behaviour, together with episodes of random (fast) on-off switching (ghost switching). Did you fix this problem?
@Smslife
@Smslife 5 жыл бұрын
@@DrZzs, I flashed 8 sonoff mini’s with tasmota. Connected wall switches to all of them (between S1 and S2). On one sonoff mini weird stuff is happening. Two problems I am experiencing: Ghostswitching happens at random moments. Light will turn on/off randomly every second and it doesn’t stop untill I flip the physical switch connected between S1/S2. So this is not a “retain setting” issue (the - totally unrelated with this issue - magical solution when looking it up on Google). My wifi signal is 98% and stays connected, so no retain issues. Flipping the switch sometimes doesn’t work. I can flip it 6 times and the sonoff mini doesn’t toggle. Feels like an MQTT lag. Sometimes it just works as it is supposed to. Very strange behaviour. Possible solution for problem number 1? I found online (sonoff basic with tasmota had the same ghost switching issues) that it would be solved by soldering a resistor + capacitor between 3v3 / gpio / ground. Is this a solution for the Sonoff mini too? What about problem number 2? Any luck yet? Would this “resistor / capacitor” trick also solve that problem?!
@davidrobinson4797
@davidrobinson4797 5 жыл бұрын
@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 5 жыл бұрын
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.
@martinottolangui4667
@martinottolangui4667 4 жыл бұрын
where is the sonoff basic bin file ? gone round in circles trying to find it
@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.
@livia4513
@livia4513 4 жыл бұрын
Hi is possible user fw the Sonoff in esp8266 01, yes o now
@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. kzbin.info/www/bejne/rnbQineCmc52pLM
@JohnBaxendale
@JohnBaxendale 5 жыл бұрын
Great video as usual, super clear instructions!
@DrZzs
@DrZzs 5 жыл бұрын
Thanks!
@jennygorton3412
@jennygorton3412 5 жыл бұрын
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 жыл бұрын
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.
@Birlank
@Birlank 4 жыл бұрын
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?
@ptmoy1
@ptmoy1 5 жыл бұрын
Once sonoff-basic.bin is running on the Mini, can you then re-flash OTA with sonoff.bin ?
@gaboredes9315
@gaboredes9315 5 жыл бұрын
I Flashed the tasmota 6.6.0. But I have a QUESTION: I use Domoticz at home, my Sonoff Basic devices I can add an IDX number what I can "address" with the virtual switch. But in the tasmota-basic.bin this "Tasmota config" is missing! How can I fix this problem??? Thank!
@DrZzs
@DrZzs 5 жыл бұрын
Was that something you were able to do in the Tasmota UI previously? Or maybe that's something you have to set before compiling? I'd suggest you try the Tasmota discord channel: discord.gg/dPQSpk There's probably folks there that use Domoticz that would know more than I do. Hope that helps! Good luck!
@thaingouws
@thaingouws 4 жыл бұрын
Hi there. Wanted to know if u new how to connect it to HomeKit?
@DrZzs
@DrZzs 4 жыл бұрын
I don't think Sonoff stock firmware will connect to Homekit. Xiaomi Aqara devices do. Home Assistant has a method to link up with Homekit. I haven't played with it in quite a while, but I know it's out there.
@vinup4949
@vinup4949 5 жыл бұрын
I am unable to find firmware version 3.3.0 ewelink anymore. Version 3.0.0 is the latest version displayed in ewelink
@anthonymuru2402
@anthonymuru2402 5 жыл бұрын
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.
@PraiseArtDesigns
@PraiseArtDesigns 5 жыл бұрын
A question, in DIY mode , after flashed tasmota firmware, do u have to remove the pin, plug or can you leave it?
@vento3232
@vento3232 5 жыл бұрын
The Mini just won't connect to the diy network. Checked so many times and did exactly the same (even upgraded the firmware to 3.3.0 just to make sure) nothing works. And it seems that once I'm putting the jumper it doesn't blink twice fast to indicate that it's in diy mode, just regular blink :/ am I missing something? Tried to do Hotspot from my PC and android phone but still the same, any suggestions?
@DrZzs
@DrZzs 5 жыл бұрын
dang. That's a bummer. I wish there was a way to make sure it is actually in DIY mode. I hate to say it, but you may have to use the manual flash method. How are your soldering skills?
@vento3232
@vento3232 5 жыл бұрын
@@DrZzs well.. In those dimensions.. Pretty bad, or I just don't have the right tools. Anyhow, on this occasion I wanted to thank you for your amazing work/service that you do for many clueless HA noobies. Just yesterday I tried the sonoff basic r2 with a 3 way light switch configuration but of course with no success :) I wish things were more simple, I have the last configuration that you showed on the video, but it's part of 3 way and not the simple 2 way (btw 2 way works perfect)
@DrZzs
@DrZzs 5 жыл бұрын
So you have 3 switches controlling the same lights? Ok, we can work with that. One of those switches will have 4 poles. Ignore that one, just leave it as is. Using the other 2 you should be able to follow the same logic as a 2-way. Basically the "switch" terminals (gpio-14 and ground) on the sonoff connect to the "common" poles of those 2 switches. Trying to describe it without pictures probably isn't helpful. Remind me and I'll try to include an example in a live stream sometime soon.
@vento3232
@vento3232 5 жыл бұрын
@@DrZzs yeah so I'm working with two switches for the same light, so I'm guessing in US standards that's a 3 way, right? I've mapped all possibilities with the physical switches and the voltage on each of the wires. I do have a red wire going to the single wire side of the switch (sorry I couldn't find the word for that, my English is not perfect) but I've noticed that in some states 12v passes there, so I'm confused when the sonoff switch needs to be attached :/ is there a way where I could share this sketch I've done and when you'll have few minutes just give me your opinion and way to address that?
@vento3232
@vento3232 5 жыл бұрын
I just realized that the source power and the wire that goes to the lamp are in different boxes.. Is that still possible to use this setup?
@consig1iere294
@consig1iere294 5 жыл бұрын
I'm having a weird issue, I can't find anything when I open the regular DIY tool but when I open the one with log, I get the device. When I try to flash firmware, it says "No device selected yet!". Any idea what is going on? Thanks.
@MagivaIT
@MagivaIT 5 жыл бұрын
I have same issue, did you figure it out ?
@DrZzs
@DrZzs 5 жыл бұрын
I think you have to select the device, even if it already shows in the box. Seems odd, but that worked for me.
@iKingRPG
@iKingRPG 5 жыл бұрын
Any ideas for me to get a cheap gigabit router where the local network is extremely reliable? I want to control my offline things when the internet stops working.
@DrZzs
@DrZzs 5 жыл бұрын
Everyone says they love unifi routers. I don't have one.
@ashoktvm
@ashoktvm 5 жыл бұрын
So after upgrading to 3.3.0 then flashing tasmota, can we go back to ewelink mode?
@nyx574
@nyx574 5 жыл бұрын
Can you please post a link to the Tasmota firmware you used as well as the Ftdi flashing software?
@joseo.cordero7286
@joseo.cordero7286 5 жыл бұрын
Once you flash sonoff-basic OTA can you flash sonoff.bin OTA after? Or you need to use the USB adapter to flash the sonoff.bin due to size constraints when flashing OTA (i.e. bin size smaller than 512 Bytes?)
@DrZzs
@DrZzs 5 жыл бұрын
You would have to OtA to sonoff-minimal.bin, then to sonoff.bin (or whichever other version you want). You just can't go directly from DIY mode OtA to sonoff-minimal.bin. I did that the first time. Don't try it :)
@sjam72
@sjam72 5 жыл бұрын
@@DrZzs Yeah..... obviously i didn't read this comment and i bricked two minis yesterday.... time to dig out the soldering iron
@metoo7587
@metoo7587 5 жыл бұрын
@@sjam72 Are you saying that a Sonoff that no longer boots, can still be flashed using the serial i/f ?
@sjam72
@sjam72 5 жыл бұрын
@@metoo7587 sure... If the problem is related to a bad flash...
@rich22111
@rich22111 5 жыл бұрын
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
@erikdrago
@erikdrago 5 жыл бұрын
just to add some information, to make the switchmode like that one that came with ewelink put in terminal SwitchMode 7
@DrZzs
@DrZzs 5 жыл бұрын
Excellent! Thanks
@ScheltovanDoorn
@ScheltovanDoorn 5 жыл бұрын
Can the Rocker inputs be converted to Toggle inputs ? Using sonoff minin with Tasmota 7.1.0 Thanks
@DrZzs
@DrZzs 5 жыл бұрын
Yes. In the Tasmota Console, type "switchmode" and see what it's currently set to. I don't remember what the default is. You can change it to something that behaves the way you want. github.com/arendst/Tasmota/wiki/Commands#control I'd guess switchmode 3 or 4 are what you want. Hope that helps. :)
@MikeySoft
@MikeySoft 5 жыл бұрын
I was able to update the firmware on the mimi from 3.0.0 to 3.3.0. However I got the below error when I ran the tool, "tool_01DIY85(3.3.0).exe". Any suggestions? " Traceback (most recent call last): File "site-packages\PyInstaller\loader thooks\pyi_rth_qt5plugins.py", line 47, in ModuleNotFoundError: No module named 'PyQt5' "
@MikeySoft
@MikeySoft 5 жыл бұрын
Is tool_01DIY85(v3.3.0).exe a stand alone program or does anything else needs to be installed such as Python?
@DrZzs
@DrZzs 5 жыл бұрын
You may need Python as well. And have the whole folder from Github downloaded. I didn't think to try it without python installed. Try it with python installed and the whole folder downloaded and see if that fixes it.
@MikeySoft
@MikeySoft 5 жыл бұрын
@@DrZzs Long story short .... I was using an old slow laptop. Using a newer laptop solved the issue. I want to thank you and all the others such as The Hook Up, Andreas Spiess, and digiblurDIY for all your great videos. Thank you.
@LTGnetwork
@LTGnetwork 5 жыл бұрын
I have an issue were after flashing the mini wont turn on any more and doesn't show any wifi or anything ? any one else has this to ?
@DrZzs
@DrZzs 5 жыл бұрын
uh oh. might have got stuck part way. Mine did something similar when I flashed it with sonoff-minimal. I had to redo it manually.
@phuongnguyenthanh8887
@phuongnguyenthanh8887 4 жыл бұрын
Can i flash Tuya plug by this way?
@mindiakhechumashvili5453
@mindiakhechumashvili5453 4 жыл бұрын
How can i use sonoff mini or any other sonoff with momentary switch?
@darioafonso6451
@darioafonso6451 5 жыл бұрын
I only managed to flash by creating hotspot right on the computer
@MrAlgefors
@MrAlgefors 4 жыл бұрын
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!
@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
@CanaldoVitonesOficial
@CanaldoVitonesOficial 5 жыл бұрын
Can I use Apple home kit with this firmware?
@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.
@Hi5ist
@Hi5ist 5 жыл бұрын
Hi! do someone know wich gpio is connected to the relay and wich to the S1/S2? I want to try create my own firmware
@DrZzs
@DrZzs 5 жыл бұрын
Poke around the Tasmota Wiki on github. I think they have a breakdown of the sonoff mini.
@Hi5ist
@Hi5ist 5 жыл бұрын
Thanks! I found it
@Hi5ist
@Hi5ist 5 жыл бұрын
Do you know some troubleshoot of the DIY Tool? I cant see the devices but they are already conected to the network
@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.
@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?
@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.
@NoProblem76
@NoProblem76 4 жыл бұрын
i learned so much from this channel
Sonoff Mini vs Shelly One - Head to Head Tiny Smart Switch Comparison
15:19
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Sonoff Zigbee Mini Switch | In Wall and No Flashing ZHA
11:59
digiblur DIY
Рет қаралды 58 М.
It's been a while | EASY Sonoff Mini Flashing Tasmota OTA - 2024
11:15
SuperHouse #33: Sonoff Mini and S55: ALMOST perfect
27:48
SuperHouseTV
Рет қаралды 225 М.
Sonoff Mini vs Shelly 1 - which one is better?
9:26
NotEnoughTECH
Рет қаралды 21 М.
Sonoff Mini R4 Switch ESP32 and ESPHome & TASMOTA How To Guide
15:22
Sonoffs can work with Home Assistant without changing the Firmware!
9:41
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН