Control Midea, Nibe, Sonoff and Any Other Smart Device with Elewatt via Home Assistant
Elewatt talks natively to Shelly, Daikin and a few other brands. Everything else, from a Midea heat pump to a Nibe ground-source unit or a Sonoff relay, can still follow the electricity price. The trick is a small computer in your home running Home Assistant. It speaks to your devices on the local network, and Elewatt speaks to it. This guide connects a running Home Assistant to Elewatt in about 15 minutes, with no subscription, no domain and no router changes.
How the chain works
Most smart appliances only accept commands from their own manufacturer's app, and many of them, Midea included, offer no cloud interface that an outside service like Elewatt is allowed to use. Home Assistant solves that from the inside. It is free, open-source software that runs on a small computer in your home and knows how to talk to over two thousand device brands, most of them directly over your Wi-Fi without any cloud in between.
1 · Elewatt cloud
Prices + schedule
Decides, every 15 minutes, what each device should be doing
2 · Home Assistant
Box in your home
Receives the command over the internet and relays it locally
3 · Your devices
Midea, Nibe, Sonoff…
Controlled on the LAN or via their own cloud, as Home Assistant prefers
Once Home Assistant sees your heat pump as a climate entity or your relay as a switch entity, Elewatt connects to Home Assistant with a URL and an access token. Every 15 minutes Elewatt reads the current electricity price, checks the filter you assigned to the device, and tells Home Assistant to raise or lower the setpoint, or to switch the relay on or off. Home Assistant passes that on to the device the same way it would if you had tapped a button on its dashboard.
Nothing about your device's own app changes. You can still use the Midea or Nibe app on your phone. Elewatt is simply another hand on the thermostat, one that happens to know tomorrow's prices.
Which devices this covers
Anything Home Assistant can expose as a switch or a climate entity works with Elewatt. Here are the brands this guide is written for and how Home Assistant reaches each of them.
| Brand | Home Assistant integration | Entity type | Notes |
|---|---|---|---|
| Midea, Comfee, Inventor, Artisan | Midea (built into Home Assistant since 2026.9) | climate / water_heater | Log in once with your Midea app account; after that all control is local over your Wi-Fi. |
| Nibe | myUplink (built in) | climate | Requires a free myUplink account; control goes through Nibe's cloud. |
| Sonoff / eWeLink | SonoffLAN (HACS) or eWeLink Smart Home add-on | switch | SonoffLAN is fully local; the eWeLink add-on needs their cloud subscription. |
| Sensibo | Sensibo (built in) | climate | Paste an API key from the Sensibo web app. Works with any heat pump that has a Sensibo IR bridge. |
| Tuya / Smart Life plugs | Tuya (built in) or LocalTuya (HACS) | switch | Elewatt's direct Tuya link is paused until Tuya releases authentication and device control APIs for cloud services — use the bridge to control Tuya devices in the meantime. |
| Zigbee / Z-Wave / Matter plugs | ZHA, Zigbee2MQTT, Z-Wave JS, Matter | switch | Needs a USB radio stick (€20–40) plugged into the Home Assistant box. |
| Anything else | 2,000+ integrations at home-assistant.io/integrations | switch / climate | If it shows up as a switch or a climate entity, Elewatt can schedule it. |
- Home Assistant integration
- Midea (built into Home Assistant since 2026.9)
- Entity type
climate / water_heater- Notes
- Log in once with your Midea app account; after that all control is local over your Wi-Fi.
- Home Assistant integration
- myUplink (built in)
- Entity type
climate- Notes
- Requires a free myUplink account; control goes through Nibe's cloud.
- Home Assistant integration
- SonoffLAN (HACS) or eWeLink Smart Home add-on
- Entity type
switch- Notes
- SonoffLAN is fully local; the eWeLink add-on needs their cloud subscription.
- Home Assistant integration
- Sensibo (built in)
- Entity type
climate- Notes
- Paste an API key from the Sensibo web app. Works with any heat pump that has a Sensibo IR bridge.
- Home Assistant integration
- Tuya (built in) or LocalTuya (HACS)
- Entity type
switch- Notes
- Elewatt's direct Tuya link is paused until Tuya releases authentication and device control APIs for cloud services — use the bridge to control Tuya devices in the meantime.
- Home Assistant integration
- ZHA, Zigbee2MQTT, Z-Wave JS, Matter
- Entity type
switch- Notes
- Needs a USB radio stick (€20–40) plugged into the Home Assistant box.
- Home Assistant integration
- 2,000+ integrations at home-assistant.io/integrations
- Entity type
switch / climate- Notes
- If it shows up as a switch or a climate entity, Elewatt can schedule it.
You do not need this bridge for Shelly, Daikin Onecta devices — Elewatt controls those directly from its own Connections page. The bridge is for everything else, and right now that includes Tuya / Smart Life: the direct Tuya link is paused until Tuya releases authentication and device control APIs for cloud services.
What you need
Home Assistant needs a computer that stays on around the clock. It does not need to be powerful. What matters is low power draw, because the box will run for years, and a wired network connection, because you do not want your heating to depend on Wi-Fi to a spare room.
| Option | Price | Power draw | Verdict |
|---|---|---|---|
| Home Assistant Green | ≈ €180 | ≈ 2 W | Easiest. Plug in and go. |
| Raspberry Pi 4 or 5 (2–4 GB) + case, PSU, 32 GB SD or SSD | €140–210 | 3–5 W | Reference platform, huge community. |
| Used thin client (Fujitsu Futro S740, HP t630, Dell Wyse 5070) | €70–90 second-hand | 5–10 W | Best value, slightly more setup. Often sold without a power adapter. |
| Old desktop PC or laptop | €0 | 30–60 W | Fine for a test, costly to leave on. |
- Price
- ≈ €180
- Power draw
- ≈ 2 W
- Verdict
- Easiest. Plug in and go.
- Price
- €140–210
- Power draw
- 3–5 W
- Verdict
- Reference platform, huge community.
- Price
- €70–90 second-hand
- Power draw
- 5–10 W
- Verdict
- Best value, slightly more setup. Often sold without a power adapter.
- Price
- €0
- Power draw
- 30–60 W
- Verdict
- Fine for a test, costly to leave on.
Besides the computer, you need an Ethernet cable to your router, a spare power socket, another computer or phone for the setup steps, and the account details for the apps your devices already use (your Midea, Nibe or eWeLink login). Budget about an hour for the first-time setup.
Step-by-step setup
Seven steps, about 15 minutes. This guide assumes Home Assistant OS (or a Home Assistant Green) is already running in your home and your devices show up in it. If not, start with the official installation guide at home-assistant.io/installation, then come back here.
The Elewatt address is a new feature. If your add-on will not connect, tell us through Support in the app and include the address; we can see the tunnel's state from our side and will help.
Install the Cloudflared add-on
Get your Elewatt address
Paste the token into the add-on and start it
Let Home Assistant accept the tunnel
Older Home Assistant without a Reverse proxy section?
Add these lines to configuration.yaml instead (install the File editor app to edit it), save, then restart Home Assistant from Settings → ⋮ → Restart Home Assistant.
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24Create a long-lived access token
Connect Home Assistant in Elewatt
Verify the first sync and keep an eye on it
Elewatt address, Nabu Casa or Cloudflare Tunnel?
All three give Elewatt a secure, encrypted path to your Home Assistant without opening ports on your router. They differ in cost and effort.
| Elewatt address | Nabu Casa | Cloudflare Tunnel | |
|---|---|---|---|
| Cost | Free | ≈ €7.50 / month, one-month free trial | Free (a domain costs ≈ €10 / year) |
| Setup time | 5 minutes, one add-on | 2 minutes, one toggle | 20–40 minutes, some configuration |
| Requirements | An Elewatt account | None | Your own domain on Cloudflare |
| Extras | Only Elewatt can reach it; no login page on the internet | Alexa and Google Assistant linking, automatic certificates | Cloudflare's access rules and analytics |
| Good for | Most people — start here | Anyone who wants it to just work | People who already run a domain and like tinkering |
- Elewatt address
- Free
- Nabu Casa
- ≈ €7.50 / month, one-month free trial
- Cloudflare Tunnel
- Free (a domain costs ≈ €10 / year)
- Elewatt address
- 5 minutes, one add-on
- Nabu Casa
- 2 minutes, one toggle
- Cloudflare Tunnel
- 20–40 minutes, some configuration
- Elewatt address
- An Elewatt account
- Nabu Casa
- None
- Cloudflare Tunnel
- Your own domain on Cloudflare
- Elewatt address
- Only Elewatt can reach it; no login page on the internet
- Nabu Casa
- Alexa and Google Assistant linking, automatic certificates
- Cloudflare Tunnel
- Cloudflare's access rules and analytics
- Elewatt address
- Most people — start here
- Nabu Casa
- Anyone who wants it to just work
- Cloudflare Tunnel
- People who already run a domain and like tinkering
If you are unsure, take the Elewatt address: it is free and takes five minutes. You can switch to Nabu Casa or your own tunnel later by changing the URL in Elewatt; the token stays the same.
What it costs to run
The bridge itself is cheap to keep alive. The numbers below assume 20 cents per kWh, which is on the high side for most of our markets once the device is shifted to cheap hours.
Raspberry Pi, 24/7
≈ 35 kWh / year
about €7 in electricity
Nabu Casa
≈ €90 / year
or €0 with a Cloudflare Tunnel
Elewatt
Home plan
same as any native integration
Against that, shifting a 2 kW heat pump or a 3 kW water heater into the cheapest hours typically saves several euros a week in winter. Our winter checklist has the current numbers per country. Winter heating savings checklist →
Ready to put your heat pump on the price curve?
Create a free Elewatt account, add your Home Assistant under Connections, and your Midea, Nibe or Sonoff devices start following the cheapest hours at the next 15-minute tick.