About the Web Smart Plug Remote
A smart plug makes any normal appliance smart: a kettle, a lamp, a charger or a water heater. This remote switches the plug, shows live power use in watts, and supports an auto-off timer and a daily on/off schedule. Build one with an ESP8266 and a relay, or use a Tasmota plug over MQTT.
This remote runs fully in your browser, so it works on any phone or computer with no app to install. Try it now in demo mode. When you are ready, connect it to your own ESP32 or ESP8266 by Bluetooth, Wi-Fi hotspot, home Wi-Fi, USB cable or the internet. We write the Arduino code for you for each option.
How to use it
- Play with the remote in demo mode to see how it works.
- Build your device. See "What you need" below.
- Press Connect my device and pick how you want to connect. Bluetooth or Wi-Fi hotspot are the easiest.
- Press Get the code for this, upload it to your board with Arduino IDE, then connect. Now the buttons control your real device.
Why people like this tool
No app needed
Opens in any browser on Android, iPhone, laptop or tablet.
Real demo mode
Animated preview so you can test before you build.
Ready ESP32 code
Arduino sketch for ESP32 or ESP8266, made for this remote.
5 ways to connect
Bluetooth, Wi-Fi hotspot, home Wi-Fi, USB cable or internet (MQTT).
What you need to build it
- An ESP32 or ESP8266 Wi-Fi board
- A relay module (5V, opto-isolated is best)
- A 5V power supply, like a good phone charger
- Wires, a fuse and a closed plastic box
Not ready to build? You can still use the remote in demo mode to plan your project and test the buttons.
Where you can use it
- Stop phone chargers after one hour.
- Switch the geyser on at 6 am daily.
- See how many watts your TV uses on standby.
Commands this remote sends
Over Bluetooth or a USB cable, each command is a short text line like id=value. With MQTT, it goes to your-topic/<id>/set and your device reports back on your-topic/<id>/state. On Wi-Fi, the page calls /<id>?value=… on the device.
| id | Control | Values | Direction |
|---|---|---|---|
power | Socket | ON / OFF | Remote → device |
watts | Power use | Device sends a number in W | Device → remote |
timer | Auto off timer | Minutes (0 = off) | Remote → device |
schedule | Daily schedule | JSON list of on/off times | Remote → device |
Stay safe
Mains electricity (230 V) can kill. If your device switches a fan, light, pump or any appliance, ask a qualified electrician to do the wiring. Use a relay rated well above the load, add a fuse or MCB, and keep everything inside a closed box. For motors and pumps, use a proper starter or contactor. A web remote must never be the only way to switch off a machine.