Hardware Gosund SP111 - xoseperez/espurna GitHub Wiki

Gosund SP111 - Europe only (16A Power socket)

Gosund SP111

Property Value
Manufacturer Gosund
Product page https://www.gosund.store/products/wi-fi-smart-plug-sp111-only-for-europe
Build flag GOSUND_SP111 - working progress

Introduction

The Gosund has an ESP8285 on board. This implies 1 MB flash, and requires DOUT mode (this is already the default). It includes a relay (GPIO14, active high), a button (GPIO4, active low, no pullup), and two LEDs: red (GPIO12, active low) and blue (GPIO13, active low).

The case is sealed. The initial flash of the device can be performed using Tuya-Convert method, thereby avoiding needing to open the case.

Internally, the module also supports GPIO5, TX, RX, AD, RST, and also GPIO0 and GPIO2 via test points on the rear. These are all 'no connect' to the wall plug electronics, and are otherwise inaccessible without opening the module.

GPIO Usage
13 Button (inverted logic)
1 LED, Red (inverted logic)
0 LED, Blue (inverted logic)
15 Relay (positive logic)

Flashing

Once open (just one screw on the bottom part, on the earth connector), just flash it using an USB to UART adapter:

OTA TUYA

This device can be flashed using the Tuya Convert as explained here.

OTA Tasmota

Updates from Tasmota firmware can be performed as well, however you must enable a special option in the Tasmota 'console' to have the Tasmota firmware accept the Espurna software. From the Tasmota web UI, select 'console', and enter the command: SetOption78 1 This will prevent some sanity checks that Tasmota performs on uploaded firmware images and will cause the Espurna image to be accepted.