logo elektroda
logo elektroda
X
logo elektroda

External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04

p.kaczmarek2 729 2

TL;DR

  • Sanico TM-WP-04 / SE2111TM-1 external IP55 surface-mounted Wi‑Fi socket is opened to check whether it still uses an ESP8266 and can run local firmware.
  • Inside is a single PCB with an XT76-SS-105DM relay, PN8395 power supply, UART pads, GPIO0 boot pin, and GPIO12 relay control for flashing Tasmota.
  • The socket is rated 16 A, the importer sells it for about 100 zloty, and the factory AP defaults to SmartLife.
  • After flashing, Tasmota works, and Supla or OBK should also be possible, but the PCB antenna may limit Wi‑Fi coverage.
Generated by the language model.
ADVERTISEMENT
This content has been translated flag-pl » flag-en View the original version here
📢 Listen (AI):
  • External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04
    Every now and then I look for IoT products still based on the ESP8266. This gives us a wider choice of firmware that can be loaded inside - even Tasmota and Supla will work on the old ESP, whereas the newer Tuya products from Beken won't work anymore. For this reason, here I will show another small find which is still based on the ESP8266 - an external surface-mounted socket, advertised by the importer as "hermetically sealed".
    External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04 External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04
    The product can be found under the keyword hermetic surface-mounted socket 316011 Tuya Smart Wifi IP55 white Goldlux. It is sold by several shops, although it is known to be fully Chinese made and compatible with their Tuya cloud. We pay around 100 zloty for the whole thing, although the equivalent model could be imported directly cheaper. The importer wants to make his money too.
    External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04 External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04 External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04 External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04
    It must be said, however, that the importer has made an effort. The manual is in Polish! Probably anyway, the whole thing is printed and packaged in China. Inside it is explained a little about the Tuya application, but I have a different plan.

    Here, the aim of the presentation will be to change the firmware so that the device works locally and works with Home Assistant. We are going to upload Tasmota, because there is an ESP8266 inside. There was already a detailed topic about Tasmota:
    ESP8266 and Tasmota - WiFi relay control step by step
    The product model is SE2111TM-1 or TM-WP-04.
    External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04
    So we take a look inside. It's interesting to note that the earth directly mounts to the pull-out front. The socket also has a protected small button to control it without an app. There is a single electronics board inside. PCB designation: 16-WPXV1.1
    External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04
    The relay used is an XT76-SS-105DM, up to 16 A, worse that the whole thing as usual only cuts off one wire - if you connect it right, the phase. The rest is also standard, power supply, LDO 3.3 V and ESP.
    External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04
    In the power supply section, as far as I can see, there is a PN8395.
    External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04
    On the bottom we have the signed UART programming pads, including GPIO0, the distinctive pin needed to put the ESP into bootloader mode. I download the pins before programming, then solder the wires:
    External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04
    External IP55 surface-mounted socket controlled by Wi-Fi - Sanico TM-WP-04 Green PCB with soldered wires connected to a breadboard on a workbench
    After uploading Tasmota you need to configure the button - it depends on the board, here it is on GPIO0 and the relay is GPIO12.

    ADVERTISEMENT


    By the way I made a copy of the factory batch:
    https://github.com/openshwprojects/FlashDumps/commit/edae232bb02ce62f83f0d84db400309e003a3ab0
    Inside you can find:
    Device IDs (MAC, auth, pskKey):
    
    {"mac_addr":"70039f1609b8","prod_idx":"03277140","auz_key":"h8euyoWvlawADornSKxgeNu3kqRFnkOk","pskKey":"ku8L16ISE6iS4aHMI1yxgVAkJsQlojNjMfyob","fac_pin":"ihbwptya918dq9xr","prod_test":false}
    

    Default configuration of the WiFi access point (AP)
    
    {"ap_ssid":"SmartLife","ap_pwd":null}
    

    Link destination server in the Tuya cloud (USA and Europe)
    
    https://a3.tuyaus.com/gw.json
    https://a3.tuyaeu.com/gw.json
    

    Extract of Tuya's hidden TLS/SSL certificates for server verification
    
    BAohbmd6aG91IFR1eVjaG5vbG9SBUwEwYDVLnRjbi5jb20xFTATBMMDCoudHVXVMGA1UEAYWlvbTEVMBMGA1UEA50dXlhYXM29QDDAwqLZi5xFTATBgNVBAMMDV5YXNhLmNTEwLKi53Zb20RBgNVBAMMCioud5jb20xFjAgNV5YS1pbMIILMAkGA1UEBhMCQAPBgNVBAgFpEwDwYDVQU5PVTEpMCcGA1UECFuZ3pob3UHV9sb2d5IVEQTBgNVBAMMDCoudNuLmNvbTEBM50dXlhdMRUDVQQDDAwqLnR1e5jb20xFTAgNV5YWpwLdKrrVrtLIAmOFcclWjM+5j0SmSB5FpnQg9h
    

    Internal command to invoke authentication:
    
    tuya.device.uuid.pskkey.get
    

    Debug log with Tuya SDK version
    
    [N]%s:%d tuya sdk version:%s
    2nd boot version : 1.7(5d6f877)
    ESP8266SDK
    Jul 24 2020
    Nov 11 2019
    

    Our flasher can also export Tuya's JSON from within:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    Code: JSON
    Log in, to see the code

    Unfortunately without pins, but these can be learned manually, as I wrote about earlier.

    Now you can upload normally Tasmota or and OBK (port on ESP8266):
    https://github.com/openshwprojects/OpenBK7231T_App
    ESP8266 and Tasmota - WiFi relay control step by step
    Tasmota “Module parameters” screen mapping GPIO: Button on GPIO0, Relay on GPIO12, LED on GPIO13
    Web UI for “ESP8266_test” showing large “ON” status and a green “Toggle 0” button

    In summary , there was a little surprise here - this product series is still on the ESP8266, it probably hasn't sold out yet, as the soft dates show that it's not a brand new production. You can even upload a Supla here. The construction of the device is quite solid, I was surprised by the presence of a varistor and filters on the input. The only pity is that the ESP antenna is on the PCB. Surely there could be problems with coverage.
    What applications do you see for this type of external socket with Wi-Fi control?

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 14604 posts with rating 12620, helped 654 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 21910892
    MiG25
    Level 23  
    Posts: 538
    Help: 35
    Rate: 97
    In general, the problem with such sockets is whether they can handle 16A continuously (i.e. for 6 hours) and what temperature they reach (without the risk of melting the plastic).
  • #3 21912382
    MarekS6
    Level 17  
    Posts: 294
    Rate: 62
    From the outside it looks like the Sonoff S55, but you can already see by the PCB that it is inferior. The Sonoff S55 has ready-made pads with holes for soldering the goldpin strip for programming.

    GPIO0 is on the button so you don't need to solder anything, just hold the button down for programming.
📢 Listen (AI):

FAQ

TL;DR: For DIY smart-home users, this FAQ shows how to reflash an IP55 outdoor socket that switches up to 16 A and still uses an ESP8266. "Works locally" is the core win: the Sanico TM-WP-04 / SE2111TM-1 can take Tasmota, use UART pads marked on the PCB, and then integrate with Home Assistant without Tuya cloud dependence. [#21910203]

Why it matters: This device is unusual because it combines an outdoor IP55 enclosure with an older ESP8266 platform that remains easy to reflash and automate locally.

Option MCU / platform in thread Local firmware path Home Assistant angle Main limitation noted
Stock Tuya firmware ESP8266 Keep factory firmware Tuya cloud workflow Cloud dependence
Tasmota ESP8266 Flash over UART pads Direct local control Needs GPIO setup
OpenBK7231T_App port ESP8266 port mentioned Flash after access to pads Local control possible Pins must be learned manually

Key insight: The most important takeaway is not the enclosure but the chip choice: this outdoor socket still uses ESP8266, so it stays mod-friendly. The board also exposes signed UART pads, which makes reflashing practical instead of guesswork. [#21910203]

Quick Facts

  • Approx. street price is 100 zł in local retail, while a similar Chinese model can be imported more cheaply; the premium mainly buys local distribution and Polish-language paperwork. [#21910203]
  • The internal relay is XT76-SS-105DM, rated up to 16 A, and the board includes a 3.3 V LDO plus an ESP8266, which matters for both load handling and firmware choice. [#21910203]
  • The PCB is marked 16-WPXV1.1 and exposes signed UART programming pads, including GPIO0, which reduces reverse-engineering time during flashing. [#21910203]
  • The factory software traces show ESP8266SDK, bootloader 1.7 (5d6f877), and build dates Jul 24 2020 and Nov 11 2019, indicating an older platform rather than a new Tuya hardware generation. [#21910203]
  • The enclosure is sold as an IP55 surface-mounted outdoor socket, and the author also noted a varistor and input filters, a stronger protection feature set than many low-cost smart plugs. [#21910203]

How do you flash Tasmota onto the Sanico TM-WP-04 / SE2111TM-1 outdoor Wi-Fi socket with an ESP8266?

You flash it through the board’s UART pads after opening the socket and wiring the ESP8266 for bootloader mode. 1. Open the housing and reach the signed pads on PCB 16-WPXV1.1. 2. Solder wires to UART, including GPIO0, and pull GPIO0 low before power-up. 3. Upload Tasmota, then set the button to GPIO0 and the relay to GPIO12. The thread states that Tasmota, Supla, and an OBK ESP8266 port are all possible because this unit still uses ESP8266. [#21910203]

Which GPIO pins should be configured in Tasmota for the button and relay on the 16-WPXV1.1 board inside the TM-WP-04?

Set the button to GPIO0 and the relay to GPIO12. The thread says this mapping applies to the examined 16-WPXV1.1 board after flashing Tasmota. That GPIO assignment is the critical post-flash step, because the firmware upload alone does not make the front button or mains switching work correctly. [#21910203]

What is GPIO0 on the ESP8266, and why is it needed to put the Sanico TM-WP-04 into bootloader mode?

"GPIO0 is an ESP8266 input pin that selects startup mode, and when held low during power-up, it forces the chip into serial bootloader mode for flashing." This matters here because the UART pads on the TM-WP-04 expose GPIO0 directly, so you do not need to scrape traces or guess a test point before loading Tasmota. [#21910203]

What is a varistor, and why is its presence in an IP55 outdoor smart socket important?

"A varistor is a surge-protection component that clamps overvoltage spikes, sacrificing normal linear behavior to absorb short transients on the mains input." Its presence matters because this is an IP55 outdoor socket connected to mains, and the author specifically noted the varistor plus input filters as a pleasant surprise compared with many cheaper smart devices. [#21910203]

Why is the ESP8266 still attractive in Tuya smart sockets compared with newer Beken-based devices?

The ESP8266 stays attractive because it gives broader firmware choice and easier local control. The author states that Tasmota and Supla still work on older ESP-based products, while newer Tuya devices based on Beken no longer offer that same straightforward path. In practice, that makes an older ESP8266 socket more valuable to users who want Home Assistant and no cloud lock-in. [#21910203]

Tasmota vs OpenBK7231T_App on ESP8266 - which firmware is better for local control and Home Assistant integration?

Tasmota is the clearer choice in this thread for local control and Home Assistant. The author explicitly says the goal is local operation with Home Assistant and then demonstrates Tasmota on this ESP8266 device, including the needed GPIO mapping. The thread also notes that an OpenBK7231T_App ESP8266 port can be uploaded, but it gives no equivalent integration detail beyond that possibility. [#21910203]

What steps are needed to access the UART programming pads on the Sanico TM-WP-04 and safely solder wires for flashing?

Open the socket, expose the single electronics board, and solder temporary leads to the labeled UART pads. The thread shows that the pads are on the board underside and are already signed, including GPIO0. A practical 3-step workflow is: 1. Disassemble the housing and remove the board. 2. Identify the UART and GPIO0 pads. 3. Solder wires only for flashing, then remove or tidy them afterward. The main failure point is poor soldering on small pads, which can stop bootloader access. [#21910203]

Why does the relay in this socket switch only one conductor, and what safety implications does that have for mains wiring?

This socket uses a single-pole relay, so it disconnects only one conductor. The thread warns that it should be wired so that the switched conductor is the phase, not the neutral. The relay is an XT76-SS-105DM rated up to 16 A, but that current rating does not change the safety implication: one conductor can remain live if wiring polarity is wrong. [#21910203]

How well does an IP55 surface-mounted Wi-Fi socket like the Goldlux 316011 hold up outdoors, and what does "IP55" actually mean?

The thread presents it as an outdoor, surface-mounted socket sold as IP55 and described by the importer as "hermetically sealed." Real durability looks better than average because the author praises the solid construction and specifically noticed a varistor and input filters. The thread does not provide long-term weather test data, so the strongest supported conclusion is that the build appears robust for outdoor use, not that it is weatherproof in every installation. [#21910203]

What applications do you see for this type of external socket with Wi-Fi control?

It suits outdoor loads that benefit from scheduled or remote mains switching. Because it is a surface-mounted IP55 socket with local-control firmware options, it fits garden equipment, seasonal lighting, patio devices, and other plug-in appliances where cloud-free automation matters. Its strongest use case is simple on/off control through Tasmota or another local firmware rather than complex metering or multi-channel switching, which the thread does not mention. [#21910203]

How do you integrate a reflashed Tuya ESP8266 socket with Home Assistant after installing Tasmota?

You integrate it by flashing Tasmota, assigning the correct GPIOs, and then using it as a local Wi-Fi device. The thread’s stated goal is to make the socket work locally and with Home Assistant, and it gives the needed map: button on GPIO0, relay on GPIO12. Once that mapping is set, the device behaves as a standard locally controlled Tasmota switch rather than a Tuya-cloud endpoint. [#21910203]

What can be recovered from a factory flash dump of a Tuya ESP8266 device, such as device IDs, cloud endpoints, and SDK information?

A factory dump can reveal device identity, cloud addresses, software versions, and debug strings. The shared dump includes a MAC address, product index, auth key, pskKey, default AP name SmartLife, Tuya endpoints for USA and Europe, hidden TLS/SSL certificate material, the internal command tuya.device.uuid.pskkey.get, and version fields such as sw_ver 1.5.0, bs_ver 6.02, and pt_ver 2.2. [#21910203]

Why might the PCB antenna inside the TM-WP-04 cause Wi-Fi coverage problems, and how can reception be improved in an outdoor installation?

The PCB antenna may weaken coverage because it stays inside the socket enclosure rather than on an external antenna lead. The author explicitly says the antenna being on the PCB is a pity and that coverage problems can occur. The thread does not describe a hardware antenna mod, so the supported improvement is installation-based: place the socket where the Wi‑Fi signal is already strong enough to tolerate enclosure losses. [#21910203]

What is PN8395 in the power supply section of this smart socket, and what role does it play in the device?

PN8395 is the chip the author identified in the power-supply section, and it serves the mains-to-low-voltage supply path for the electronics. In the same area, the board also has an LDO 3.3 V stage for the ESP8266 logic side. The thread does not provide a full datasheet-level explanation, but it clearly places PN8395 in the supply section rather than in the relay or RF path. [#21910203]

How does the cost and modding potential of the Sanico TM-WP-04 compare with cheaper imported Tuya outdoor sockets?

It costs more locally but offers the same core Chinese hardware with strong modding value. The thread puts the retail price at about 100 zł and says an equivalent imported model could be bought more cheaply, while the importer mainly adds local resale margin and a Polish manual. The key advantage is that this series still uses ESP8266, so Tasmota, Supla, and local UART reflashing remain available. [#21910203]
Generated by the language model.
ADVERTISEMENT