Тёмный

Flashing TASMOTA on a Sonoff OVER-the-AIR !!! 

DrZzs & GrZzs
Подписаться 121 тыс.
Просмотров 165 тыс.
50% 1

UPDATE!!!!!
Looks like the latest Sonoff firmware is allowing OtA flashing again. Here's what's known:
github.com/mirko/SonOTA/wiki#...
And here's a video about how to do it the "new" way with an exe on Win10:
• Sonoff T1 US version f...
UPDATE:
With version 1.6 of the stock Sonoff firmware, something has changed and OTA flashing has stopped working. If you have sonoffs with older firmware, they can still be flashed with this method.
The FTDI usb/serial adapter method for flashing will still work on the newer sonoffs.
www.DrZzs.com
drzzs
twitter: @Dr_Zzs
Buy Sonoffs:
iTead direct has the lowest price, but you have to wait a few weeks to get them:
www.itead.cc/sonoff-wifi-wire...
If you can’t wait, Amazon has them for a couple dollars more: amzn.to/2BkTviF
Flashing Tasmota onto a Sonoff board with a USB/Serial connector is pretty easy (unless you have an original Dual). But there’s another way to get your Sonoff Tasmotatized; SonOtA. Sonota.py is a python script that uses the default update pathway in the Sonoff firmware to install Tasmota. That’s crazy smart stuff.
You can read about how to do it on the wiki page for SonOtA on github:
github.com/arendst/Sonoff-Tas...
Steps:
Download and install Python3 (and Mac developer tools)
Or update Python3: ‘python3 -m pip install --upgrade pip’ (for mac)
Download SonOtA: github.com/mirko/SonOTA
Win10 install C++ tools - landinghub.visualstudio.com/vi...
The 2015 version and Community 2017 version
Mac install xcode tools - run: ‘xcode-select --install’
Navigate to SonOtA directory and get all the requirements
Run: ‘pip3 install --user -r requirements.txt’
Disable any firewalls
Press and hold the onboard button until the green light flashes rapidly.
Run SonOtA: Mac =‘./sonota.py’ Win10 = ‘python.exe sonota.py’
Choose the IP address for the computer you’re running Sonota.py on
Input your Wifi name and password when asked
Watch for iTead Wifi SSID and select it when it’s available.
Reconnect to your home wifi when the iTead SSID disappears.
Select Final Stage Wifi SSID when it appears.
Connect to ‘sonoff-###” Wifi SSID
Configure Tasmota with your Wifi name and PW
Reconnect to your home Wifi SSID
Find the IP address for your new sonoff from your router, or something like Fing
Finish configuring Tasmota
Configure MQTT with Topic, IP address, Name and PW
Configure switches, if you plan to use GPIO pins for extra switches
Go tell someone what you just did and laugh when they look at you like you’re insane.
All done!

Хобби

Опубликовано:

 

4 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 586   
@ElliotFriend
@ElliotFriend 6 лет назад
Love your videos, man! Always well put together with plenty of information and details, but not overly technical. You also do a great job of having realistic projects that anybody could feasibly accomplish. Thanks!!
@DrZzs
@DrZzs 6 лет назад
You're welcome! Thanks for the feedback. I'll keep'em coming.
@rikkybora7895
@rikkybora7895 6 лет назад
Was feeling too lazy soldering or insalling visual studio ( for OTA flashing ). Checked your video, tried flashing just using the pins through the holes; and boy it worked. Earns you another subscriber.
@DrZzs
@DrZzs 6 лет назад
Sweet! I love hearing success stories!
@trowhite
@trowhite 6 лет назад
Thank you for making a video about SonOTA. This tool made flashing the Sonoffs much easier!
@DrZzs
@DrZzs 6 лет назад
You're welcome! Glad it was useful to you!
@ramnik.khanna
@ramnik.khanna 6 лет назад
Thanks DrZzs. for the excellent video and step-by-step instructions. Thumbs up and you now have a new subscriber!!
@DrZzs
@DrZzs 6 лет назад
Thanks! Check out the rest of my videos. There are updates to this video and others. This DIY home automation stuff changes so fast. If you need help join the discord chat.
@michaelchee5004
@michaelchee5004 5 лет назад
Ramnik Khanna Has
@tra605
@tra605 6 лет назад
Thanks for the video! I received five Sonoff Basics today and luckily they all had firmware v1.5.5. Now they are flashed with SonOTA. :)
@DrZzs
@DrZzs 6 лет назад
Nice! where did you get them? Those are getting harder and harder to find. I read comments on iTead's website. A lot of DIY'ers are asking them to change it back so they can keep flashing OtA. iTead has been very friendly to the hacker/flasher community (not the raincoat kind). Hopefully they'll fix it in version 1.7
@raphaelchicon
@raphaelchicon 6 лет назад
Thanks dude! I have a Sonoff but I didn't buy the serial adaptor, so I thought I wasn't able to do anything to my Sonoff, but with this "over the air" thing I can! Greetings from Brazil, and For the Horde!
@DrZzs
@DrZzs 6 лет назад
Ha! I wondered if anyone noticed those symbols. Orc Warrior. I don't get to play as much as I'd like. Good luck with the OtA. Let me know if you hit any snags. Lok'tar ogar!
@mykself
@mykself 6 лет назад
I have myself 5 sonoff basic ready to TASMOTAize them. You just made the video I needed. Thanks for the great info. Go ahead with the great work!. Blood Elf Mage here. FOR THE HORDE!
@raphaelchicon
@raphaelchicon 6 лет назад
Haha, guess what? I actually bought the serial to USB adaptor, but it never arrived for over a year, so my Sonoff was just sitting in the drawer... but then you made this video, and I was able to burn Tasmota in the Sonoff! And then, the next freaking morning, the serial to USB adaptor arrived, after almost one year! Great tutorial btw, really helped me.
@DrZzs
@DrZzs 6 лет назад
raphael chicon anholetti That’s hysterical! Some luck you have. Glad I helped!
@TyroneJohnson
@TyroneJohnson 6 лет назад
Excellent description! Thanks a bunch. Just BTW, i tried doing this via my virtual machine, as i did not want to install all of the developer tools onto my main machine. This did not work, as the virtual machine does not have direct access to the wireless network...which is needed towards the end. So, did it via another (very old) PC...this was slow as installing the developer tools took ages (slow/old PC), but in the end it worked. Thanks again!
@DrZzs
@DrZzs 6 лет назад
Awesome!
@dartfrogdk
@dartfrogdk 6 лет назад
As allways, best youtuber regarding home assistant, like your videos ;o)
@DrZzs
@DrZzs 6 лет назад
Wow. Thanks! I'm gonna keep makin'em.
@jamespridemore3565
@jamespridemore3565 6 лет назад
Thanks, I was googling how to find the version number. I will try your suggestion. Thanks, You are the man!
@DrZzs
@DrZzs 6 лет назад
Here's how you get to the settings to find the firmware version: www.dropbox.com/s/1hlls636mrrm1is/Sonoff%20Firmwar%20Ver.MP4?dl=0
@natylaza8220
@natylaza8220 5 лет назад
Thanks man! you're Awesome! After watching your video it was definitely easy!
@pierrejanvier3009
@pierrejanvier3009 6 лет назад
i have to say i new at this been binge your stuff it really a great help i lrarn so much from you thank you for all the info you put out there
@DrZzs
@DrZzs 6 лет назад
pierre janvier You’re Welcome! Thanks for watching. Glad it’s been helpful!
@pierrejanvier3009
@pierrejanvier3009 6 лет назад
what do you think of BroadLink TC2 110V~150V
@DrZzs
@DrZzs 6 лет назад
I haven't used it. I'll check it out though! So far the trouble I see with most smart switches that are meant to replace standard switches, is they require a neutral wire connection. It makes sense because you have to power the "brains" of the smart switch, but most dumb switches don't have a neutral. They switch the hot leg that powers the lights. If the power circuit passes through the box then you have access to the neutral and all is well. If there's no neutral, you've gotta find a different solution. I'm not sure there's going to be a good solution for that problem. Maybe they need to make the "brains" run on a battery and make the battery easy to reach and replace. I'm rambling...
@witzend
@witzend 6 лет назад
Thank you for the walk-through. I couldn't get my Mac to connect to my Sonoffs, and I didn't even try my Windoze 10 box, but FYI your Python instructions for Mac worked perfectly on my Linux box. I just bought some devices direct from Itead, and thankfully they came running firmware 1.55, so I could still do this OTA upgrade. A few of the units I bought were persnickety and I had to attempt to connect multiple times before they would connect, but eventually I got them all flashed to Tasmota. Now to figure out MQTT...
@DrZzs
@DrZzs 6 лет назад
Sweet! Here's the guide I followed for my MQTT set-up. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-AsDHEDbyLfg.html Good Luck!
@kiwijunglist
@kiwijunglist 6 лет назад
Kiaori! Wicked. I got some sonoff but hadn't got around to ordering any electronics to flash then. Thanks bro.
@DrZzs
@DrZzs 6 лет назад
kiwijunglist You’re welcome!
@kiwijunglist
@kiwijunglist 6 лет назад
Just did the flashing tonight. Didn't have as many issues as you flashing. (Win 10 x64, no software development stuff) Disabled firewall and antivirus Installed python 3.5.4 (x64) Downloaded sonota zip file (latest version) and extracted Ran windows command prompt as admin Typed pip3 install --user -r requirements.txt Typed sonota.py Followed on screen instructions Done.
@DrZzs
@DrZzs 6 лет назад
Awesome! Love to hear success stories!
@bretthalliday2576
@bretthalliday2576 6 лет назад
Great vids, keep em coming!
@didierducroc8453
@didierducroc8453 6 лет назад
Bravo pour votre travail , Merci encore c est un vrai cadeau de NOEL , installation réussie du premier COUP sur un sonoff basic
@DrZzs
@DrZzs 6 лет назад
uh oh. I'll need a translation. Sorry. I understand "bravo" and "merci", but I don't know the rest.
@peterdejong3753
@peterdejong3753 6 лет назад
Great video! Some tip during flashing is to make sure nothing is running on your pc on port 8080. In my case SabNZB was already claiming this port.
@DrZzs
@DrZzs 6 лет назад
oooh! that's good info. I didn't know that would be a problem. Big thanks!
@rileyfinney7776
@rileyfinney7776 3 года назад
love your editing
@seanobrien7331
@seanobrien7331 6 лет назад
This earned you a subscriber.
@DrZzs
@DrZzs 6 лет назад
Thanks
@ucdailoi
@ucdailoi 6 лет назад
I forgot to mention that I am a Apple Mac user.... I do have a Raspberry Pi that I am trying to master. I’ve jumped in the deep end of it all but persistence should see me through..
@manuelvazquez5537
@manuelvazquez5537 5 лет назад
Does this process work for the shelly2?
@mu2004
@mu2004 5 лет назад
Excellent tutorial. May I suggest the video is divided into one part for Mac, and one part of PC, instead of jumping back and forth between the two, which makes it a bit hard to follow. Just a suggestion.
@conradmcglinn1306
@conradmcglinn1306 6 лет назад
Works fine with Windows 7 - Thanks for the great video
@DrZzs
@DrZzs 6 лет назад
cool!
@AsafMatan
@AsafMatan 5 лет назад
Hi, Do someone know similar procedure that works of Sonoff B1 (latest version)
@antonyvlatkovich3081
@antonyvlatkovich3081 6 лет назад
You the real MVP Dr Zzs
@DrZzs
@DrZzs 6 лет назад
wow, thanks!
@ChapuzasconRober
@ChapuzasconRober 6 лет назад
Thank you for your videos. Really useful! Grettins from Spain.
@DrZzs
@DrZzs 6 лет назад
cool! Never been to Spain. Maybe someday. Here's a better updated video about flashing Sonoff: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KMiP9Ku71To.html
@ChapuzasconRober
@ChapuzasconRober 6 лет назад
Thank you for the answer. I wanted to try OTA method because I got some Sonoff Basic V 1.0 with the holes in the pins and it was a little bit tricky for soldering. I tried OTA but it didnt work with that version. Finally I drilled the pines :) Congrats for your channel its very useful and funny to watch :) I like how you make videos!
@wost9817
@wost9817 6 лет назад
Worked perfectly for me (non 1.6 firmware) on linux. The only thing I had to install was python3-setuptools. Everything else was on my linux machine.
@DrZzs
@DrZzs 6 лет назад
Awesome! Thanks for the feedback!
@prebenborg
@prebenborg 6 лет назад
Great video very useful
@DrZzs
@DrZzs 6 лет назад
Thanks!
@nb251
@nb251 6 лет назад
Thank you very much for all the tutorials man really well made and so helpful, much appreciated. I am planning to flash my sonoff using the serial usb method as ewelink servers are very bad and keep on going offline. once flahsed, do I need a hub to connect my sonoffs to or can I just connect it to another server somehwere? I am a bit lost.
@DrZzs
@DrZzs 6 лет назад
Thanks! I think the best solution is to have a hub. There is so much more you can do with a hub that can connect all different kinds of devices and lets them interact through automations and such. There are a lot of options and each is a little different. I like Home Assistant, but there are other good options as well. There are ways to control your Tastmotized sonoffs even without a hub. There's the emulations available in Tasmota. So you can trick Alexa or Google Home into thinking the sonoff is a Hue Bridge, or a WeMo outlet. Or you can use direct html commands and an app that lets you create buttons on your phone to send specific html commands. I think something similar might be available with MQTT. If you think you really want to get into Home Automation, then a hub is the way to go. Take the plunge and get Home Assistant!
@zedisdeadz
@zedisdeadz 6 лет назад
Great installation and tutorial thanks. Do you think I could connect it with the main power fuse, like the one that opens and stops electric cooker or my electric boiler? With the help of an electrician ofc
@DrZzs
@DrZzs 6 лет назад
The sonoff Basic is rated for 10 amps, so you can't put a load on it that draws more than that. So a boiler or electric cooker might be okay, or it might not. You'll have to look at the label on your cooker/boiler and see what the current draw is. As long as it's less than 10 amps you should be okay. You can also just put the sonoff in the cord of the device if you're just looking to control a single device. You don't have to put it in the wall. Hope that helps!
@TrillasAdventures
@TrillasAdventures 5 лет назад
Does this still work? I just ordered two sonoff basics and want to do this?! how can i check which firmware they come shipped with? I was able to install pip3 without any errors (other than it asking if i wanted update it to the 18.1 version instead of 0.10.7) so just waiting on the devices to move forward. thx
@gee-rockgee-rock4468
@gee-rockgee-rock4468 4 года назад
is there a mobile version of this setup like an automatic flash version? since you can wifi connect to the itead device.
@DwellerDesert
@DwellerDesert 5 лет назад
How does one set flash mode Sonoff 5V Inching switch? Found a couple of conflicting ones online, but I never see the device? How do I determine which version I have? Thanks in advance.
@pankaj007008
@pankaj007008 6 лет назад
Thank you for the reply. I will try the traditional method.
@rene9900
@rene9900 5 лет назад
i know the sonoff firmware may be incorrect, but tried this OTA anyways just curious if i could on my mac, but now i tried with 3 different sonoffs , a basic a b1 bulb and a clone basic, when the rapid flashing led it should create a wifi network named ITEAD something? but nothing comes up at all? i have no firewalls and im running macOS Mojave 10.14.2 (18C54)
@AndersJackson
@AndersJackson 6 лет назад
Thanks for making this video. I am going to try this out on my Ubuntu machine.
@DrZzs
@DrZzs 6 лет назад
you're welcome! Good luck!
@varunlokesh9128
@varunlokesh9128 5 лет назад
can we update it to custom firmware by this method? i am building home automation system so i want to control this switch with my application if not possible please suggest an alternative
@doggyide
@doggyide 6 лет назад
Hi Sorry I dont understant whay values I need to set in MQTT step, and also how I can add my sonoff Basic RF to my app eWelink to control the sonoff device_? Thanks
@gabrielvarga3812
@gabrielvarga3812 5 лет назад
Hi DrZzs if I flash Tasmota on my Sonoff Basic it would be possible to connect to Homey Atom? Thanx
@georgelza
@georgelza 3 года назад
... just tried to Flash OTA a sonoff basic and sonoff dual, no luck, it just sits and makes me wait for the finalstage. does not go further, is there a way that i can see if the sonoff tries to reach out/connect to the local web server created ? the logs does not show much, would be nice too have a debug version/option. ??
@ivescoppens8220
@ivescoppens8220 5 лет назад
Hey, I have a Sonoff basic with FW 2.6.1 could I flash it OTA? I already tried but I don't get the wifi "Final stage".
@thomasdavidrichardson3113
@thomasdavidrichardson3113 5 лет назад
I tried using an S26 with this, I got the same result. I found this: github.com/Gruppio/Sonoff-Homekit to configure the device after the connection but I can't combine the two.
@inforeasy1
@inforeasy1 5 лет назад
Hi from Spain How can a sonoff be restored to factory values? Thank you
@46pmw
@46pmw 6 лет назад
Really helpful instructional. Are there any issues of Sonoff memory size for OTA?
@DrZzs
@DrZzs 6 лет назад
I think size used to be a problem, but not anymore. Theo and the Tasmota devs have shrunk it down enough to fit just fine. Somehow even with all they're adding, it still fits. It's bigger on the inside (Dr Who reference)
@sanyak1973
@sanyak1973 5 лет назад
Thanks DrZzs..... Very excellent video. I really really love it. one more thing Can I do this with Sonoff RF Bridge?
@DrZzs
@DrZzs 5 лет назад
You probably can flash the RF Bridge OtA, but it will depend on the firmware version yours comes with. In this video description there is a link to a newer video about the OtA flashing process. That will be helpful to you. Good Luck!
@sanyak1973
@sanyak1973 5 лет назад
Thank you DrZzs
@DanBurgaud
@DanBurgaud 5 лет назад
Your vids are gold!
@DrZzs
@DrZzs 5 лет назад
Thanks man! Hopefully they keep getting better. :)
@Surend89
@Surend89 5 лет назад
Hello DrZzs, Hey, I tried flashing a Sonoff basic with Firmware 2.6.1. I am struck at "Final stage"SSID step which doesnt show up on my list. Kindly help what I can do to rectify it. Thanks
@MatthewWieting
@MatthewWieting 4 года назад
I ran into the same issue. did you get yours working?
@jamespridemore3565
@jamespridemore3565 6 лет назад
Awesome, thanks!
@aldotineo9195
@aldotineo9195 6 лет назад
Hi... I just finish flashing my sonoff.. only one more question... on your video flashing over the air.. in the CONFIGURE MQTT After the topic you mention MQTT broker ip address?. User? and password? Would you tell from where you have that?
@bst3ck
@bst3ck 6 лет назад
Thanks for the video. It was very useful and worked flawlessly. I was wondering about how to change the project name since I plan on flashing all my sonoffs over the next few days to use home assistant. In your other video it showed how to modify the configure, but I did not see where the option is to update the project name. Is there a way to update the project name using the tasmota user interface?
@DrZzs
@DrZzs 6 лет назад
Sweet! Glad to hear it worked. I believe all you have to do is change the MQTT topic. I just looked again, and I don't see another place in the Tasmota UI that shows the project name. I don't know if the project name serves another purpose apart from setting the MQTT topic. The guys on the github page might know. github.com/arendst/Sonoff-Tasmota/issues Let me know if you find out. Thanks!
@waelelkholi3406
@waelelkholi3406 4 года назад
Can you use this method to flash Sonoff dual R2 with firmware 3.14 ? and how do you make the connections after you flash to use it as manual switch and a smart switch simultaneusly .
@yonatutorials
@yonatutorials 6 лет назад
Tip: In windows, I use bash and install Ubuntu from Microsoft Store, then I can do it very easy (I had more problems than you when trying to use windows tools) great video :D
@DrZzs
@DrZzs 6 лет назад
Cool! So you’re running Ubuntu as a VM?
@yonatutorials
@yonatutorials 6 лет назад
No, since about a year, we have the possibility of having the linux console in windows 10, we just have to enable bash and then from the microsoft store we installed a distribution, in my case ubuntu 18.04 :D, this helps a lot if you do not want to complicate your life by virtualizing or installing another distribution I used the commands that you used for mac and everything was on wheels, regards :)
@TheRamsbod
@TheRamsbod 4 года назад
Do you install the 32 bit {x86) versions of Visual studio? I installed the 64bit versions and it doesn't work.
@ashoktvm
@ashoktvm 6 лет назад
hey. can you help me set default state in Tasmota firmware?
@costinmarina
@costinmarina 6 лет назад
Nice vid. Clean, informative, a little funny ... :) You've got yourself a new subscriber, Sir :) One Question: Why Tasmota over Sonoff firmware? I cannot find a good answer on this one. Everybody talking about HOW to go Tasmota's way, but not WHY... Because server problems of the Sonoff? Better AI skills implementation? Siri compatibility? Working with only LAN? Or what? I mean, I see Sonoff working now with Alexa, Google Home, soon (they said) with Siri... I've got a bunch of Sonoffs, and I'm wondering witch direction to go to.
@DrZzs
@DrZzs 6 лет назад
Thanks! I'm working hard to make good content. Glad you enjoyed it. Tasmota for two reasons for me: 1) MQTT for control in Home Assistant (my home automation hub of choice) 2) Control of GPIO 14 to add a push button
@costinmarina
@costinmarina 6 лет назад
I see, thanks! I'll give it a try. Now back to all your content that I just discover :)
@sweden669
@sweden669 5 лет назад
DrZzs Thanks for all of your videos, and NOW i think i am ready to get myslf a couple of Sonoff wifi swithes and other stuff, but WHERE can i get those sonoff swithes from that aren´t copys..i look it up on ali express, but there are so many..are they ll the orginal sonoff switch??
@DrZzs
@DrZzs 5 лет назад
There are a lot of knock-offs I think. A good place to know you are getting the real thing is direct from iTead, the company that makes them. www.itead.cc/
@miostesso1
@miostesso1 5 лет назад
Hi, I have followed step by step your tutorial but you stop the process because it never appears the finalstage wifi network, I have an apple pc I also tried with linux but nothing always problem, I have a basic r2 sonoff, can you help me? Thank you
@kannagadu420
@kannagadu420 3 года назад
I tried to follow the same process but the device never gets the provided AP details through the post request done by the python file. Do you have any idea? I was using RF R2 Power
@josepablovalverde5672
@josepablovalverde5672 5 лет назад
Great teaching video, thanks for your time. Adios amigo!
@DrZzs
@DrZzs 5 лет назад
Thanks!
@geekacullen
@geekacullen 6 лет назад
Thank you so much for all the videos. You have helped me so much. I'm just starting with Sonoff and had a question. If for some reason my sonoff loses wifi or my router goes down, does this mean I cannot use my lights or will the manual switch still work?
@DrZzs
@DrZzs 6 лет назад
Thanks! The manual switch will still work even if there's no wifi. :)
@geekacullen
@geekacullen 6 лет назад
Perfect! Thank you so much. Your videos are truly enspiring for a newb like me.
@DrZzs
@DrZzs 6 лет назад
I'm still a noob too!
@hakamal-taher8244
@hakamal-taher8244 2 года назад
Great video, i followed all steps after connecting my device , the process started until it reaches the disconnect from ITEAD wifi then nothing happens. i should wait till the final stage wifi appears which never happen. appreciate if you can advise on this problem. the devise am traying to tasmotize is sonoff TH. please help
@dynoman7
@dynoman7 6 лет назад
OK, DrZ...you convinced me to try these things out and I bought a few over the holiday. Thank you for your videos...I've got most everything in the house flipped over to Home Assistant and now I'm working towards an outdoor lighting setup like yours (well not that cool, but getting there). Regarding the Tasmota setup in this video: I'm having the same problem as Douwe where I'm in the last stage and the script keeps looping over and over "The FinalStage SSID will disappear when the device has been fully flashed..." Blah blah blah. What do you recommend? start over from step #1? Thanks again for the content. You are my one of my heroes.
@DrZzs
@DrZzs 6 лет назад
whoa. hero? Thanks! First thing to do is check the version of your Sonoff firmware. The most common problem right now is that the newest version of the stock Sonoff firmware (v1.6) isn't allowing OTA flashing. If you just recently bought yours that may be the problem. If that's the case you'll have to get an FTDI adapter and flash them that way. Other than that, I'm not sure what else the problem might be. I guess I'd say start over and try again. Check that any firewalls are off. If you're getting to the Final stage, then most everything else must be fine. If it still fails you might be stuck with the FTDI method. Doing the flashing hardware style really isn't too bad. It's not quite as easy as OTA, but not terrible. I've got a video on how to do it. Sorry I don't have a better answer for you. I didn't face that particular problem so I'm not sure how exactly to fix it.
@dynoman7
@dynoman7 6 лет назад
DrZ, Happy New Year! I got it working...had to switch around my PC networking config twice and then the script started working again. I don't think the FinalStage step liked DHCP for some reason. At this point, I see the Sonoff on my network and it has a new hostname and everything looks ready for tomorrow's tasker: setting up MQTT for the first time in HA. Talk to you tomorrow! YOU ARE THE BEST!
@Shafy7
@Shafy7 4 года назад
Hello, I have a Sonoff S20 and TH16 but the firmware is 3.4.0. How can i flash them OTA? is it possible?
@stefanogrignani6571
@stefanogrignani6571 6 лет назад
Great tutorial!! Thank you!!
@DrZzs
@DrZzs 6 лет назад
You're welcome!
@MrChetansood
@MrChetansood 4 года назад
Hello, i know you dont do sonoff integration with alexa, but it would be great to know how to get sonoff pir and door sensors to alexa.
@russellvickery9479
@russellvickery9479 4 года назад
Trying to get netifaces running on a windows PC and it can't find io.h searched through heaps of forums etc and lots of others had similar faults. Did you have that problem and is there a solution? Love your style of youtube, it's brilliant.
@samiraa78
@samiraa78 6 лет назад
Thanks for your informative video. Couple of questions. Will this work with all sonoff switches or only the basic one Most important one what did you mean by an external switch and how can i connect the same
@seanobrien7331
@seanobrien7331 6 лет назад
I've flashed 3 Sonoff SV's using this method.
@DrZzs
@DrZzs 6 лет назад
You're welcome! The folks that wrote the sonota.py script say it'll work with the basic and the dual. I have a couple Sonoff SV's (low voltage version), that I plan on testing with the OtA method. I expect it'll work, but we'll have to test it and see. By external switch I mean one that is separate from the on-board switch. The on-board switch is connected to GPIO-0. I should have explained that better in the video. With Tasmota the on-board switch has extra functions, so if you were to just solder new wires and move that switch and use it as the main switch on the wall plate your board could get accidentally messed up. (here's the list of on-board button functions: github.com/arendst/Sonoff-Tasmota/wiki/Button-usage) So to avoid accidentally triggering one of those pre-programmed functions you connect a switch to GPIO14 and let it function to control the relay, but it doesn't have the other functions that the GPIO-0 button has. Hope that makes sense.
@everlast30
@everlast30 4 года назад
Where you able to Flash OTA with Sonoff firmware above 2.6.0 ? i am unable to do it! and all the info that I found about it, they say it is not posible!
@wongjpm
@wongjpm 6 лет назад
Great video... I followed the steps and was able to flash my first sonoff switch. BTW, can the tasmota firmware talk to Google home or Alexa ? I tried the Wemo or Hue emulation from the web management page. Neither emulation can be detected from Google home. Was the tasmota firmware (5.9.1) suppose to work with Google home ? BTW , is there anyway to roll back the to the factory firmware if needed ? Thanks
@DrZzs
@DrZzs 6 лет назад
Thanks! I don't think there is a way to roll back the firmware. I'm surprised to hear the emulations aren't detected by Google Home. I thought that's what those are supposed to do. I don't use Google Home so I'm not very familiar with fixing associated errors. Check here to see if anyone else is having the same issue: github.com/arendst/Sonoff-Tasmota/issues Hope that helps!
@brijchavda
@brijchavda 6 лет назад
Does the same process work for sonoff ifan02.?
@stredwizard
@stredwizard 6 лет назад
great videos, followed both your previous ones for flashing the sonoff basic, thanks and really appreciated. quick question though! do you know of a way to connect two switches (2 way switching) to one tasmota, i tried with 2 switches wired in parallel across the gpio and ground, they kind of work but if one switch is on the other wont work unless the original switch is turned back off, pretty hard to explain what i mean!
@DrZzs
@DrZzs 6 лет назад
Thanks! I've been racking my brain to come up with a way to do a 2 way switch. I'm going to figure it out, and as soon as I do you can bet I'll make a video about it. I haven't thought about using just one.
@stredwizard
@stredwizard 6 лет назад
im uk based so we may have different ideas regarding 2 way switching, but i stumbled across this user-images.githubusercontent.com/29714334/27986404-705967f0-6431-11e7-961e-3e2548ed3a23.png sorry for the long link, i have set mine up like this and it works as i hoped except i have the pulsing which is hopefully cured by the resistor/cap combo, thanks
@6ghost6rider6
@6ghost6rider6 6 лет назад
It works! Thank you ! If you encounter problem at pip3 install the lateste version of python. @DrZzs . Do you have a delay between the command and the action ?
@roksipec1015
@roksipec1015 6 лет назад
So does the OTA now work with the 1.6 version or not ? Since you wrote that it works again ? Love your vids
@DrZzs
@DrZzs 6 лет назад
thanks. I've seen some reports that it is working but I haven't verified it myself. This is the best source of info for the OtA flashing: github.com/mirko/SonOTA If things change and it becomes a usable option that's where I expect you'll find out first.
@qonos68
@qonos68 Год назад
It appears that Python 3.10 has dropped TLS v.1.1 support, which is required by sonota to establish a connection before reaching "FinalStage", am I wrong?
@ehorlyck
@ehorlyck 6 лет назад
Nice one. Thank you.
@DrZzs
@DrZzs 6 лет назад
Thanks! I believe OtA is working again. Haven’t verified that myself. Guess I probably should.
@sicklinker
@sicklinker 6 лет назад
Hey there! Nicely done guide but unfortunately the OTA method doesn't work if the installed Sonoff firmware is 1.6.0 or higher. Might want to put this in the description :) cheers!
@leopold7562
@leopold7562 4 года назад
I've got a pair of Sonoff Basics arriving today and I wondered how easy it would be to Tasmotise them without excessive need for soldering irons and what-not. This looks just like the ticket! As long as I can get my Windows PC to do the necessary, this looks like the simplest method available. I may even try it on a Sonoff Mini, I've still got two left out of the 8 I bought, two of which I was able to update successfully and four which are bricks :(
@distancelab2010
@distancelab2010 6 лет назад
Awesome work. Thank you so much. :)
@DrZzs
@DrZzs 6 лет назад
Did it work? There was a time it wasn't working because of the Sonoff firmware
@cmarino4271984
@cmarino4271984 4 года назад
Awsome video everything worked except I cant get it final stage to appear Any ideas why I'm using a macbook pro It does ask me to upgrade the pip to later version but the command it suggests cannot be found
@brianjankovich8894
@brianjankovich8894 4 года назад
Try and put the number 3 after the first pip.. So "pip3" ... That did the trick for me.
@YaldaiChannel
@YaldaiChannel 3 года назад
Do you have a way to read temperature and humidity using python on raspberry pi?
@aaaafaaaaf
@aaaafaaaaf 6 лет назад
Great Video, many thanks.... Im try to follow your steps to re-flash my sonoff... I am at the step where it says wiat for the "SSID FinalStage" to show up, but it does not pop up on the list of available networks on my mac.. any ideas as to why that would be?
@DrZzs
@DrZzs 6 лет назад
Yes. That’s probably because the sonoff you have has the newer version of their stock firmware. A few months back they changed to version 1.6 and since then the OTA method for flashing doesn’t work. They made it require some kind of certificate from the iTead servers. The manual method with a usb/serial adapter still works. I have videos showing that method too.
@aaaafaaaaf
@aaaafaaaaf 6 лет назад
Ahh ... Great, I have order a serial adapter to flash my S-onoffs... thank you.
@claudio_sergiacomo
@claudio_sergiacomo 6 лет назад
By July 2018 are the Sonoff basic modules still not integrated to HA unless I use Tasmota?
@DrZzs
@DrZzs 6 лет назад
nope, still require flashing. It would sure be nice if they would just open the API and let the HA devs incorporate it into HA. I'm sure I'd find plenty of other interesting things to make videos about :)
@eriklaken1025
@eriklaken1025 6 лет назад
Fantastic, Thank you and i wil try and let you know. :)
@MIKEMATSOUKAS
@MIKEMATSOUKAS 6 лет назад
Very useful video...THANKS Can the same method be used in the RF Sonoff? Do they use the same firmware? Is it possible to revert sonoffs to their original firmware if needed?
@DrZzs
@DrZzs 6 лет назад
If your RF has v2.0 of the sonoff firmware then yes, OtA will work. But follow this new video instead: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Z7SlNtkmYyE.html I know one guy who knows how to revert it to the stock firmware. It's not something I've done so I don't know the steps exactly. This is him: ru-vid.com
@MIKEMATSOUKAS
@MIKEMATSOUKAS 6 лет назад
DrZzs my RF had 1.6 and I update it to 1.8.1. The sonota.exe starts and exits automatically after running some script after I enter the SSID and PASS. It exits after I connect to the itead wifi... So there is no “finalstage”. Is there any solution?
@DrZzs
@DrZzs 6 лет назад
no, I'm sorry there isn't. I was hopeful that we could update from v1.6 to v2.0, but that doesn't seem to be possible. As far as I can tell right now, there's still no way to flash v1.6 or v1.8 OtA :( v1.5 and v2.0 can be flashed OtA, but not the others. Sorry.
@MIKEMATSOUKAS
@MIKEMATSOUKAS 6 лет назад
DrZzs Thanks a lot, u da man!!! ;-)
@siddhesh6530
@siddhesh6530 5 лет назад
is there any way to restore the stock firmware ?
@smartassist9700
@smartassist9700 5 лет назад
will this run on Rasbian, Ubuntu, or Mint Linux?
@bhavinpatel-itsmebhavin
@bhavinpatel-itsmebhavin 6 лет назад
@drzzz i am not getting flashing green lights in my sonoof basic. You have that mentioned at 4:09 in your video
@elvinhaak
@elvinhaak 5 лет назад
I guess you have already found out? Turn on, turn off and hold button very long. First it is flashing in doubles, then it starts flashing the way needed for flashing for the new firmware and connections.
@douwevanhessche
@douwevanhessche 6 лет назад
thank you for this video !! didn't want to spend money on an adapter ! greetz from belgium
@DrZzs
@DrZzs 6 лет назад
Belgium! Awesome! Glad to save you some money. What is the currency called in Belgium?
@douwevanhessche
@douwevanhessche 6 лет назад
just euro haha!
@douwevanhessche
@douwevanhessche 6 лет назад
Hello i have a problem in the final stage it keeps saying “The finalStage SSID will disappear when the device has been fully flashed and image_arduino.bin has been installed.
@douwevanhessche
@douwevanhessche 6 лет назад
There is no “sending file: /ota/image_arduino.bin”
@douwevanhessche
@douwevanhessche 6 лет назад
Do you what I should do tried it on a different computer and also all my firewalls are disabled (using on a mac)
@gijimamobility7073
@gijimamobility7073 6 лет назад
Hi, Does this work on an already configured (connected to my wifi?) firmware 1.5.2 - How does one reset it back to factory state?
@DrZzs
@DrZzs 6 лет назад
Yes it should work on a stock sonoff that's already installed and in use in your house. Once you replace the stock firmware there's no going back to it. Someone told me they found the Sonoff Firmware out on the internet somewhere so I guess it might be possible, but I don't know much more about it. For me, once I've flashed to Tasmota it's permanent.
@DefaultName-ny6lz
@DefaultName-ny6lz 4 года назад
I have the Sonoff Basic R2 and trying to Tazmotize it OTA . stuck at many dots . ....................... Can some one help?
@pavelbaranov6635
@pavelbaranov6635 5 лет назад
thank you for the vid but when I set sonoff into pairing mode the I-TEAD wifi does not show up :(
@ivan12158
@ivan12158 5 лет назад
Hi, you might need to press and wait, nothing would happen, but once you press second time after 7 sec it will start flashing and you will see SSID
@smecmanca
@smecmanca 6 лет назад
Great guide! Please, do you know ìf I can use sonoff basic in inching mode with tasmota firmware, I need a pulse to open a gate. Saludos desde Italia. Grazie.
@DrZzs
@DrZzs 6 лет назад
Last I read there wasn’t a pure “inching” mode in TASMOTA. If you only need one pulse you can try the “pulsetime” command in the console. Check the commands list too. There may be something there that can serve the same purpose. github.com/arendst/Sonoff-Tasmota/wiki/Commands Hope that helps.
@smecmanca
@smecmanca 6 лет назад
DrZzs great it works grazie
@hiattech
@hiattech 7 месяцев назад
Is this still an accurate guide? Any adjustments or updates to it you'd recommend in the six years since you made it?
@ianrobertson912
@ianrobertson912 6 лет назад
Could you kindly advise OTA method would work on a 4 Channel sonoff. I also have 3 units of eWlink plugs which are powered by Sonoff. It is possible to use over the air method on those ( I did not try it because the pins need soldering etc). I am using IFTT to include those plugs to HA as HA does not have a component for eWlink plus Much appreciate your videos
@DrZzs
@DrZzs 6 лет назад
as long as the stock firmware is not ver 1.6 the OtA method should work. the best way to know is to try it. If it doesn't work it won't damage your sonoff. If you think you're going to be flashing a lot of devices I think it's worth getting a USB/Serial adapter (FTDI) and getting comfortable with the wired method for flashing. It is very reliable and almost never requires soldering.
@ianrobertson912
@ianrobertson912 6 лет назад
Thanks mate for the advise. I will give it a go
@nitinsawant
@nitinsawant 6 лет назад
cool, I will try it
@colincrooky
@colincrooky 5 лет назад
Thank you Doctor but brain hurts now! Going to watch it later with Pause button.
@Phenz56
@Phenz56 6 лет назад
Does the sonoff model matter? I'm probably in a little over my head, but wanting to flash the RF bridge.
@DrZzs
@DrZzs 6 лет назад
I think the RF bridge is on the list of compatible models on the Tasmota github page. I'd guess it'll work Good luck!
@Lylelee12
@Lylelee12 6 лет назад
Great video, thanks. I see that the S31 is on the Tasmota compatibility list. I have a few, firmware version 1.0. Has anyone tried the OTA method on this model?
@DrZzs
@DrZzs 6 лет назад
I haven't but if the firmware is pre-1.6 then it should work.
@JeanRobertStrele
@JeanRobertStrele 5 лет назад
Ok, it seems like that ITEAD stopped the fun for us. I have 1st gen units that were OTAd from 1.6 to 3.0.0 and 2nd gen units running on 2.6.0. Neither of them ever get to "FinalStage"...
@TheFlyingKiwiNZ
@TheFlyingKiwiNZ 5 лет назад
Do you know how to upgrade an already Tasmotised sonoff with a newer version of Tasmota OTA from the config module page of the sonoff using that maddox website on github.com/arendst/Sonoff-Tasmota/wiki/Upgrade?
@Sebb559
@Sebb559 5 лет назад
doesn't work on RF Bridge firmware 2.7..0
@riyazkumar360
@riyazkumar360 5 лет назад
Awesome video...
@DrZzs
@DrZzs 5 лет назад
Thanks! There's a newer version of this too. They made the Sonota program an executable so on Win10 you can skip all the python setup. The trick now is if your sonoffs have the "right" stock firmware version.
@methanoid
@methanoid 6 лет назад
Damn, thought this was just the ticket.. did it also work with Sonoff B1 lamps?
@DrZzs
@DrZzs 6 лет назад
It should work with the B1 bulbs as long as they have the older stock firmware. It's not too hard to flash them manually though. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mPVCNQ9awao.html Good Luck!
@nb251
@nb251 6 лет назад
my type of guy. cheers!
@DrZzs
@DrZzs 6 лет назад
ha! Thanks!
Далее
An Illustrated Guide to OAuth and OpenID Connect
16:36
Просмотров 572 тыс.
Разоблачение ушные свечи
00:28
Просмотров 291 тыс.
ТЫ С ДРУГОМ В ДЕТСТВЕ😂#shorts
01:00
Help Barry And Barry Woman Scan Prisoners
00:23
Просмотров 3 млн
Arm PC Build (Rock 5 ITX)
22:35
Просмотров 51 тыс.
Transport Layer Security (TLS) - Computerphile
15:33
Просмотров 474 тыс.
Flashing Tasmota on Sonoff 4CH R3 and 4CHPRO R3
13:37
Sonoff Basic Smart WiFi Switch Unboxing and Setup
14:45
Tasmota SwitchMode Explained
8:48
Просмотров 77 тыс.
А вы бы как с ним поступили?
0:22
Bizda +50☀️ Subscribe❤️
0:14
Просмотров 3,9 млн