Athom 2 Gang Switch
Model reference: SW012EU
Athom 2 Gang

Available from:


Flashed with:
Tasmota pre-flashed

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


{"NAME":"Athom SW012EU","GPIO":[158,53,0,17,22,18,0,0,0,21,52,0,0],"FLAG":0,"BASE":1}

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

Use code BLAKADDER when buying from Aliexpress links for 30% discount. Code is valid until October 27th and the number of codes is limited to 100 so its first come first serve.

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.