How to Bring Old Belkin WeMo Devices Back to Life with MiWemo
Published on 2026-12-06 15:07 by Frugle Me (Last updated: 2026-12-06 15:14)
Article Content
If you have older Belkin WeMo switches or dimmers collecting dust because they no longer connect properly to the official Belkin app or cloud servers, you don't have to throw them away. As long as those devices can still connect to your Wi-Fi and respond on your local network, you can control them directly from your browser using MiWemo.
MiWemo is a lightweight web server and dashboard written in C that discovers and controls Belkin WeMo devices locally—with zero cloud dependencies.
Why Use MiWemo?
- 100% Local Control: Works even when Belkin's cloud services or mobile apps drop support for legacy hardware.
- Lightweight & Fast: The entire web dashboard is embedded directly inside a compiled C executable (
wemo-server), meaning minimal resource usage on a Raspberry Pi, home server, or Linux machine. - Simple Browser Interface: Toggle switches On/Off, adjust dimmer brightness sliders, and trigger manual network scans from any device on your LAN or private VPN.
Step 1: Clone the Repository
First, grab the source code from the official GitHub repository:
git clone https://github.com
cd MiWemo
Step 2: Install Dependencies and Build (Ubuntu / Debian)
MiWemo compiles cleanly using make and a few standard C libraries (libevent, libcurl, libxml2, and libjson-c). From inside the MiWemo directory, run:
sudo apt update
sudo apt install build-essential xxd libevent-dev libcurl4-openssl-dev libxml2-dev libjson-c-dev
make
This compiles wemo_server.c and embeds wemo_dashboard.html directly into a single binary named wemo-server.
Step 3: Start the Server
Launch the server from your terminal:
./wemo-server
By default, MiWemo listens on port 8766 across all IPv4 interfaces:
* On the host machine: Open http://127.0.0 in your browser.
* From another device on your network: Open http://SERVER_IP:8766/ (replacing SERVER_IP with your server's local LAN IP or private VPN IP).
Optional Startup Flags
Because the dashboard has no built-in authentication, you may want to restrict access or change the port depending on your setup:
* Localhost only: ./wemo-server --bind 127.0.0.1
* Custom port: ./wemo-server --port 8080
Step 4: Discover and Control Your Devices
Once you open the dashboard in your browser:
1. Click Discover devices to scan your local network for active WeMo switches and dimmers.
2. Use the On and Off buttons—or the brightness slider on dimmer cards—to control your hardware immediately.
3. Click Refresh states anytime you want to sync the latest status of known devices.
Troubleshooting: Adding Missed Devices Manually
Sometimes older WeMo plugs or switches don't respond to automatic SSDP/UPnP network discovery, even though they are online. If a device doesn't show up:
- Find the device's local IPv4 address from your router's DHCP client list.
- Pass the IP and WeMo service port (typically
49153) directly at startup:
bash ./wemo-server --device 192.168.1.50:49153 - Save devices permanently: To avoid typing
--deviceevery time you restart the server, add each device'sIP:port(one per line) towemo-devices.confin the directory where you runwemo-server:
text 192.168.1.50:49153 192.168.1.51:49153
Check Out the Code
Ready to rescue your old smart plugs? Head over to github.com/mohitkhullar/MiWemo to download the source, inspect the code, or run it on your home server.
Comments (0)
Want to join the conversation?
Please log in to add a comment.