Devices / switch

Gosund SW5

Also known as Gosund SW5 A V2.1 Smart Switch BK7231N, Gosund SW5 A V2.1 Smart Switch BK7231T, Gosund Single Pole

Open firmwareImported

A free replacement firmware exists.

Get started

2 known ways to put open firmware or software on this device, easiest first. Each one links to the project's own instructions.

Before you start
  • Back up your data and settings (and the stock firmware, when the guide says how).
  • Check the exact model, hardware revision and firmware version against the guide: a close model may not work.
  • Charge the battery or use a stable power supply; do not unplug during the install.

Flash over the air with tuya-cloudcutter

Medium

Needs a cable or the command line · tuya-cloudcutter

You need
Linux computer (not a VM) with Docker, Spare Wi-Fi adapter that supports AP mode
Device opened
No
Firmware
Works only with the Tuya firmware cloudcutter lists for this device: 1.0.1 (SDK 2.3.1-40.00), 1.0.2 (SDK 1.0.2-40.00). Check the "Main Module" version in the Tuya or Smart Life app and do not update the device first. Firmware built on Tuya's patched SDK (from February 2022) cannot be flashed over the air: serial flashing is the alternative.

Command line. The device can no longer use the Tuya apps or cloud afterwards.

No install report yet. · Report how it went

Flash ESPHome over serial (device must be opened)

Hard

Opening, soldering or a programmer · ESPHome

Mains voltage. This device runs on mains power and must be opened: never open it while it is plugged in. For experienced users only.

You need
USB-serial adapter, 3.3 V
Device opened
Yes
Brick risk
Low
Reversible
Partly

Mains-powered: unplug before opening; for experienced users only.

No install report yet. · Report how it went

OpenDeviceDB links to each project's own instructions and tools; nothing is flashed from this site. Flashing is at your own risk and may void the warranty.

ID
gosund/sw5
Category
switch
Vendor support
Unknown
chips
BK7231N, BK7231T, ESP8266
Updated
2026-10-17
Curate this record on GitHubJSONClaim this device

Being worked on

No live claim. If you start working on this device, claim it so nobody duplicates your work.

Interfaces

No interface documented yet.

Projects

ProjectKindOriginLicense
tuya-cloudcuttertoolcommunityMIT
tuya-cloudcuttertoolcommunityMIT
ESPHomefirmwarecommunitynot stated
TasmotafirmwarecommunityGPL-3.0

Verification

Not verified. A "verified on hardware" badge requires a replayable test (hardware-replay) run on a real device with a stated firmware version.

Provenance

AI assistance not stated.

Status and claims as of the build date (2026-10-18). Data licensed CC BY-SA 4.0; imported data keeps its upstream license.