Hardware Gosund WP3 - xoseperez/espurna GitHub Wiki

Gosund WP3

Mini Smart WiFi Plug

Property Value
Manufacturer Gosund
Product page https://www.gosund.store/products/mini-smart-wifi-plug
Build flag GOSUND_WP3

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
4 Button (inverted logic)
12 LED, Red (inverted logic)
13 LED, Blue (inverted logic)
14 Relay (positive logic)

Flashing

The Tuya Convert method has been used successfully to perform an initial flash of Espurna. Subsequent flashes may be performed via Espurna's own OTA update mechanism.

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.