Assessed as Repair
Reflash a Cloud-Dead Smart Plug
Assessed From Published Builds
A smart plug whose vendor cloud has been withdrawn, or whose app you no longer wish to run, has its firmware replaced with ESPHome or Tasmota so it works locally. The plug is opened, five pins are connected to a USB-to-serial adapter, and new firmware is written over the old one.
Before you order anything
- Hardest part
- Firmware and Command Line. Holding the module in bootloader mode while writing firmware over serial, then configuring the correct pin mapping for the specific plug. The pin mapping is model-specific and getting it wrong gives a plug that boots but does not switch.
- Point of no return
- Opening the case. The clips are the part that does not survive, and a device that will not close properly afterwards must not be plugged into mains again.
What it costs
| Item | US, dollars | UK, pounds |
|---|---|---|
| No parts | 0 | 0 |
| Build | Nothing to buy | Nothing to buy |
| Nearest product | None found | None found |
There is nothing to buy that restores the withdrawn service. A replacement plug is a different device, not a repair, and the failed one goes in the bin. That is the whole argument for doing this: the alternative to the repair is not a purchase, it is e-waste.
- If it does not work
- The plug, which was already useless, plus an hour. The honest framing is that the downside is near zero because the device is dead either way. The exception is a plug that still works through its app, where a failed flash converts a working device into a broken one.
- Expected cost
- Not yet available. It is the build cost plus the failure rate times the cost of failure, and the failure rate comes from builder reports. Nobody has reported on this one.
What it asks of you
Firmware and Command LineNeeded
- How much
- Holding the module in bootloader mode while writing firmware over serial, then configuring the correct pin mapping for the specific plug. The pin mapping is model-specific and getting it wrong gives a plug that boots but does not switch.
- If you get it wrong
- An interrupted write leaves the module with neither firmware. A vendor forum thread records exactly this outcome. Usually recoverable by rewriting, sometimes not.
Escape hatch
The tuya-convert method flashed these devices over the air with no opening and no soldering. It exploited a vulnerability the vendor patched some years ago, so it works only on old stock. Check the firmware version before buying an adapter.
Mechanical FittingNeeded
- How much
- Opening a sealed consumer enclosure that was not designed to be opened. Clip-fit cases are usual and the clips do not always survive.
- If you get it wrong
- A cracked case on a device that plugs into mains is not cosmetic. If it will not close properly afterwards it should not be used.
Escape hatch
None. The pins are inside.
SolderingNot needed
- How much
- Model-dependent. One write-up reports needing none, holding jumper wires against the pads instead, while noting that other plugs do require it.
- If you get it wrong
- Solder on a mains-carrying board that is later closed up is exactly where a bad joint matters most.
Escape hatch
Pogo pins or a friend to hold the wires. Several published methods avoid soldering entirely on the more common models.
If it goes wrong
- Reversibility
- Permanent
- What is at risk
- The Thing Being Modified
- Do this first
- Read the firmware version before buying anything: if it predates the patch, tuya-convert flashes it over the air and the case never gets opened. Practise on the plug you care least about.
Is it worth doing?
- Verdict
- No Product Exists
- On what ground
- Justified for reasons other than money - learning, control, privacy, fit
- Still right for
- Anyone with several identical plugs of a supported model. One plug is not worth an hour and an adapter; six of them is a different calculation, and the adapter is bought once.
The build does
- Works with no vendor account and no internet, which the original firmware could not do.
Reflash a Cloud-Dead Smart Plug
A smart plug that depended on a vendor cloud, and no longer has one, has its firmware replaced so it works locally. This is a repair rather than a build: nothing is bought, nothing is made, and the alternative is a bin.
Before you order anything
Read the firmware version first. There used to be a method that flashed these devices over the air with nothing but a laptop, no opening and no soldering. It exploited a vulnerability the vendor patched some years ago, so it works on old stock only. If your device predates the patch, the whole of the rest of this page is unnecessary.
If it does not, the case has to come open, and that is the point of no return. The clips on a sealed consumer enclosure do not always survive being opened, and a mains device that will not close properly afterwards should not go back into a socket.
What it is worth
There is nothing to buy that restores a withdrawn service. A replacement plug is a different device, not a repair. So the comparison price is not high, it is absent, and the question is only whether an hour of your time is worth more than the plug.
For one plug, probably not. The adapter costs about the same as a new plug and the hour is real. For six identical plugs it changes completely: the adapter is bought once, the pin mapping is worked out once, and the fifth takes minutes. This is a repeat-use project wearing the clothes of a one-off.
The disagreement worth reading
Two of the three sources describe methods that share almost nothing, and neither is wrong. The over-the-air route and the open-the-case route apply to different firmware versions of the same product name. Nothing on the box tells you which you have. That is revision drift in its purest form, and it is why the first step here is reading a version number rather than buying anything.
Who already has this, and how they differ
| Source | Weight | Licence | What is different about it |
|---|---|---|---|
| Neil Turner: Flashing Tuya smart plugs with Tasmota | Independent Build, Bought Hardware | Unstated | The only source that starts from the position most readers are actually in, which is that tuya-convert does not work on their device, and then does the hardware route anyway. Reports that soldering was not needed on the specific plugs used while explicitly declining to generalise that to other models. Gives a real time figure of about an hour for the first one. |
| Tasmota project documentation: Tuya-Convert | Complete Published Build, Unknown Provenance | Open source project documentation | Documents the escape hatch rather than the build: the method that needs no opening and no soldering, and the firmware-version condition under which it still works. Reading this before ordering an adapter is what decides whether the rest of the project is necessary at all. |
| Local Bytes forum: Bricked smart plug during reflash | Owner With Sustained Use | Unstated | The only source describing what happens when it goes wrong, which every build guide omits. Bricking during a firmware-to-firmware reflash is a real outcome rather than a theoretical one, and it is the reason the point of no return sits where it does. |
Where they disagree · Revision Drift
The project documentation describes an over-the-air method that needs no tools; the independent write-up opens the case and wires five pins. They are not in disagreement. The vendor patched the vulnerability the first method relies on, so which one applies is decided entirely by the firmware version on the specific device in your hand. This is the clearest revision-drift case in the launch batch: the same product name covers devices for which the correct method is completely different.
What builders reported
No reports yet. This assessment is a theory, built by comparing what has already been published. It stays one until people who built the thing say otherwise.
Open question · features
After reflashing, did the plug keep working, and did local control turn out to matter enough to justify doing the rest of them?
Builder reports on outcome and at six months. This project is only worth the tool for someone with several plugs, so a report that the first one was done and the others never were is the most informative outcome available.
Built this? What actually happened?
No account, no email required.
Safety
Mains Adjacent
This is a mains-connected appliance being opened. Nothing here is fixed wiring and no building regulation applies, but the device is designed to be sealed and returns to a socket afterwards. It must be unplugged throughout, and a case that will not close properly must not be used again. Placeholder only: the class has not been set by a person, and mains-adjacent is exactly the class that should not be taken on a machine's word.
A 230V plug body and a 120V one are different products with different internals, different pin layouts and different clearance requirements, so a US write-up and a UK write-up are not interchangeable even for the same brand. The consequence of a fault also differs: at 230V the fault energy is roughly double. Follow a guide for the plug you actually hold, and treat the physical teardown photographs as model-specific rather than indicative.
Region note
Plug bodies are not interchangeable between markets. A Type G plug carries a fuse in the plug and a Type B does not, which changes what happens downstream of a fault. Any electrical modification is subject to local rules on appliance safety, and reselling or gifting a modified mains device carries obligations in most jurisdictions - check yours before passing one on.