Flash Tuya Smart Switches, Plugs, and others all Over the Air - No soldering!
Vložit
- čas přidán 26. 01. 2019
- You heard correctly, flash all of your SmartLife & Tuya App devices with no soldering at all. Flash them while you can before devices are updated. All you need is a Raspberry Pi 3 to flash your devices with Tasmota. No soldering at all and you will have full local control unlocking the true power of your smart devices. Be sure to read the update below!
Check out the updated video here: • Tuya Convert 2.3 Flash...
⚡Parts List⚡
Raspberry Pi 3 - geni.us/95uXN
32gb Micro SD Card - geni.us/yzYBB
Fliirc Case (optional: great RPi heat sink case) - geni.us/txVk4
⚡Tuya based favorites⚡
Moes 3-Way Smart Switch - geni.us/CQPkgx
4 pack Smart Plugs -
Night Light -
Martin Jerry Dimmer - geni.us/pKY7zx
Oittm/Lopoo/Moes Dimmer - geni.us/SGR8F6
SK03 Outdoor Smart Plug (w/Power Monitoring) -
KULED SmartSwitch - geni.us/4xtTXPi
Martin Jerry Switch - geni.us/TLhtBsO
2 relay plugs with power monitoring -
UPDATE #1: Firmware to prevent a bad password "brick" update! github.com/digiblur/Sonoff-Ta...
Download the above bin file to your computer and copy it to your Pi as "thirdparty.bin" in the /tuya-convert/files folder. You can use an app such as WinSCP to transfer it over. Overwrite any other thirdparty.bin files that might be in that folder. Once you flash the Tuya device, you will see the last command showing how to flash the thirdparty bin file. Copy and paste it to send over the thirdparty.bin file instead of the regular sonoff 6.4.1 bin. If you make a mistake on the SSID or password the device will come back in access point mode after it fails to connect.
⚡Software and Github Links⚡
Etcher - www.balena.io/etcher/
Raspbian Stretch Lite - downloads.raspberrypi.org/rasp...
Putty (SSH) - www.chiark.greenend.org.uk/~s...
Tuya Convert Github - github.com/ct-Open-Source/tuy...
⚡Raspberry Pi Commands for Copy & Paste⚡
sudo raspi-config
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install network-manager
sudo apt install git
Thanks to VTRUST for their contribution page on GitHub on this project!
⚡Products We Use/Recommend⚡
Amazon US - amzn.to/2YZNDeO
Amazon UK - amzn.to/2TnG2R4
Amazon CA - amzn.to/2JWsNq5
⚡Be Social!⚡
Main Website - www.digiblur.com
Discord Chat - discord.digiblur.com
Patreon - patreon.digiblur.com
Facebook - facebook.digiblur.com
Instagram - instagram.digiblur.com
Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you! Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of purchases potentially helping with future video projects. Thank you! As an Amazon Associate I earn from qualifying purchases. Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you! As an Amazon Associate I earn from qualifying purchases. - Jak na to + styl
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
Flashed the MJ Switch today. All went smooth and no issue with the logfiile. Thanks for making this video.
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
Worked perfect! Flashed 6 plugs last night and got 1 plug and a plug/usb strip to do tonight. Thanks Travis!
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.
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!
Thanks for the tutorial. Just flashed a very small lumiman outlet that I couldn't open! Keep the videos coming.
Neat, flashed it on my four Amysen (AKA Esicoo) smart plugs. No more calling home to Tuya 10,000 times per day!
Thank you! Great presentation, excellent info and well delivered! You just earned another subscriber.
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
thank you! this helped me a lot in flashing my newly arrived switches!
I just tested it on a new Moes Tuya dimmer and its still working. Very glad I didnt have to solder that one!
That's awesome to hear. More and more keep coming patched out of the box.
OMG... I've been waiting for this.
Just flashed ten of the CE Smart Home plugs from Costco; they work great thanks to your awesome video, thank you sooooo much!!!!!
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.
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.
Nice move Master!!! Thanks again for another awesome video!!!
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.
mine were different?????
mine was:
GPIO4 LED1i
GPIO12 Relay1
GPIO13 Button1
Great video Travis. Thank you.
totally worked!!!! You are a LIFE SAVER!!
Great video, thanks Travis!
Amazing and simple tutorial how to do this! 👍👍👍👌👌👌👏👏👏
Thank you
worked a treat!! brilliant wow
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.
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!
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.
Log file issue? Did you use the flash file I had for that switch?
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!
@@ggallegosm github.com/digiblur/Sonoff-Tasmota - also check out my State of the Dimmer video
digiblurDIY Thanks!!
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.
I have the same bulbs. What are you using to control the bulb now?
Tasmota is what I use.
Worked great on my Geeni Spot Glo
This is fantastic! I just did a smart life outlet with no problems. I can't thank you enough for pointing this out.
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.
Yep.. Just use this process I did after all the questions. czcams.com/video/m_O24tTzv8g/video.html
@@digiblurDIY Thank you so much, your video was perfect.!
@@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.
@@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!
This is great thanks a lot travis
Thank you so much for this video. It saved me a lot of time. Greetings from Croatia !!
Work a charm on Fcmila smart spotlight.
Thank you - great walk through.
Glad you enjoyed it
Love the video! Keep them coming!
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.
I saw this recently as well. I will add this to the description too. Thanks!
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.
Very nice. I’m ditching homekit for homeassistant / tasmota / homebridge. Even though it’s more complex to setup it’s way more reliable.
Be sure and check out the newer procedure linked in this video.
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
'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.
Please flash it to boot from userspace 2 first when i try the
thank you,...
Game changer...
Very informative explanation, does this method can be use for sonoff devices?
No, just Smartlife / Tuya based products.
Are we able to upgrade Tasmota to newer builds using the built-in update option?
Great write-up! Thank you!
Yes. It's all regular tasmota from there.
"Sudo A.P.T.get" ... huh?
Fantastic video. Will this work for the Martin James switch and dimmer? Thanks.
Yes. I have done both with it recently.
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
Yes. I have done a couple update videos since this one.
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
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?
I've seen your activity in the other repo's, how did you decide on the CT approach?
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.
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
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
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?
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?
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.
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}
i tried this with a raspberry pi 2 with ethernet plugged in along with a usb wifi adapter and it did not work. guess i will need to buy a pi3 B with wifi built in :(
On the Esicoo smart plug (round), what module did you use and settings. Thanks again!
Picture linked in this post: www.digiblur.com/2019/01/flash-tuya-smart-switches-over-air-no.html
I followed your Live Stream - How to Setup Tasmota on a new Smart Plug, and you answered my question. Thanks!
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!
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.
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.
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.
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?
Do you see a vtrust-recovery ssid out on the airwaves?
How can I flash a light bulb. There isn't a button
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.
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.
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.
@Joe Arbia, thats great to hear, by any chance do you know if this will work with the smart dimmers?
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
first went great, next two after putting ssid and password in failed to respond? cant seem to get them to reset either?
Did you remember to connect your phone, tablet og computer to the WLAN that the two Tuya-devices created, before attempting to flash?
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 ??
No I don't have that one. Did you try to follow my video where I show how to figure out the pins?
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.
Can you also flash the RGB WiFi adapters sold on AliExpress?
Which ones? I have seen quite a few you can.
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.
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
Are tuya plugs with power monitoring working with home assistant now?
Yes. With the correct template in Tasmota that supports the plug.
Time for me to buy some Tuya Devices
I just did order a few:)
yea get to amzn b4 things go out of stock :)
Anybody know why the DHCP server isn't working with the ./start_flash.sh script? I can connect to the vtrust-flash using my laptop's built in wifi and using my desktop's Nighthawk wifi adapter. However, neither will assign an IP address. I've used Ubuntu installed directly on my laptop and I tried Ubuntu on my desktop's VMWARE.
Nice tip. Is it work for all tuya compatibles ?
Most likely yes as people have had lots of success with things.
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?
I don't have that switch and I use Tasmota for switches and Esphome for sensor/oddball esp builds.
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?
Try this video czcams.com/video/eDoIkd58HRM/video.html
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
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
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.
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.
Does anybody know how to use or reflash an ESP8266 to be used with Tuya? Thanks.
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.
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.
OK, good point! Thank you for the clarification.
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!
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.
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.
Sometimes it does. Depends on if the firmware was patched
my phone connects to vtrust-flash for a brief moment and disconnects immediately before i even get to the next step :(
I have heard of some phones doing that. You can use other wifi devices. It should stay connected if everything is routing correctly though.
@@digiblurDIY thank you, I'll try that. Is it possible to do this to xiaomi binary sensors to make them cloud free and fast?
I am not aware of a Esp8266 based xiaomi sensor
Do you know if "Smart Life APP" devices same way than TUYA? for example Smart Power Strip "Pinlo"
Yes. Smartlife devices are Tuya type of devices.
thanks
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?
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.
You are awesome! Thank you the quick reply. I will test when I get home from work today and post my results.
@@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.
Dang.. No harm in trying though.
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.
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.
@@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.
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.
Hi, I wont see any trust-wifi appearing as wifi network in my phone. any thoughts how to solve this? Rebooted my PI multiple times.
Solved, had to run the following: sudo killall wpa_supplicant
Am I missing something? What is the purpose of connecting a smart phone to the Rpi SSID vtrust-flash,
All part of the exploit on how it makes the fake packets.
Is possible use this same method with some others smart plugs that has available on amazon such as Teckin plugs ?
Absolutely! Most of the Smartlife/Tuya based products should work fine.
digiblurDIY awesome! I have another question now, is possible do OTA with ESPhome? If yes do you have the reference with the steps and the Yaml config?
Yes. I would also direct you to the newer updated version of the video as well.
I don't use Esphome on devices such as this but you can send over the bin during the exploit or just do a firmware upgrade once you get into Tasmota.
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.
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.
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.
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.
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?
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.
Yes, if you have physical access you can use the GPIO pin method.
The gosund wp3 plugs on Amazon are no longer tuya convert compatible.
Unfortunately a new exploit isn't out yet. Back to the old way and sticking to the devices that are easily done.
as of 5/26/19 martin jerry light switch not working. ordered from amazon 05/22/19 this is after i flashed a plug.
Correct. They changed the board and you have to do them the old fashioned way until a new exploit is found.
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?
Sounds like the device has updated firmware that blocks the exploit.
Any success for color bulbs with this?
Yes. I have seen a few confirmations of it.
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?
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!
Can I do this on Ubuntu instead of Pie
Yes! Just needs a compatible wifi adapter.
I used this to flash a Topgreener TGWF15s smart wifi switch. It flashed fine and I can see it with Home Assistant MQTT, but I don't know how to set the configure module settings. Has anyone flashed this switch and gotten it setup properly?
Try this: czcams.com/video/m_O24tTzv8g/video.html
Can't all this be done without an rPi ? Just with a linux PC or a Mac ?
Yes. Their github states this as long as your wifi device supports AP mode.
Possible to flash sonoff this way?
No. Unfortunately the Sonoff OTA process has been closed on several firmware versions now.
Thanks again Travis for the great video. I wonder now if the Tuya software engineers will program out this great hack. Thanks again and please keep up the good work for us. Oh yes, you and Doc make a great "Stream Team"
I'm sure they will be working on something soon, now will it be a quick patch or be a firmware patch that takes months to trickle down through hardware distribution channels is the next question. I don't know about you but I'm picking up my batch of things now and getting them done before I have to answer that question.
@@digiblurDIY Yes! Good idea. Making my list now! i WILL BE PURCHASING FROM YOUR LINKS TOO.
Thanks! Feel free to price compare and such. I just listed a few a few of my favorites from doing several.
Successfully flashed Anbes smart plugs . There is no joy with elf smart plugs.
tasmota-6.5.0-generic-wifiman-2.3.0.bin has problem connecting HA mqtt server
is this firmware based on sonoff basic which doesn't have mqtt discovery feature?
will it be possible to compile firmware with default wifi manager but based on sonoff firmware (not sonoff basic) ?
Yes. HA MQTT discovery is included in the firmware but setoption19 is not turned on. You can upgrade to any firmware version you want via the firmware upgrade GUI option as the firmware is designed to make sure you do not get locked out of the firmware.
Deos ir work with smartlife App devices??
Yes. As long as they haven't been firmware upgraded to blocked versions.
Hi, do you have a guid with soldering process? Thanks!
I do for quite a few of the devices on my channel. What device?
@@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
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.
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
@@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.
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.
@@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.
Did you turn the rules on after applying them?