This is outstanding as I have already blown up one tuya with crappy soldering. Another example of the benefits of this format over the live stream format.
@copytype79835 жыл бұрын
Worked perfect! Flashed 6 plugs last night and got 1 plug and a plug/usb strip to do tonight. Thanks Travis!
@ArbyCreations5 жыл бұрын
I just tested it on a new Moes Tuya dimmer and its still working. Very glad I didnt have to solder that one!
@digiblurDIY5 жыл бұрын
That's awesome to hear. More and more keep coming patched out of the box.
@Snyderjj15 жыл бұрын
I have 12 plugs and a handful of bulbs to do this with. I can confirm the first 2 plugs worked flawlessly. Thanks for posting this incredibly easy to follow video, Travis! I'm getting all of my stuff done today before they patch it :D
@maxc54925 жыл бұрын
Thanks for this - I followed it to the letter and it worked first time. My plug is the round "AISIRER" 240V (UK). The pins are: GPIO4: 21 Relay 1, GPIO5: 17 Button1, GPIO12: 56 LED1i, This is the "generic" module in Tasmota 6.3.0.
Excellent, Excellent, Excellent! You getting the message I’m happy about this! 😀. Just having my house rewired, adding a lot of TuyaSmart devices. Thank you! Cheers
@christopherclark75455 жыл бұрын
Just flashed ten of the CE Smart Home plugs from Costco; they work great thanks to your awesome video, thank you sooooo much!!!!!
@christopherclark75455 жыл бұрын
The custom Tasmota configs are posted on github at github.com/arendst/Sonoff-Tasmota/wiki/CE-Smart-Home---LA-WF3-Wifi-Plug-(TYWE2S). The Costco reviews are not great, but they have been rock solid running Tasmota/Home Assistant so far.
@PaceWithGrace4 жыл бұрын
The new wiki for these plugs is at tasmota.github.io/docs/devices/CE-Smart-Home---LA-WF3-Wifi-Plug/#module-configuration The config is at the bottom of the page.
@FierceDeityLink15 жыл бұрын
Neat, flashed it on my four Amysen (AKA Esicoo) smart plugs. No more calling home to Tuya 10,000 times per day!
@brentonolander72445 жыл бұрын
This video came in the nick of time. I was about to sacrifice one of my zemismart 4” downlights just to figure out how to open them safely. The 4” ones are not the same as the 6” ones that thehookup opened fairly easily. The ota process worked perfectly. Thanks!
@michaelhenderson50985 жыл бұрын
Flashed the MJ Switch today. All went smooth and no issue with the logfiile. Thanks for making this video.
@w3k113 жыл бұрын
Thank you so much for this video. It saved me a lot of time. Greetings from Croatia !!
@brentd20725 жыл бұрын
This is fantastic! I just did a smart life outlet with no problems. I can't thank you enough for pointing this out.
@brentd20725 жыл бұрын
Update - they flash successfully to Tasmota but the switches no longer work i.e. Toggle doesn't work in web site). I tried other module types, some just cycle the relay on and off. I tried setting Generic but there is not Led1 and Relay1 in the dropdown list. Any suggestions of what I can try? Please help.
@digiblurDIY5 жыл бұрын
Yep.. Just use this process I did after all the questions. kzbin.info/www/bejne/o5CyY2eqid-pbsk
@brentd20725 жыл бұрын
@@digiblurDIY Thank you so much, your video was perfect.!
@brentd20725 жыл бұрын
@@digiblurDIY I was able set mine up perfectly thanks to you. I tried to do one for my brother and have a little issue. GPIO4 works perfectly as relay2i for turning the LED on and off, however when I try to make it Led1i it just blinks on and off every 2 seconds. I have looked for other options but nothing else seems to work. I tried setting GPIO12 to relay1 and GPIO4 to relay1i but that didn't work either. Any help would be greatly appreciated.
@gregpadberg14025 жыл бұрын
@@digiblurDIY A couple of Teckin SP20 (module type 59) smart plugs arrived last week, was able to flash Tasmota OTA on them without issue. The GPIO config was found to be as follows: GPIO0 = red LED GPIO2 = blue LED GPIO4 = relay (mains power) GPIO13 = button I suspect the energy monitoring stuff must be on GPIO14 because any time it got assigned the relay would click like crazy. The red or blue LEDs would only stay on if configured as relays, otherwise they would blink when assigned or stay unlit when unassigned. There seems to have been another (earlier?) revision of the Teckin SP20 that had seemed to have a textured button and the LED adjacent to the button. The photos seem to more than suggest that the Teckin SP20 and the Zoozee are identical apart from the label (check out the 2nd photo in the ZOOZEE listing): www.amazon.ca/dp/B07ML92QX8 www.amazon.ca/dp/B07CZFDLXC Waiting on arrival of a couple more of these Teckin smart plugs, and an outdoor one which I suspect should be another clone of SK03 (module type 57). Tasmota with 15A and energy monitoring FTW!
@giuseppearbia5 жыл бұрын
Reported working with Costco Outlet, I failed the first time with laptop to connect to the pi's access point, I then used my IphoneX and sonoff has been installed! Did 4 outlet in less than 10 minuts.
@Gdelpapa5 жыл бұрын
@Joe Arbia, thats great to hear, by any chance do you know if this will work with the smart dimmers?
@giuseppearbia5 жыл бұрын
Giancarlo Del Papa I have 4 to flash but had zero time. I read that it works but personally o can’t confirm it yet
@Crewski45 жыл бұрын
Thanks for the tutorial. Just flashed a very small lumiman outlet that I couldn't open! Keep the videos coming.
@sailordog005 жыл бұрын
Just finished a MJ-SD01 Smart dimmer and your step by step was invaluable. Still had the log file issue but it was so easy to fix. Thank you for the work you have done.
@digiblurDIY5 жыл бұрын
Log file issue? Did you use the flash file I had for that switch?
@ggallegosm5 жыл бұрын
I just finished a MJ-SD01 dimmer too. It went OK with no issues at all. The only thing is where can I find the GPIO correct settings for the dimmer at the tasmota config page? Thanks!
@digiblurDIY5 жыл бұрын
@@ggallegosm github.com/digiblur/Sonoff-Tasmota - also check out my State of the Dimmer video
@ggallegosm5 жыл бұрын
digiblurDIY Thanks!!
@timezonewall5 жыл бұрын
Great video. If you mess up the password for your WiFi, here is a way that may help you get it in. If you entered the SSID correctly, you can setup an AP (or router) with no security (WPA/WEP disabled), or temporarily turn it off on your main one. The esp device should connect because the AP will ignore the password altogether. This worked for me when I messed up the PW. I wish tasmota gave the option for the password to appear, it's too easy to get a typo when trying to enter it from a smart phone. Be sure to re-enable WPA2 after you have fixed the PW on you esp device.
@digiblurDIY5 жыл бұрын
I saw this recently as well. I will add this to the description too. Thanks!
@carltonwbrooks5 жыл бұрын
Somewhere in the video (I think) that you said to hook up the switch to mains. Can you please explain what you did. It is hard to tell in the video what wires you have to the switch. Thank you.
@digiblurDIY5 жыл бұрын
Yes. You have to power the device to put it in pairing mode. The script on the screen says to put it in pairing mode before hitting enter. That's where you have to power things up.
@carltonwbrooks5 жыл бұрын
@@digiblurDIY Sorry if I was not clear. How did you power it. A power cord with the ends cut off? And does if it needs a neutral how did you add it. It is hard to see what was done in the picture in picture of the device. Thanks.
@digiblurDIY5 жыл бұрын
You can do it either way. You could put it in the wall but I prefer on the bench. Usually I have a 1 gang electrical box to test stuff over extended periods so I don't have any exposed wires for others to get into even though I unplug stuff when I am not supervising it. In a pinch you can use an extension cord as well to power a switch. Doing a plug is easy of course as you just plug it in.
@hoodwink555 жыл бұрын
Are we able to upgrade Tasmota to newer builds using the built-in update option? Great write-up! Thank you!
@digiblurDIY5 жыл бұрын
Yes. It's all regular tasmota from there.
@Laysannget5 жыл бұрын
Hello, Thank you for your video. I tried to flash my smart life power strip with 3 AC outlets and a USB port. The flash was a success. However, after i changed the SSID and stuffs, one of the outlet from my power strip keep triggering on and off like blinking. and nothing can be done. The button on the power strip doesn't do anything now. Any suggestion on this ? Thanks
@gersonfer5 жыл бұрын
Nice tip. Is it work for all tuya compatibles ?
@digiblurDIY5 жыл бұрын
Most likely yes as people have had lots of success with things.
@hoodwink555 жыл бұрын
On the Esicoo smart plug (round), what module did you use and settings. Thanks again!
@digiblurDIY5 жыл бұрын
Picture linked in this post: www.digiblur.com/2019/01/flash-tuya-smart-switches-over-air-no.html
@hoodwink555 жыл бұрын
I followed your Live Stream - How to Setup Tasmota on a new Smart Plug, and you answered my question. Thanks!
@sailordog005 жыл бұрын
Confirming the Weton Multi-Plug Timer Switch Power Strip Outlet Surge Protector with 4 AC Outlets is the same as the SMSO301 you did earlier and works OTA. I had to go back and rerun ./install_prereq.sh again after restarting the PI.
@copytype79835 жыл бұрын
Travis, can you reprogram the MOES 3-ways with this method. I flashed my Smart Life Power strip so I assume that the answer is yes. I have got 3 of the MOES coming Monday.
@digiblurDIY5 жыл бұрын
Yep. That's the first switch I tested with and shown in the video. Did it like 7 or 8 times as I had the backup firmware and such.
@copytype79835 жыл бұрын
I watched the video on the MOES 3-ways and decided that is the way for me to go as I have a house full of 3-ways. Thanks for the reply.
@digiblurDIY5 жыл бұрын
Gotcha. Check the comments for an updated template someone did in HA. I also noticed when I changed to a little better bulb that state delay issue went away as well. Love ours so far and saved me some rewiring.
@asalakz5 жыл бұрын
i flashed my Moes 3 way today, it all seemed to go well and I entered the sssid and password, but it then did not retart, no lights at all on the switch, totally dead. Any ideas?
@dannisisgt5 жыл бұрын
Do you know if "Smart Life APP" devices same way than TUYA? for example Smart Power Strip "Pinlo"
@digiblurDIY5 жыл бұрын
Yes. Smartlife devices are Tuya type of devices.
@dannisisgt5 жыл бұрын
thanks
@mikeblackwood54445 жыл бұрын
Awesome video , but i am a bit confused. The title says Tuya controlled devices, but after flash is complete it shows Sonoff on the setup screen. Just to be clear , will this method work for OTA flashing of Sonoff? Sorry if dumb question just wanna make sure before ordering raspberry pi as i have no need for pi otherwise. Thanks again for your valuable time and information!
@digiblurDIY5 жыл бұрын
Tuya/Smartlife is the app used on a bunch of different devices when they are in the cloud with the locked down firmware. This brings them over to Tasmota, it just has a default name of Sonoff since that firmware started out with the Sonoff Basic flashing way back. You are welcome to flash other firmware on your devices as well once you get Tasmota on it since it has a simple OTA flashing method in the GUI. All of these devices are ESP8266 microcontroller based.
@rsuplido5 жыл бұрын
Can you do a follow-up on how easy to flash multiple devices one after the other? Do you have to backup each one every time or is there a faster method?
@digiblurDIY5 жыл бұрын
Basically just do them one at a time and restart the script after each one is brought over to Tasmota is what I did. You have to do them one at a time but it beats the alternative.
@KamalKrishna5 жыл бұрын
my phone connects to vtrust-flash for a brief moment and disconnects immediately before i even get to the next step :(
@digiblurDIY5 жыл бұрын
I have heard of some phones doing that. You can use other wifi devices. It should stay connected if everything is routing correctly though.
@KamalKrishna5 жыл бұрын
@@digiblurDIY thank you, I'll try that. Is it possible to do this to xiaomi binary sensors to make them cloud free and fast?
@digiblurDIY5 жыл бұрын
I am not aware of a Esp8266 based xiaomi sensor
@jhonatanlondonogomez37695 жыл бұрын
Sorry but im new with this stuff... I flashed my smart plug, now how do i connect it with Home assistant? thanks for the video
@digiblurDIY5 жыл бұрын
No worries... Try this or hop into the Discord chat and I am sure someone can help. github.com/arendst/Sonoff-Tasmota/wiki/Home-Assistant
@shaunwhiteley35445 жыл бұрын
Just rewatched your state of the dimmer video a month or so ago, after this new ota update, fancy doing another video on flashing a ‘normal’ tuya smart switch, then showing how you would work out how to get it working , eg my tuya dimmers have 3 buttons, on/off, 1 up brightness and 1 down brightness. My other tuya switch has only 2 buttons for different circuits. Could I turn that into a dimmer if I held the button down? How would I find out how to configure it in Tasmota? Cheers
@digiblurDIY5 жыл бұрын
The smart switch I used in the video was available as I had the stock firmware to flash it back to Tuya so it was perfect for testing multiple times. I brought it back and forth between Tuya and Tasmota about 6 or 7 times actually without issue. It's the same TYWE3S Esp8266 module in all of the dimmers I've done so in theory it should work on those as well. Which Tuya based dimmers do you have?
@kxkayser5 жыл бұрын
Fantastic video. Will this work for the Martin James switch and dimmer? Thanks.
@digiblurDIY5 жыл бұрын
Yes. I have done both with it recently.
@dannisisgt5 жыл бұрын
Very informative explanation, does this method can be use for sonoff devices?
@digiblurDIY5 жыл бұрын
No, just Smartlife / Tuya based products.
@mrteausaable4 жыл бұрын
I just bought the Sonoff TXT2US3C Wi-Fi Smart Wall Switch. Can you make a video on how to flush it with ESPHome without Tasmota/MQTT and one with it?
@digiblurDIY4 жыл бұрын
I don't have that switch and I use Tasmota for switches and Esphome for sensor/oddball esp builds.
@maxtorrence11454 жыл бұрын
The reason i want to reflash is, some devices show a functional on/off button in room view on the SmartLife app, i would like to make all switches & plugs show this button, will this process do that for me? thanks
@billwatson81815 жыл бұрын
Thanks for the video. I used it to update the Tessan Dimmer. I think everything with the process went OK. I can talk to it with my web browser. I set the configuration to "Tuya Dimmer" and I if I move the slider or hit the toggle button, the "ON" indication shows up on the web page but... the buttons don't do anything the led's don't light up there is no output voltage. When I first powered it up, the default configuration was Sonoff Basic. If I select that configuration, the LED's on the dimmer would lite up. but nothing else works. I assume it is a configuration issue, but I don't know what I need.
@digiblurDIY5 жыл бұрын
Yes you are right it needs a slightly different config. I did a complete walk through of using the Tessan dimmer recently. kzbin.info/www/bejne/kHmkZaNprrhnnac
@billwatson81815 жыл бұрын
@@digiblurDIY Thanks so much. I got everything working except the console does not display any text. I look forward to getting this installed. This is my first automation project
@digiblurDIY5 жыл бұрын
The console of Tasmota? What error is it showing? You might have to hit me up on discord where you can share screen snips to see exactly what is going on.
@billwatson81815 жыл бұрын
@@digiblurDIY Yes, the console of the tasmota. No error messages. No text at all. I can't tell if it is completely dead, or just no output because I had already entered the commands before loading the update. Let me know if you want any other data and I will try to get it.
@digiblurDIY5 жыл бұрын
Can you ping the device at all? Do the other buttons work in the GUI?
@isaacbreuer34965 жыл бұрын
Wow, was waiting for this one long time, have a lot of plugs Getting rid of my tuya local key and funky local tuya custum component in hassio. Will try it soon
@CrankyCoder5 жыл бұрын
I think i missed the part about why you connect a phone or laptop to to the vtrust ap. I don't see why that is a requirement?
@digiblurDIY5 жыл бұрын
Yes it is a requirement per their Github page, from what I know it has to do with the smartconfig of sending the packets. I do know if you don't have a secondary device connected it won't work.
@CrankyCoder5 жыл бұрын
@@digiblurDIY just making sure i didn't miss a major part. i got everything setup on my pi. tonight or tomorrow morning it's time to flash. I have 6 devices ready to go!
@digiblurDIY5 жыл бұрын
Good luck! Make sure you read my updated description about using the bin file that has wifi manager enabled by default so you don't get locked out potentially from a password typo.
@CrankyCoder5 жыл бұрын
@@digiblurDIY I downloaded it into the folder and renamed to thirdparty.bin :)
@noisufnoc5 жыл бұрын
looks like thirdparty.bin in the files directory is just a symlink to sonoff-basic.bin. so rather than overwriting the file, you could just update the link. either way should work!
@digiblurDIY5 жыл бұрын
Yes for the pros indeed you can update it. Easier to explain to others to just overwrite it and nuke it as they know it is done by looking at the filesize.
@tota55 жыл бұрын
totally worked!!!! You are a LIFE SAVER!!
@lechjonczyk50955 жыл бұрын
Is it possible to flash it directly to espeasy? On 10:00 it says that I can let the device download an alternative file via HTTP. If I point to a espeasy bin file on network, will it work?
@digiblurDIY5 жыл бұрын
Absolutely.. Just put whatever bin file you want on the Tuya convert device and send it over. Just make sure it is a good bin!
@originalhotrodder43375 жыл бұрын
Thank you! Great presentation, excellent info and well delivered! You just earned another subscriber.
@Sylvan_dB5 жыл бұрын
I've seen your activity in the other repo's, how did you decide on the CT approach?
@digiblurDIY5 жыл бұрын
SCT with a DC output seems to be the way to go and the safest for folks. The PZEM module wouldn't work reliably during my testing.
@mikestandlee7719 Жыл бұрын
Does this procedure still work? I have a house full of Gosund dimmer switches and want to get them into HA. I really don't want to remove the switches to and solder wires to flash them. I have a couple of extra Pis so that's no problem just wasn't sure this was an option any more.
@digiblurDIY Жыл бұрын
Sometimes it does. Depends on if the firmware was patched
@richbabb19005 жыл бұрын
OMG... I've been waiting for this.
@dorijansantini65255 жыл бұрын
Excellent instructions thank you with your help flashed YAGALA SWB3 (from amazon.co.uk - ports 1 to 3 and port 4 for USB): Tasmota template = {"NAME":"YAGALA SWB3","GPIO":[0,0,53,0,0,23,0,0,21,0,22,24,0],"FLAG":1,"BASE":18}
@DesertGardenPrepper5 жыл бұрын
noob question. i just installed hassio and ESPHome on VirtualBox and it looks like it is working good. i picked up some feit bulbs from costco and got them working with the feit electric iPhone app and know their ip address from my router. they identify themselves as ESP_2AO24D. do i still need to do tuya-convert before attempting to use with ESPHome? the easiest way is to flash tasomota with tuya-convert, then change to ESPHome? i am trying to get tuya-convert installed on VirtualBox too. thanks for all the great info. i have learned a lot, and just getting started.
@digiblurDIY5 жыл бұрын
You can go directly to Esphome as I have heard of others doing it. You would just need to make your bin file for each device you convert before hand and send it over during the conversion process.
@mariklurie5 жыл бұрын
Hi, do you have a guid with soldering process? Thanks!
@digiblurDIY5 жыл бұрын
I do for quite a few of the devices on my channel. What device?
@mariklurie5 жыл бұрын
@@digiblurDIY www.aliexpress.com/item/FrankEver-Tuya-Cloud-10A-16A-Israel-WiFi-Smart-Socket-Wireless-Plug-Work-With-Alexa-Google-Assistant/32979207234.html?spm=a2g0s.9042311.0.0.27424c4d21SYn6 This one
@carysmith4935 жыл бұрын
Thank You for this! Today I was able to flash a Merkury single-color bulb (Walmart) using this method. This worked even though I had recently upgraded the firmware on this bulb via the Geeni app.
@Momus4165 жыл бұрын
I have the same bulbs. What are you using to control the bulb now?
@digiblurDIY5 жыл бұрын
Tasmota is what I use.
@jsandman325 жыл бұрын
Thanks, man! I flashed the Zoozee from Amazon. Unfortunately, something went wonky on the one of the four, it was doing the connection thing and spit out the line before you start getting the lots of scrolling lines, but just hung there. Totally unresponsive now. No big deal though, 3 new Tasmota smart switches are good enough for now!
@markszymura5 жыл бұрын
first went great, next two after putting ssid and password in failed to respond? cant seem to get them to reset either?
@mahmahmahmuh5 жыл бұрын
Did you remember to connect your phone, tablet og computer to the WLAN that the two Tuya-devices created, before attempting to flash?
@DrRawley5 жыл бұрын
Worked great on my Geeni Spot Glo
@alcidesmarcano5 жыл бұрын
Nice move Master!!! Thanks again for another awesome video!!!
@sewashburn05295 жыл бұрын
I'm looking for new devices to replace my Iris by Lowe's system (unless I discover that the Iris devices will work in Home Assistant). Will these Tuya devices in the video not work as is in Home Assistant if they are part of Tuya Smart? I have a few Merkury bulbs configured in Tuya Smart and they are working great in Home Assistant without modification.
@digiblurDIY5 жыл бұрын
They will work of course without modification using the cloud component of Tuya. This is about removing the reliance of cloud, adding features, improving response time being all local and increasing reliability.
@sewashburn05295 жыл бұрын
OK, good point! Thank you for the clarification.
@FTBLN5 жыл бұрын
'vtrust-flash' access point wasn't generated in my Pi. So killing the wpa-supplicant (sudo killall wpa_supplicant) and running the script again, helped.
@hoodwink555 жыл бұрын
How are you setting the smart plugs in HA? Do you enable emulation? My Tuya flashed to Tasmota are not showing up in HA. Maybe an issue with MQTT, IDK.
@digiblurDIY5 жыл бұрын
I use a config like this to start with and change to the topic name, device name, etc. github.com/digiblur/Sonoff-Tasmota/wiki/Single-Relay-Devices
@briandurward5 жыл бұрын
Thanks also for this! I get stuch and after initial flashing I get a message - curl: (7) Failed to connect to 10.42.42.42 port 80: No route to host ..and the BSD29 plug no longer responds. Any suggestions?
@digiblurDIY5 жыл бұрын
Do you see a vtrust-recovery ssid out on the airwaves?
@sun12345678905 жыл бұрын
Can you also flash the RGB WiFi adapters sold on AliExpress?
@digiblurDIY5 жыл бұрын
Which ones? I have seen quite a few you can.
@mathewtaylor20075 жыл бұрын
Are tuya plugs with power monitoring working with home assistant now?
@digiblurDIY5 жыл бұрын
Yes. With the correct template in Tasmota that supports the plug.
@PepeTheJonkler4 жыл бұрын
Could you possibly detail a way to do this with a PC (possibly through VM, as I don't have a Pi 3 kit at the moment to work on)? I really want to flash CFW onto a set of Merkury bulbs, and I've found the chart which tells the four pins used for controlling white, color, and data.
@digiblurDIY4 жыл бұрын
You can find additional setup instructions here github.com/ct-Open-Source/tuya-convert/blob/master/README.md I don't have a wifi adapter that works with the procedure which is why I used the Pi3/Pi4.
@dmtycn2 жыл бұрын
I have tried this way on Sonoff 31 and a round plug, failed.....sad.
@digiblurDIY2 жыл бұрын
Sonoff isn't Tuya. Use this kzbin.info/www/bejne/p2fEdJl6eaqerac
@peterpeter76813 жыл бұрын
Hi Travis, thanks again for the awesome video. I purchased a few treatlife switches from your amazon link and now i'm trying to flash it with tasmota. At this point i'm not sure if firmware upgrade is still possible for OTA. I went ahead and tried anyway on Virtualbox running Ubuntu 20. I got to the last step: ./start_flash.sh and got message that "AP mode not supported". Now i've done this on 2 different Macbooks (1 older and 1 newer). When you have some free time can you shed some light on my situation? Once again, many many thanks for all your helpful videos.
@gginnj5 жыл бұрын
I have gosund plugs - this might be my problem - or it's a misunderstanding of the flashing process. I run ./startflash on the pi, then I connect to the pi using my iphone - then I put the plug in setup mode (fast flash). I hit and all I get are "."'s - sometimes it jumps out of program mode (goes to solid light) but usually just keeps on flashing - and i get rows of dots. Is this because its a gosund and not tuya specifically? or do I bring up my smartlite app and put the vtrust/password into it when I put the plug into pairing mode?
@digiblurDIY5 жыл бұрын
If you paired them with the cloud they probably have updated to the new firmware and blocking the exploit for now.
@gginnj5 жыл бұрын
digiblurDIY was thinking that - will order. A couple new ones and see what happens. Either way I needed a pi
@stevesmall39455 жыл бұрын
Does the Tuya Convert process still work on devices bought now, or has Tuya blocked it?
@digiblurDIY5 жыл бұрын
It's getting less and less each day.
@stevesmall39455 жыл бұрын
@@digiblurDIY Thanks, I gave it a shot with a Merkury bulb from Walmart, and it still worked
@thinkingwithoutfear5 жыл бұрын
Awesome video thank you. Question: if I have a laptop running Ubuntu can I just install the tuya convert program from github and save from building the pi?
@digiblurDIY5 жыл бұрын
Yes. Definitely if you are a little Linux savvy and your wireless adapter supports AP mode then by all means let it rip. You can change the wlan0 in the config.txt of the Tuya convert.
@thinkingwithoutfear5 жыл бұрын
You are awesome! Thank you the quick reply. I will test when I get home from work today and post my results.
@thinkingwithoutfear5 жыл бұрын
@@digiblurDIY I couldn't get my laptop's build in wifi to act as an AP. I'm just going to to follow your method. Thanks again.
@digiblurDIY5 жыл бұрын
Dang.. No harm in trying though.
@chilly_willy_allentech83285 жыл бұрын
have you tryed the geeni tap switch ? it has a main switch plus 2 small switches and 2 leds on top .. after reflashing what would the 3 switches and 2 leds be mapped to ??
@digiblurDIY5 жыл бұрын
No I don't have that one. Did you try to follow my video where I show how to figure out the pins?
@draven44645 жыл бұрын
So I'm trying to flash Tasmota onto my Teckin RGBW bulb, for use in my Hubitat, and I'm having some trouble. Do you know of a good guide for how to do it?
@digiblurDIY5 жыл бұрын
I don't use Hubitat sorry. Do they support mqtt?
@draven44645 жыл бұрын
@@digiblurDIY No problem, from what I understand Hubitat does
@derricklayne13655 жыл бұрын
Hello I just got a Gosund WP212 Dual outlet with energy monitoring If I flash will I be able to see both plugs and energy usage with MQTT
@digiblurDIY5 жыл бұрын
Yes. I have a plug similar to that and control both relays and see the power over MQTT.
@derricklayne13655 жыл бұрын
@@digiblurDIY I havent set it up to the tuya app will it flash OK
@digiblurDIY5 жыл бұрын
It should. Haven't heard of that plug being patched out the box yet.
@derricklayne13655 жыл бұрын
@@digiblurDIY sorry I didn't ask before will I have to play with it to get the right GPIO pins or is it documented somewhere?
@derricklayne13655 жыл бұрын
@@digiblurDIY Just checking with you, the flash has been on the dots for about 5 minutes should I let it go or restart it I have not got any errors
@johndutt14365 жыл бұрын
Hey Travis - this is excellent! Terrific and thorough video! I was able to flash 4 teckin plugs with no issue. I am looking at a few $10-12 WIFI Motion sensors that use Tuya/Smartlife, do you think or know anyone who has flashed them with Tasmota? Their specs do not say whether or not they are using an ESP8266. Thanks
@digiblurDIY5 жыл бұрын
I haven't heard of anyone flashing them but have seen them. Sounds like something that fires up and goes back to sleep on motion?
@ronm65855 жыл бұрын
Great video Travis. Thank you.
@rong25785 жыл бұрын
I wished I saw this 9 months ago. I have a lot of Tuya smart plugs and Tuya bulbs, I would rather run local. Hopefully one day we can do OTA flashing again.
@bobbutterworth96735 жыл бұрын
I flashed my Gosund WP3, loaded up the Tasmota page, put in my wifi details, but now it just blinks blue and red, doesn't present wifi, and nothing I press on the button does anything. Multiple short presses, a 40 second long press. Nothing. Any idea what I can do? I tried to crack it open but the plug is going to really get damaged I think doing that.
@digiblurDIY5 жыл бұрын
Did you use the bin linked in the description? If not you can try the method of making a wifi network with the same SSID you picked without any security and see if the device will attach. Then put in your wifi password again. While you are there put in a backup ssid/pass too.
@bobbutterworth96735 жыл бұрын
digiblurDIY . I didn’t, I just used the built in Tasmota. But great tip on the WiFi. I setup an extra access point I had lying around with the same name but no authentication and it came right up!! Now I need to figure out why it couldn’t attach to my network with the WiFi password. I also want to put ESPHome on it instead of Tasmota. Thanks much!
@nickm3242 жыл бұрын
How did you hookup your switch to mains power to do this demonstration?
@digiblurDIY2 жыл бұрын
Used an extension cord with wire nuts
@nickm3242 жыл бұрын
@@digiblurDIY but how was it wired, do you have a screenshot? Dont want to blow myself up.
@JellePeters5 жыл бұрын
thank you! this helped me a lot in flashing my newly arrived switches!
@kxkayser5 жыл бұрын
Hey Travis. Thanks for the response. I was successful in flashing both devices and used your binary for the dimmer. Both work great from Tasmota and your configuration for the dimmer is great. One suggestion: it would be cool if the dimmer led stayed on when the switch is off so you could find it in a dark room. I am having a problem with the MJ switch. It works from Tasmota and I can control the led via gpio 4 but the physical switch doesn't work. Unfortunately, I didn't test it before flashing it so I don't know if it's actually defective or I fried it. I'll order a new one and test it more carefully before flashing. BTWQ, I am very new to home automation and am doing all my automation in node-red. I installed HA but haven't found the need fr it yet. Integration with Alexa is trivial. Thanks again.
@digiblurDIY5 жыл бұрын
I did post in the fork readme the rule to have the red LED stay on when the switch is off. Did you set the MJ switch up as follows like I updated the video with? GPIO4 - Inverted Red LED GPIO5 - Inverted Blue LED GPIO12 - Relay1 GPIO13 - Button/Switch1
@kxkayser5 жыл бұрын
@@digiblurDIY You are truly amazing! Of course, it would have helped if I had read the last line of the readme file. lol. Also got the switch working. Is there an updated video? I didn't see it. Everything is working except 1 small item: The red led doesn't come on. I have the following config: GPIO4 - Led2i GPIO5 - Led1i GPIO12 - Relay1 GPIO13 - Button1 The blue led works as expected - on when the swith is on and off when it's not. If I set GPIO4 to Led2 instead of Led2i, the red led comes on but stays on regardless of the switch state. Anyway, thanks again for all the help. As I mentioned, I'm really a novice at this. How can I see the source code of your device configurations (for example the MJ dimmer). I'm sure I could learn a lot from it.
@digiblurDIY5 жыл бұрын
the red LED actually won't ever light in that config, I modified mine a little bit. GPIO4=Relay3i GPIO5=Relay2i GPIO12=Relay1 GPIO13=Switch1 Then I have the following rules set via the console to toggle the "relays". switchmode1 5 setoption32 7 Sets up long press actions and 0.7 second timing for the longpress rule1 on switch1#state=2 do POWER1 TOGGLE endon on switch1#state=3 do backlog POWER2 TOGGLE; publish cmnd/KLD-BenchFan/POWER TOGGLE; POWER2 TOGGLE endon rule2 on power1#state=0 do backlog power2 ON; power3 OFF endon on power1#state=1 do backlog power2 OFF; power3 ON endon That first rule does a long press send to another switch across the room and blinks the LED, the second rule toggles the LED for each state. The source code is in that fork on that readme, you should be able to find my commit of the changes I did for the dimmer.
@kxkayser5 жыл бұрын
@@digiblurDIY Brilliant. Works great! Not sure why the Led controls don't work but the relays sure do. Been looking over the code. Sure have a lot to learn. Thanks again.
@digiblurDIY5 жыл бұрын
Did you turn the rules on after applying them?
@clevercompiler5 жыл бұрын
The gosund wp3 plugs on Amazon are no longer tuya convert compatible.
@digiblurDIY5 жыл бұрын
Unfortunately a new exploit isn't out yet. Back to the old way and sticking to the devices that are easily done.
@nicksnicknet3 жыл бұрын
Thank you - great walk through.
@digiblurDIY3 жыл бұрын
Glad you enjoyed it
@cecastil5 жыл бұрын
Great tutorial, as usual, but I don't have an RPi available. Instead I have an old laptop where I can install Linux on. Can I do the tuya-convert flashing with that configuration? Any distro that you would recommend? Thanks
@digiblurDIY5 жыл бұрын
According to their docs the tested on Kali Linux too. The big thing is if the wifi adapter you have supports AP mode.
@cecastil5 жыл бұрын
@@digiblurDIY Thanks I tried with both Kali and Lubuntu and both failed... it must be the AP mode support
@ForwardEngineering4 жыл бұрын
Can the switches not just be flashed using GPI0 pin or something by opening it? I dont have a extra full blow pi to dedicate to flashing.
@digiblurDIY4 жыл бұрын
Yes, if you have physical access you can use the GPIO pin method.
@ForwardEngineering4 жыл бұрын
I have the single pole version of this switch. Im having trouble configuring it in tasmota. What settings should be set after settings generic 18?
@digiblurDIY4 жыл бұрын
Try this video kzbin.info/www/bejne/m3XSep6aap17iK8
@CraigSpiteri4 жыл бұрын
thanks for the video, this worked fine for my Brilliant 20676/05 smart plug, there were some minor differences- good differences due to updates on the tuya-convert git repo which makes this process even more streamline. They may have patched the Log File error, I did not encounter that, plus there was no WPA password required when joining the vtrust-flash AP. Another difference as well was after I ran the ./start_flash.sh script it prompts you with 3 options (0=stock, 1=espurna, 2=tasmoto) which don't require the curl commands, you just simply choose a number 0-2 and its good to go, i obviously selected 2=tasmoto and then i jumped on the tasmota-xxxx SSID. Good luck
@digiblurDIY4 жыл бұрын
Yes. I have done a couple update videos since this one.
@EdwardRamski5 жыл бұрын
Am I missing something? What is the purpose of connecting a smart phone to the Rpi SSID vtrust-flash,
@digiblurDIY5 жыл бұрын
All part of the exploit on how it makes the fake packets.
@dalescott93305 жыл бұрын
Travis, great video, have you tried the 3rd party firmware? I just compiled a tasomta .bin file using your PlatformIO video. I hoped to use it to by pass the Sonoff AP part of this process.
@digiblurDIY5 жыл бұрын
Yes. I do use my own compiled firmware in it. I pushed that third-party bin file over to the Pi. I don't have the wifi SSID hard-coded which wouldn't be a bad idea but I did have wifi manager hard coded as the setup method just to be sure.
@keithcroshaw5 жыл бұрын
Any success for color bulbs with this?
@digiblurDIY5 жыл бұрын
Yes. I have seen a few confirmations of it.
@easwaran835 жыл бұрын
Is this method still working? Should we try this after connecting to tuya app on phone or just try this method once we buy without connecting to tuya app. Please clarify
@digiblurDIY5 жыл бұрын
Yes it still works on most products but many are being patched by the cloud so I wouldn't pair them with the cloud.
@MattScoville5 жыл бұрын
So does the version of Tasmota this flash support MQTT discovery? I flashed a plug last night and can't seem to get HA to see it even after sending the discovery option.
@digiblurDIY5 жыл бұрын
I do not know if basic has that functionality. I believe on the Tasmota github they have a a grid of all the features listed for each build they have. You can flash any version of Tasmota or even other firmwares after you get into the GUI just like you would on other switches.
@MattScoville5 жыл бұрын
Looks like this flashes Sonoff_basic which doesn't support discovery but you can quickly upgrade the firmware on the plugs to the normal sonoff one which does.
@jayare77505 жыл бұрын
Will the Rasbian Stretch Lite work with RPi4?
@digiblurDIY5 жыл бұрын
No. It is missing drivers and requires buster.
@jayare77505 жыл бұрын
But the tutorial would be the same?
@digiblurDIY5 жыл бұрын
I haven't seen anyone use the Rpi4 yet but I did see someone posting a few modifications to the commands to buster. I will see if I can find it.
@jayare77505 жыл бұрын
digiblurDIY well I tried tuya-convert following this tutorial on the pi4, but it didn't work. Every time I would hit the last enter, the fast flashing would stop on the switch and the ............... Would never end. I opened one up and it does have the ESP08/TYWE3S chip.
@digiblurDIY5 жыл бұрын
It might have updated firmware and be blocked for now until a new updated Tuya convert is worked out
@MShadowZero15 жыл бұрын
i have Module: BSD29 i done it but in Module type in Tasmota what i chose ? and how make the Power Monitoring work ?
@digiblurDIY5 жыл бұрын
Here's how to put the template in. github.com/arendst/Sonoff-Tasmota/wiki/Templates
@MShadowZero15 жыл бұрын
@@digiblurDIY Thank you
@MikesHDVideos5 жыл бұрын
Thanks for the video. So am I correct that the 4 pack of the Esicoo plugs you have an Amazon link are Tuya?
@digiblurDIY5 жыл бұрын
Yes. And I did all 4 of them without issue. I have the GPIO pin configuration for Tasmota I will update the description with.
@digiblurDIY5 жыл бұрын
GPIO config is at the end of this entry: www.digiblur.com/2019/01/flash-tuya-smart-switches-over-air-no.html
@MikesHDVideos5 жыл бұрын
Thanks. I ordered a 4 pack using your web link.
@MikesHDVideos5 жыл бұрын
I would be interested in a dimmable plug.
@digiblurDIY5 жыл бұрын
I just a did live stream showing the setup of new plug and figuring out the pins in case you were interested and missed it. kzbin.info/www/bejne/o5CyY2eqid-pbsk A dimmable plug would be great! I've only seen them in switches which of course you could put in a box but it would be kind of ugly if you couldn't hide it somewhere.
@dacito45005 жыл бұрын
I´m trying to flash a Gosund SP1 EU device and I encounter a problem: When I start the flashing procedure, after around 5-10 seconds I can here the device switch and the blinking blue LED turns red or turns off. I don´t get any error or success message on my raspi. Any idea?
@digiblurDIY5 жыл бұрын
Sounds like the device has updated firmware that blocks the exploit.
@kemuelrojas77275 жыл бұрын
Please flash it to boot from userspace 2 first when i try the
@scottinokc5 жыл бұрын
Great video, thanks Travis!
@fergavilan1323 жыл бұрын
Does anybody know how to use or reflash an ESP8266 to be used with Tuya? Thanks.
@elyob5 жыл бұрын
"Sudo A.P.T.get" ... huh?
@paultoepel1075 жыл бұрын
HI... You helped me with recovering my lost wifi smart switch. I have one more question, promise :)! The switch connects fine. I can connect through the IP address, the blue light toggles on and off with the "Toggle" button on the main menu, BUT... the relay does not switch on. Is there more configuration necessary to toggle the relay? -Your help is much appreciated.
@digiblurDIY5 жыл бұрын
Did you go through and figure out which pins are what? I did a live stream showing how to set up an unknown switch/plug.
@paultoepel1075 жыл бұрын
@@digiblurDIY I watch you video and tried every pin with a relay option. The only think I can make the plug do is toggle the led on GPIO13. None of the other pins seem to do anything, including GPIO12, where I expected relay1 (The main relay) Note also that the physical button does not toggle the relay either. Button1 (GPIO0) is set to Switch 1. Is it possible the plug is bad? Do I need a configuration different than the generic configuration? As always...thanks.
@paultoepel215 жыл бұрын
@@paultoepel107 I followed your recent live video where you flashed and configured the exact mini switch. Set mine up exactly as you did with Relay1 on GPIO14 and the rest the same. -No go. the relay does not turn on/off and no voltage goes thru the device. Perhaps I bricked it during the flash process. I have some other mini plugs (same plug). I will give it another go.
@digiblurDIY5 жыл бұрын
Is the GUI still alive?
@paultoepel215 жыл бұрын
digiblurDIY yes. The GUI appears to works fine. I can change pin settings and see some behavior changes. For example I can change the behavior of the led. I get a constant 2 volts coming thru the plug no matter what I do... and never heard the relay.
@paultoepel215 жыл бұрын
Hi. Thanks so much for your videos. I was able to flash a switch no problem. My second attempt was a WiFi plug in your description . It went well until I believe I put the password into the flashed device wrong. Now... the plug has a slowflashing blue light and does not show up on my network. All attempts to put the plug back into flashed failed. Any ideas how to save this plug?
@digiblurDIY5 жыл бұрын
If you didn't make the backup SSID you can try making a network with the same SSID with no password in attempt to see if it will connect.
@paultoepel215 жыл бұрын
@@digiblurDIY Thanks so much for the reply. Good idea. But for $12... I might just use it as a paper weight :) !
@paultoepel1075 жыл бұрын
@@digiblurDIY Hi again. Just want to pass on your idea above worked perfectly. You saved me the device! Thanks again.
@digiblurDIY5 жыл бұрын
Always good to bring it back to life. Make sure you set the wificonfig option to 2 like I show in the description update. Won't get locked out again.
@jayharbeston15905 жыл бұрын
If you fat fingered the wifi information, and don't know what the SSID is for the device, there is still hope! I had this very same problem when I mistyped the SSID for the network I wanted. I posted a question to softwarerecs.stackechange.com. After much digging through information in various places, I found a method to determine the SSID that was saved when first setting up the wifi on the plug. I posted the instructions to 'fix' it as an answer to the question on the following link: softwarerecs.stackexchange.com/questions/56906/software-tool-to-sniff-wifi-from-misconfigured-iot-client-device-on-any-platform/56964#56964
@markszymura5 жыл бұрын
worked a treat!! brilliant wow
@familiadiaz37155 жыл бұрын
Deos ir work with smartlife App devices??
@digiblurDIY5 жыл бұрын
Yes. As long as they haven't been firmware upgraded to blocked versions.
@monotonus5 жыл бұрын
Don't git it to work with my old Raspberry Pi 1 using Raspian Lite and a Gosund SP111 with Firmware 1.0.0 (according to tuya app). I'm connected to the vtrust-flash wifi with my smartphone, but the plug isn't found. I was waiting for half an hour... Any suggestions?
@digiblurDIY5 жыл бұрын
Might need to try a different wifi adapter with that Pi as it might not support the various functions they use in the scripts.
@monotonus5 жыл бұрын
Yes I tried a different one, but with that there was no vtrust-flash WiFi started. So I have to try a little bit more.
@IannisSpiropoulos5 жыл бұрын
Can't all this be done without an rPi ? Just with a linux PC or a Mac ?
@digiblurDIY5 жыл бұрын
Yes. Their github states this as long as your wifi device supports AP mode.
@mathesonstep5 жыл бұрын
Time for me to buy some Tuya Devices
@seetendrapanda5 жыл бұрын
I just did order a few:)
@DaveGee20105 жыл бұрын
yea get to amzn b4 things go out of stock :)
@jhermosilla58725 жыл бұрын
Can this be applied to itead devices? original sonoff firmware devices?
@digiblurDIY5 жыл бұрын
No. They use a different server.
@hmgomez19775 жыл бұрын
@@digiblurDIY ..Is there away to flash the Sonoff OTA like the Tuya