Athom 1 Gang Switch
Model reference: SW031US
Athom 1 Gang

Available from:


Flashed with:
Tasmota pre-flashed

GPIO #Component
GPIO00 LedLinki
GPIO01 None
GPIO02 None
GPIO03 Button1
GPIO04 None
GPIO05 None
GPIO09 None
GPIO10 None
GPIO12 None
GPIO13 Relay1
GPIO14 Led1
GPIO15 None
GPIO16 None


{"NAME":"Athom SW031US","GPIO":[158,0,0,17,0,0,0,0,0,21,52,0,0],"FLAG":0,"BASE":1}

This device comes with Tasmota pre-flashed straight from the factory!

Athom devices come with modified Tasmota which is not entirely compatible with regular releases. To have full compatibility upgrade to main release version.

Before upgrading set your device to module Generic (19) (yes, it is 19 in Athom's build) to avoid clicking relays, flashing lights or button resets after upgrade. Perform upgrade to release version using file upload method with tasmota.bin.gz or tasmota-lite.bin.gz or with OTAUrl. DO NOT use tasmota-minimal.bin!.

None of the settings will be retained after the upgrade. You will have to search for Tasmota AP and redo the Wi-Fi and MQTT configuration. Once you've upgraded do Reset 6 to erase flash and apply the template!

If you use OTAUrl upgrade with precompiled binaries there is a chance of soft bricking your device. In most cases it is possible to restore it using Power Cycle Recovery or, if that fails, with serial flash.