Logo
Obi Stecker 2 Plug
EU
Obi Stecker 2

Available from:
Obi.de








GPIO #Component
GPIO00 None
GPIO01 None
GPIO02 None
GPIO03 None
GPIO04 Relay1
GPIO05 Button1
GPIO09 None
GPIO10 None
GPIO12 Led1i
GPIO13 Led2
GPIO14 None
GPIO15 None
GPIO16 None
FLAG None
Configuration (old format, will be converted to new template when applied)
{"NAME":"OBI Socket 2","GPIO":[0,0,0,0,21,17,0,0,56,53,0,0,0],"FLAG":0,"BASE":61}

Supported since version 6.4.1.8 as OBI Socket 2 (61)

Another cheap socket from the German Hardware Store, based on ESP-WROOM-02 with 2MB Flash. Smaller form factor as the first OBI Socket.

Serial Flashing

One way to flash the module is soldering 4 wires to the RX/TX/3V3/GND pins from the ESP. The PCB has no serial pinout connector. For flashing the module enable the flash mode of the ESP, connect GPIO 0 to GND.

Another way to flash is soldering 4 wires to the bottom side of the PCB as described on https://github.com/mattzzw/obi_socket/wiki/OBI-socket. If you follow that approach of powering the socket with 5V (which enables the relay coil allowing for acoustic feedback) you need to make sure to nevertheless use 3V3 for the actual serial interface to the module!!! This happens to work out very nicely with the popular cheap CH340 USB to Serial TTL adapters which come with a jumper to select between 5V and 3.3V. Setting the adapter to 3.3V by putting the jumper on the 3V3 and VCC pins leaves the 5V pin free. That pin is directly connected to the USB port. So you can just connect the four wires from the socket to the four free pins of the CH340 adapter :-)


!!! DO NOT try to flash the module when it is connected to mains power. You WILL brick or destroy the device and your computer or USB Port. Use only a 3.3V USB adapter for flashing!!!


If you want the green wifi led to work, please use version 6.4.1.8+. You can either use “Obi Socket 2 Type (61)” (with default behaviour “wifi led = off” when connected) or use “Generic (18)” for manually override. See https://github.com/arendst/Tasmota/issues/4567 for details.

PCB serial pinouts

PCB

PCB serial pinouts (back)

image37071 ( Note: Same PCB as OBI Socket IP44 (Black) )

Note: some users reported lately that recent OBI Socket 2s work unreliably. The unit randomly reboots after switching - this is likely a hardware issue. There are various experiments to improve this, but if you don’t get any succes with it, you can successfully replace the whole board in the casing with a Sonoff Mini. See https://github.com/arendst/Tasmota/issues/4829#issuecomment-563106700