Logo

Sonoff S26 Plug

Sonoff S26

Available from:
Banggood.com
Amazon.com


Manufacturer:
Itead.cc


GPIO #Component
GPIO00 Button1
GPIO01 User
GPIO02 User
GPIO03 User
GPIO04 None
GPIO05 None
GPIO09 None
GPIO10 None
GPIO12 Relay1
GPIO13 Led1i
GPIO14 None
GPIO15 None
GPIO16 None
FLAG None

Template

{"NAME":"Sonoff S26","GPIO":[17,255,255,255,0,0,0,0,21,56,0,0,0],"FLAG":0,"BASE":8}

Alternative template where the blue LED lights up only in case of connection issues and on button actions:

{"NAME":"Sonoff S26","GPIO":[17,255,255,255,0,0,0,0,21,158,0,0,0],"FLAG":0,"BASE":8}

Sonoff S26 comes in almost every plug type variant. Flashing process will be the same for each type.

Serial Flashing

Please see the Hardware Preparation page for general instructions.

Soldering guide

Apply rosin to shaved wires. Solder tin to the flats on the module.(First put solder tip to flat and apply tin). Gently solder the wires.

Alternative solder points available for 3V3, GND and RX on the underside of the mainboard.
J1 - 3V3
J2 - GND
J3 - GPIO-12 j4 - GPIO-0 J5 - GPIO-13 J10 - RX

Bringing the Module into Flash Mode

  1. Disconnect serial programmer and power
  2. Press and hold the on-board button - Note: The Button on the main board is not very sensitive and must be pressed firmly.
  3. Connect the serial programmer (VCC, RX, TX, GND)
  4. Release the on-board button

The blue LED should NOT be blinking when in Flash mode.

LED State

The S26 has a red LED connected to GPIO12 along with the relay so it’s not possible to disable the power button LED entirely. Setting LedState 0 disables the blue LED when the relay is turned on and reserves it for Wi-Fi/MQTT state only.

More information

See issue #2808 for user information

Official Sources

  • Itead Product Page: http://sonoff.itead.cc/en/products/residential/sonoff-s26-smart-plug
  • Itead Shop: https://www.itead.cc/sonoff-s26-wifi-smart-plug.html