logo elektroda
logo elektroda
X
logo elektroda

External ATLO-S1IP5-TUYA socket on ESP8266 - interior, firmware change

p.kaczmarek2 10395 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Outdoor French electrical socket with a protective cover being opened by hand. .
    Here I will introduce the ATLO-S1IP5-TUYA external 'French' socket, offering control via WiFi and (emergency) via a button on the case. What sets it apart is that, in the series I tested, it is still based on the ESP8266, so Tasmota can be uploaded. The whole thing is purchasable at about the same price as the internal sockets, which is around £60.
    White box labeled SMART WIFI WATERPROOF SOCKET showing a WiFi-controlled outdoor electrical socket. Box of ATLO-S1IP5-TUYA outdoor Wi-Fi socket with product label and CE marking. .
    I got such a "manual" in the kit, oddly they don't say anything about pairing? Fortunately I'm changing the firmware anyway.... But you can probably pair by pressing a button.
    Instruction manual for the ATLO-S1IP5-TUYA device on paper, featuring a black-and-white illustration of the outlet. A sheet with technical specifications for the ATLO-S1IP5-TUYA socket, showing a table of parameters and CE/RoHS marks. .
    Contents of the kit, as you can see we also get the mounting screws:
    ATLO-S1IP5-TUYA outdoor electrical socket with mounting screws in a plastic bag.
    Markings:
    Close-up of the back side of the ATLO-S1IP5-TUYA waterproof socket housing with technical data and markings. .
    However, I'm interested in the inside of the product, so it's time to unscrew the front panel:
    Close-up of a hand opening the lid of an outdoor French-type electrical socket. .
    Indeed, the manufacturer has made a basic effort to make this socket a little more resistant to moisture. Both plastic parts are protected by a rubber seal:
    Opened enclosure of an outdoor WiFi socket ATLO-S1IP5-TUYA with visible internal electronics. .
    The button from vaping and emergency switching is also protected.
    Interior of the ATLO-S1IP5-TUYA socket showing rubber gaskets and internal mounting elements. .
    The PCB itself, on the other hand, is ... glued onto something that looks like hot glue.
    Inside of a disassembled electrical socket with visible PCB and wiring. .
    On the board is an ESP8266, or more accurately an ESP8285 - that is, an ESP with 2MB flash memory built in. No external bone is needed. Nor is it here in the form of a module such as the TYWE3S, for example, but the whole thing is on one board.
    Close-up of a PCB from an ATLO-S1IP5-TUYA outdoor socket, showing the ESP8285 chip and XHONG relay. .
    On the same board we also have the power supply section, which is a small flyback power supply. However, there is no non-isolated step-down converter here as in other similar products.
    The inside of a circuit board with electronic components and connection terminals of the ATLO-S1IP5-TUYA socket. .
    I am all too surprised that the circuit appears to be quite complete. There is a varistor, a filter on the input, a fuse, a Y-capacitor. This is often omitted in cheap products.
    Close-up of the ATLO-S1IP5-TUYA outlet PCB, showing capacitors, relay, ESP8285 chip, and board markings. Close-up of the ATLO-S1IP5-TUYA socket power supply PCB, showing capacitors, SMD components, and a transformer. Close-up of electronic components on a PCB from a WiFi socket, including capacitors, a resistor, and a transformer. .
    PCB designation: 20190717 Probably the date of the project...
    I see there a PN8366, inverter controller with integrated MOSFET transistor.
    Block diagram of a flyback power supply using the PN8366 IC for low-voltage DC output from AC input. .
    There is also an AMS1117-3.3V on the output, it provides 3.3V for the ESP.
    The product, as usual, only cuts off one wire (the phase, if you connect it correctly):
    Close-up of the ATLO-S1IP5-TUYA socket’s PCB showing L_IN and N_IN labels, two screws, and visible electronic components. .
    On the bottom of the PCB there are only pads for programming:
    Close-up of a PCB with pin labels: GPIO0, GND, RST, RX, TX, 5V, GND1, R_SW. .
    I will now proceed to change the firmware . I perform the process according to my old topic:
    SmartLife switch - test, interior and programming light switch on WiFi .
    I always apply flux and whiten the pads first, then connect my USB to UART converter with an additional 3.3V LDO:
    Bottom side of ATLO-S1IP5-TUYA WiFi socket PCB showing programming pads labeled GND, 5V, RST, RX, TX, and GPIO0. A PCB with attached wires, visible traces, and soldered connections on a green circuit board. Breadboard with connected jumper wires and LED, next to an opened electrical socket with exposed PCB and wiring. .
    Tip: GPIO0 here is on the button, so basically you don't need to solder this signal, just RX/TX/mass/power. You can hold the button while the power is connected to start flashing mode.
    Command to upload Tasmota:
    
    esptool.py write_flash 0 tasmota.bin
    
    .
    Black Windows console screen showing messages about flashing Tasmota firmware to an ESP8285 via esptool.py, with visible writing progress. .
    After disconnecting GPIO0 from ground and rebooting the Tasmota starts:
    Main Tasmota user interface screen with function buttons for device control.
    Configuration:
    Screenshot of Tasmota interface showing module settings and GPIO pin mapping. .
    Short test (web-based testing):




    In summary , on the inside it's not as bad as I feared. This is probably one of the better of the Chinese products from this angle. Of course it only cuts off the phase consistently (if you connect it right), but that's already the norm in these products. I don't think I've seen anything in the European market in this range that cuts off both wires.
    Changing the firmware was hassle-free, and even if there was a Beken inside instead of ESP, you can always use OpenBeken .
    I haven't focused on other aspects as much, but undoubtedly for Home Assistant this slot will come in handy. I recall the related topics:
    ESP8266 and Tasmota - WiFi relay control step by step .
    Home Assistant tutorial - configuration, WiFi, MQTT, Zigbee, Tasmota .
    Do you use these types of external sockets, what experiences have you had with them? Feel free to discuss.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 12305 posts with rating 10195, helped 582 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 21535236
    katakrowa
    Level 23  
    A little less on topic but I have a question if there are these types of "sockets" or box inserts that communicate with the PBX not over WiFi but over a signal transmitted over network cables?
    Analogous to how Ethernet works over the network ( TP-Link TL-PA4010 KIT ).
    Of course, for the purposes of controlling lights and sockets you do not need such speeds, but is there any standard for such devices?
📢 Listen (AI):
ADVERTISEMENT