Second Life · Tech
Keep smart plugs local with Tasmota or ESPHome
Smart plugs and switches don't have to depend on a maker's cloud. Here's how to keep them working on your own network, from the easy route to reflashing.
Start with the easy route: no reflashing
Before replacing any firmware, check whether your plug can already be controlled locally:
- Matter plugs (look for the Matter logo) are designed to be controlled over your home network by a Matter controller such as Apple Home, Google Home, Amazon Alexa, SmartThings or Home Assistant. Some features, such as energy history, may still need the maker's app.
- Local integrations: Home Assistant can talk to many popular plugs directly, for example TP-Link Kasa and Tapo.
Either way, you keep the maker's firmware and its security updates, and nothing about the hardware changes.
Reflashing with Tasmota or ESPHome
Tasmota and ESPHome are open-source firmware for devices built on Espressif ESP8266 and ESP32 chips. Once installed, the device runs entirely on your network and you can control it from Home Assistant or other local software.
- Check your exact model first. Many current plugs use other chips or locked firmware and can't run either project. Community lists such as the Tasmota device templates and ESPHome devices collect reports, but a manufacturer can change the inside of a product without changing its name.
- Over-the-air methods often no longer work. Makers have patched most of them, so installing usually means opening the device and connecting a USB-to-serial adapter.
- Mains electricity can kill. Never open, flash or test a plug or switch while it's connected to mains power. If you're not comfortable working on electrical devices, stick to the no-reflash route above.
- You take over updates. Keep the firmware current from the project's releases, and keep these devices on a separate network or VLAN if your router supports it.
The Tasmota getting-started guide covers the hardware you need and the flashing process step by step.
Last reviewed November 2026. Projects change their instructions; when this page and the official documentation disagree, follow the documentation. All Second Life guides