Flashing Tuya Smart Plugs with Tuya Convert

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024

Комментарии • 73

  • @atticdrams
    @atticdrams Год назад +1

    Worked perfectly with the same Gosund UP111 model. Now I have 4 MQTT based plugs and have deleted my Gosund account. Huge thanks!

  • @jtreg
    @jtreg 9 месяцев назад

    I ruined a Gosund plug by attempting to solder connections to it. Plonker 😪... I wish I had taken more time to find this excellent clear explanation of what I should have done! I have 4 more waiting to be converted, thank you so much.

  • @Coooogz
    @Coooogz Год назад +3

    30/09/2022 I happened to find the 4 pack of these and then found this video. Still works. Very well and logically presented thanks. I had a slight different experience at the end as the devices appeared under a Tasmota integration rather then under the Mosquitto broker but was all still pretty much the same. Now to work out how to switch on a heater when my battery is full and solar is producing 1kw+ excess :)

    • @jmpcrx
      @jmpcrx Год назад

      Hi, did you figure out how to do that? As want to do the same, but switch on a crypto mining rig whe batts full and excess solar..

  • @Teleport73
    @Teleport73 Год назад +1

    Many thanks. Just bought and flashed a 4 pack. All works fine.

    • @Teleport73
      @Teleport73 Год назад +1

      Follow up>. Bought a second 4-pack. This one didn't flash. If there is a manufacture date of 01-2021 at the bottom-right of the plugs then you're in luck and they will flash with Tuya-convert. If there is a serial number at this position instead then they are the updated version, which will not flash.

  • @texasflooddk
    @texasflooddk Год назад +3

    This is such a great video. Have flashed three Tuya Smart Plugs (Neo Coolcam NAS-WR01W with Power monitoring) to Tasmoda V12.1.1. Very nice.
    SOLVED: Entering "TelePeriod 10" (10s) in the console of each smartplug changes the default update interval of 300s.👍👍👍👍
    But I have one problem..
    The smartplugs doesn't seem to send data out to the MQTT.
    It only sends the data when I activate the "reload" option in the HA Tasmoda "integrations" window.
    When doing this, I can see in timestamp in the console is being updated and the data is sent out. I can then see it being updated once at the sensor cards in HA.
    When I monitor the smartplugs in the web ui, the sensor data is updated frequently as it should.
    How often is the data to be sent normally ?
    Edit: I can see from the console in the Tasmoda web ui, that data is sent every 5mins (unless I activate the Tasmoda "reload" in HA as described above..

  • @heiaheiaheiahei
    @heiaheiaheiahei Год назад +2

    thank you so much for the walk through tutorial, great job.

  • @bevanski5367
    @bevanski5367 Год назад +2

    Thank you - made it all so easy

  • @mrbarrington-smythe9033
    @mrbarrington-smythe9033 Год назад

    Thanks for this. Near impossible to source Tasmota flashable smart plugs in the UK now. Would prefer 16A, but will buy some and report back.

    • @weltschmerz88
      @weltschmerz88 Год назад

      Are the ones on amazon not flashable any more?

  • @prometheus4130
    @prometheus4130 2 года назад +2

    Great find, great video explainer. just flashed a few!

  • @robertsimpson4412
    @robertsimpson4412 6 месяцев назад

    Flashing Tasmota worked. Many thanks for a clear and detailed video on how to do this.
    The problem I have now is integrating it into HA. I think since you made the video, HA has changed. There is no longer an 'Add-ons' option but instead you can install MQTT directly from the list of integrations. Unlike your example, it is asking for the 'broker'. I'm guessing this is something else that needs to be installed (and hopefully not extra hw).
    The forums have lots of questions about the missing 'Add-ons' button so I'm not sure if this a bug or something to do with permissions (I'm using advanced mode) or whether it's been superceeded by something else. Any advice?

  • @usmangojra
    @usmangojra Год назад

    thanks for the detailed guide, where is "Fetching firmware backup" stored? how to retrieve it?

  • @MrBobWareham
    @MrBobWareham 9 месяцев назад

    Thanks for the video, very interesting over the air, but I don't have a Raspberry Pi, so can I use Linux Mint to flash a socket?

  • @gordon861
    @gordon861 Год назад +1

    Just tried this with some Yuin 16A Smart Plugs (that look identical) that I bought in April 2022.
    Failed message "Tuya patched the PSK vulnerability that we use to establish a connection" ... this must be the first time that we need to complain about an IoT company actually patching issues.

  • @tp-project
    @tp-project Год назад

    Only 3 out of my 6 Gosund EP2 plugs have flashed properly after doing this with the 1.06 firmware. There were no errors from tuya-convert so everything looked ok. Two of the plugs stay green one of the plugs just quickly flashes green and then no light. There are no access points to connect to to finish the job.

  • @andrewlong9388
    @andrewlong9388 8 месяцев назад +1

    Do you know whether the plugs available at the Amazon links you gave can still be flashed with Tasmota in Dec 2023?

    • @SmartHomeAddict
      @SmartHomeAddict  8 месяцев назад

      A lot of newer devices have a different chipset no longer compatible with this firmware. They unfortunately want to lock you into the Tuya/Smartlife Ecosystem due to the data they're able to get hold of.

  • @cemtex
    @cemtex Год назад

    @smart home addict Thanks for the instructions, i managed to flash all four plug with no errors did everything else but when i use the Consule and SetOption19 on i do not get any info come up as per your video and also mqtt does not see them, any ideas please?

  • @carlocoin6253
    @carlocoin6253 Год назад +1

    Thanks for the tutorial.
    The vtrust-flash network does not appear on my smartphone or tablet.
    What could I have done wrong?
    Thanks in advance for the help

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +1

      Are you connected to your Home Assistant instance via wi-fi or Ethernet from the device you're starting the process from? If you're connected via wi-fi, it overrides the temporary vtrust-flash network. Connect an Ethernet cable and try again.

  • @mbwahaha
    @mbwahaha 2 года назад +1

    Thank you!

  • @edstertech
    @edstertech Год назад

    06/12/2022 Thanks for this! After following the instructions, nothing appeared - I looked at the Information page on the plug, it showed Program Version 9.2.0(lite). Running the firmware upgrade a second time cured this with the Tasmota integration immediately appearing on HA (2022.11.5) and the plugs' pages displaying the logo on the browser tab and Program Version 12.2.0(tasmota).

  • @NeutroNStrikeR
    @NeutroNStrikeR 7 месяцев назад

    Thanks for sharing!

  • @Coooogz
    @Coooogz Год назад +1

    I've managed to flash 12 devices now. But one has decided it will simply not connect to my WiFi. How do I go about re-flashing once already on Tasmota firmware... I can't seem to get it back into EZ pairing mode with 6 clicks, and so can't detect it with the flashing tool? Am I missing something obvious?

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +1

      I have had the same issue with 1 plug, which I've put to one side. I suspect faulty memory on this plug but haven't yet had time to have a proper look.

  • @marconegroni5631
    @marconegroni5631 Год назад +1

    Please, does It work with smartlife sensors ( pir, Door, etc.) Thank you

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +2

      Sensors are normally a low energy communication protocol such as Zigbee or ZWave. That said, Tuya/Smartlife do have some Wifi sensors available. The best source of information for if something will or won't work is Blakadder's excellent resource here - templates.blakadder.com/

  • @samEcharpe
    @samEcharpe 2 года назад +1

    thanks a lot !

  • @ElQuijoteXXI
    @ElQuijoteXXI Год назад +1

    Hi, any of my plugs will display 0 on all sensor reading please help. ( I got it working with hone assistant I'm sble to click it On Off )

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +1

      Sometimes this happens, usually with new plugs. Did you do the SetOption19 on command? This will force the plug to send an MQTT command with all of the data.

  • @sevenismy
    @sevenismy 7 месяцев назад

    Thanks

  • @bighippo999
    @bighippo999 2 года назад +3

    In case it helps anyone else.
    tuya-convert was detecting other devices on my LAN and kept saying the device wasn't ESP32. I was hopeful it would work as the socket was rebooting itself and turning red and I once saw a new Access Point created ESP40xxxx
    I was using a fresh Raspberry PI to do this, so I disconnect it from the LAN and used keyboard/screen. Wish I'd thought of it 2 hours earlier lol.. Flashed 1 in 2 hours and 3 more in about 20 minutes. If you hit problems it's worth either unplugging other tuya based smart devices or do as I did.

    • @SmartHomeAddict
      @SmartHomeAddict  2 года назад

      Thank you, I've just tried what you've suggested and it's worked a lot better (I did have one or two I had trouble flashing but your suggestion sorted these out!).

  • @kevinhenryviii
    @kevinhenryviii 2 года назад +1

    Great tutorial and 3 plugs flashed. Everything working on the tasmota webpage. But I can’t get it to show in MQTT. I know my user nam;e and password are correct as I already use mqtt. Any ideas. Thanks

    • @kevinhenryviii
      @kevinhenryviii 2 года назад +1

      Ignore that. It’s shown up in the tasmota integration. Is this correct?

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +1

      I believe it's not showing in MQTT as the Tasmota integration has picked it up. Try removing this integration from HA, this may force it to work. Also check the MQTT connection information is correct on the device.

  • @jmpcrx
    @jmpcrx Год назад

    I have a hbn smartplug. Fails on timeout when trying to connect. Says its an esp82**. No way round this i presume?

  • @StuartReidvideos
    @StuartReidvideos Год назад +1

    I've got everything working up to the SetOption19 on part. I don't get any extra data appearing. Anyone know why that would be?

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +3

      I have had this issue previously. In some cases the switch needed to be power cycled before SetOption19 worked. In another case, I realised I'd missed a step - it may be worth going through the config section again.

  • @comfysofa1549
    @comfysofa1549 Год назад

    Hi - ordered using the link but received UP111' (a 4 pack) is there a fix for the newer firmware? i get the error message "your device's firmware is too new" - great video (if it worked for me!!) many thanks.

  • @sygad1
    @sygad1 Год назад +1

    I've just converted 3 of them and don't see the power monitoring, did I do something wrong?

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +1

      Was it with the same model? Sometimes the data can take time to come through, if MQTT is set up properly you may need to access the console in the plug's web page and do a SetOption19 on to trigger an MQTT conversation.

    • @sygad1
      @sygad1 Год назад

      @@SmartHomeAddict Thanks for replying. I've just worked it out, I had to set the "configure>module" to generic, it was set as Sonoff basic. Once I rebooted, it was showing the power info.

  • @SeanRynearson
    @SeanRynearson Год назад +1

    Does this still work? I want to get off of the tuya platform. Over 100 devices

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад +2

      It worked with that specific type of smart plug, but compatible devices are getting more difficult to get hold of. Unfortunately it's unlikely your devices can be flashed. However, there is a local Tuya integration that doesn't use the cloud. I'll look into creating a video about this.

  • @stuartwaudby3543
    @stuartwaudby3543 8 месяцев назад

    I cant get passed the git clone. It asks for user name and password. I use my github credentials and it fails stating that password authentication was removed on August 13, 2121 :(

  • @lawaver
    @lawaver 2 года назад +1

    Hi, excellent tutorial and I followed it but freezes at 'Starting AP in a screen' and then losses wifi connection and I have to reboot the pi ??

    • @stuartgray5877
      @stuartgray5877 2 года назад +1

      you must run this process over ethernet because the process takes over your wifi at that point

    • @lawaver
      @lawaver 2 года назад +1

      @@stuartgray5877 Hi, thanks for answer but before I go ahead can you confirm that after converting over to Tasmota can I still access/use the energy monitoring capabilities of the plug ?

    • @stuartgray5877
      @stuartgray5877 2 года назад +1

      @@lawaver I cant tell you that. My plug ended up being the kind that cannot be flashed.

    • @SmartHomeAddict
      @SmartHomeAddict  2 года назад +1

      Hi Don, yes with the Tasmota (and ESP) firmware it will still support the energy monitoring capabilities.

    • @lawaver
      @lawaver 2 года назад

      @@stuartgray5877 Hi, how do you know that it cant be flashed. I have got the vtrust-flash network working and my mobile connects to it OK but the tuya convert program keeps looping smartConfig complete resending smartconfig packets and then times out after about 8 attempts ??

  • @crawcreative
    @crawcreative Год назад

    I appear to flashed two of these gosund sockets from Amazon and got the wifi hotspot, told it to join my 2.4Ghz wifi and lost lost the tassmota AP but it will not join my home network, the led just flashes on red and blinks blue occasionally

  • @renebea9
    @renebea9 Год назад

    Is there any way to reprogram tywe2s/wb2s/eps-02s wifi module if you have only Windows OS?

    • @TSAGEDAR
      @TSAGEDAR Год назад

      Has anyone found a way to do this?

  • @AFC19034life
    @AFC19034life Год назад

    Just tried flashing having bought the plugs linked in description and unfortunately getting a message about the firmware being too new. :(

    • @gabijoe2023
      @gabijoe2023 Год назад

      Same here. Seems that they've updated the firmware. In the app says they are at v1.0.5. Tried to open one of them but it is quite hard... I'll keep looking.

    • @SmartHomeAddict
      @SmartHomeAddict  Год назад

      It might be they've finally closed the loophole. I'm going to order some more to test and to work out if there's a way round it.

  • @jongmedellin4890
    @jongmedellin4890 9 месяцев назад

    any latest updates on this

  • @thefinchworkshop
    @thefinchworkshop Год назад

    Is anyone getting the hang on "Starting AP in a screen". Looks like you can't do this while connecting via SSH according to some interwebz searching. Anyone had any joy recently?

    • @thefinchworkshop
      @thefinchworkshop Год назад

      Using a keyboard and monitor connected to the pi solved this..... it's only then you wished you hadn't picked such a complicated password for the pi admin 😂😂

  • @LeeDavisonYo
    @LeeDavisonYo Год назад

    This is patched now for me for plugs bought 8/2/23 :(

    • @weltschmerz88
      @weltschmerz88 Год назад

      Which ones did you buy?

    • @LeeDavisonYo
      @LeeDavisonYo Год назад

      @@weltschmerz88 the ones linked by the amazon link. Replaced them with preflashed localbytes plugs.

  • @schrodingerscat1863
    @schrodingerscat1863 9 месяцев назад +1

    You need to take this video down, the linked smart sockets are no longer flashable and this video is now a complete waste of everyone's time.

  • @stmohir
    @stmohir 7 месяцев назад

    Hello, Trying to follow your instructions, when running 'sudo ./start_flash.sh' I get an error 'screen: command not found
    Please advise

    • @MorganTimney
      @MorganTimney 7 месяцев назад +1

      In order for the command to work, you need to be in the directory where that file exists - check that the previous steps suceeded, in particular, after cloving the git repository, you need to 'cd tuya-convert'. If that suceeds, if you 'ls' then you should see that script and if that is the case 'sudo ./start_flash.sh'should then suceed.