logo elektroda
logo elektroda
X
logo elektroda

How to Utilize ESP8285 MCU in Connecto Smart Plug 1P IP44 with TYWE2S Module

Tilator 951 11
ADVERTISEMENT
  • #1 20933824
    Tilator
    Level 10  

    I'll put some pictures here later, but Connecto Smart plug 1P (outdoor model) seems to have TYWE2S in it. It has ESP8285 MCU on it.
  • ADVERTISEMENT
  • #2 20934190
    p.kaczmarek2
    Moderator Smart Home
    Remember to make a 2MB backup, I know it's an ESP device, but still, backup can always be useful. Is tuya-convert still working for that thing?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20934557
    Tilator
    Level 10  

    p.kaczmarek2 wrote:
    Is tuya-convert still working for that thing?


    I'm not familiar enough with this. I have only used tuya-cloudcutter to flash Beken-based devices. Should this work for Espressifs too?

    Or is there something else to use for OTA flashing this device?
  • #4 20934604
    p.kaczmarek2
    Moderator Smart Home
    ESP devices could be flashed by tuya-convert, but most of the devices are patched nowadays. If tuya-convert is not working, you will have to use esptool.py or maybe just online webpage with Tasmota installer:
    https://www.elektroda.com/rtvforum/topic3990951.html
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 20936044
    Tilator
    Level 10  

    I did try a couple of OTA tools without luck. Sounds like a wired connection is needed.

    Unfortunately, I have not found any good tool to backup the original firmware. My serial adapter is a bit old. It has a Prolific chip and it works properly only with really old Windows versions.

    OTA flashing I did try by Linux/Docker. There seems to be some library problems with some of these flashing tools there too. I suppose Ubuntu 23 is too new for them.

    I have an old Cubietruck somewhere, but I think it's not even worth trying.
  • #6 20936152
    p.kaczmarek2
    Moderator Smart Home
    How does this plug look like? Can you open the case?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #7 20936554
    Tilator
    Level 10  

    Here are some pictures for you.

    I had to desolder the wifi module to have it flashed. Even then, grounding GPIO0 from the soldering pad did not work. I had to use a wire soldered on the "testpad".

    Flashing sonoff basic binary did put the relay alive from the web page without any settings modification. I'll try to find the LEDs as soon as I have more time for it. It has a green/red double-color LED on it. This pain in the ass took all day to flash. I don't have more time for it now.
  • #8 20936610
    Tilator
    Level 10  
    Oh no. It did not boot up again. I suppose it just lost settings.


    Added after 4 [hours] 2 [minutes]:

    Everything else works now but the button does not.

    It's not connected directly to any pad on the wifi board. I don't know how should it be configured.
  • #9 20937205
    p.kaczmarek2
    Moderator Smart Home
    Tasmota will return to AP on a long button press and if you configure a button incorrectly, it may think that button is pressed and return to AP anyway.

    I would say it's almost impossible for button to be left unconnected. Please double check where the PCB copper trace go. It has to go somewhere.... maybe there is a via?
    Helpful post? Buy me a coffee.
  • #10 20938223
    Tilator
    Level 10  

    Is there any possibility to detect by console what happens when the button is pressed?
  • #11 20938229
    p.kaczmarek2
    Moderator Smart Home
    What do you mean, what are you trying to achieve? Do you mean Tasmota console on the Tasmota WWW page?
    Helpful post? Buy me a coffee.
  • #12 20938233
    Tilator
    Level 10  

    p.kaczmarek2 wrote:
    What do you mean, what are you trying to achieve? Do you mean Tasmota console on the Tasmota WWW page?


    Tasmota console or whatever other means. I mean, is it possible to somehow detect if something happens when the button is pressed.

Topic summary

The discussion revolves around utilizing the ESP8285 MCU found in the Connecto Smart Plug 1P (outdoor model) with the TYWE2S module. Users share experiences regarding flashing the device, mentioning the need for a 2MB backup and the potential use of tuya-convert for OTA flashing. However, many devices are now patched, necessitating alternative methods like esptool.py or Tasmota installers. One user faced challenges with OTA tools and had to desolder the Wi-Fi module for flashing, ultimately getting the relay to work but encountering issues with the button functionality. Suggestions include checking PCB traces for button connections and using the Tasmota console to diagnose button press events.
Summary generated by the language model.
ADVERTISEMENT