Flash it, don’t smash it.
Turn your stock Sonoff S60 smart plug into one running Tasmota or ESPHome using OTA method - no soldering, no taking the plug apart. Move the plug between the two, or back to Sonoff’s own firmware.
Conversion with this tool is fully automated end to end, with checks at every stage. It is resumable and can be restarted at any point.
Until now, the established way to put Tasmota on an S60 was to open it, perform some soldering and flash it over USB-serial - hard work, because the case is plastic-welded shut.
The community threads for the soldering method:
- UK version: arendst/Tasmota#22554
- EU version: arendst/Tasmota#21255
Converted plugs end up identical to a plug flashed over USB
The final automated checks verify this by reading their flash back at the end of the conversion. Every block of it is read back before the plug switches to it.
The plug
A Wi-Fi Sonoff S60, e.g:
UK: S60TPG | European: S60TPF
(Not the Zigbee S60)
An eWeLink account
Free. A throwaway one is fine. The plug has to be added to it first.
A computer
Linux, macOS or Windows, with Wi-Fi.
Administrator rights
Required to auto-add one temporary firewall rule (allowing the plug to communicate with the computer, removed when the run finishes).
Model
Stock firmware
Computer
You’re walked through every step of the conversion.
Linux / MacOS (Terminal)
git clone https://github.com/adamsthws/Sonoff-OTA.git
cd Sonoff-OTA
sh start.sh
Windows (Terminal)
git clone https://github.com/adamsthws/Sonoff-OTA.git
cd Sonoff-OTA
.\start.ps1
– or –
download as a zip, double-click start.cmd
Tasmota:
ESPHome:
E.g. you close the window, lose your Wi-Fi, run out of time - it doesn’t matter. Run the
same command again - start.cmd or sh start.sh.
It remembers which plug it was working on and what it had done. Where a step was interrupted, it checks the plug to work out where to resume from.
Tasmota: Official Tasmota
ESPHome: Official ESPHome
Sonoff: A full backup of the plug’s Sonoff firmware to restore later.
Afterward, Tasmota and ESPhome updates are applied as normal.
Start with docs/troubleshooting.md - it covers the problems that actually came up while this was being built.
Whether it worked first time or stopped partway, please report back on how it went here:
A clean conversion, a run that stopped partway, or only the read-only checks - all of it is useful.
Reading the thread is the quickest way to see how it went for others.
A big thank you to HG0161 and the SonoffS60OTA repository for laying the groundwork; working out the update mechanism, decoding the firmware format and proving the OTA route on real plugs. This repository carries that work on.
Thanks to p1otr for the ESPHome option and its S60 config.
Thanks too to everyone in the Tasmota threads for the UK and EU S60, whose open-the-case method came first.
Worked out with the Tasmota community’s discussion of this device.
See LICENSE and THIRD_PARTY_NOTICES.md.