Home Assistant

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.

Reedik Lindau
Reedik Lindau

·

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.

Midea, Comfee, Inventor, Artisan
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.
Nibe
Home Assistant integration
myUplink (built in)
Entity type
climate
Notes
Requires a free myUplink account; control goes through Nibe's cloud.
Sonoff / eWeLink
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.
Sensibo
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.
Tuya / Smart Life plugs
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.
Zigbee / Z-Wave / Matter plugs
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.
Anything else
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.

Home Assistant Green
Price
≈ €180
Power draw
≈ 2 W
Verdict
Easiest. Plug in and go.
Raspberry Pi 4 or 5 (2–4 GB) + case, PSU, 32 GB SD or SSD
Price
€140–210
Power draw
3–5 W
Verdict
Reference platform, huge community.
Used thin client (Fujitsu Futro S740, HP t630, Dell Wyse 5070)
Price
€70–90 second-hand
Power draw
5–10 W
Verdict
Best value, slightly more setup. Often sold without a power adapter.
Old desktop PC or laptop
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.

About the old PC: it works, but 40 W around the clock is roughly 350 kWh a year. At 20 cents per kWh that is about €70 in electricity a year, about ten times what a Raspberry Pi uses. If you are doing this to save on electricity, start with a low-power box.

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.

Beta

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.

Step 1 of 7
1

Install the Cloudflared add-on

Tip: Look in the add-on store, not under Settings → Devices & services. The Cloudflare and Cloudflare R2 integrations listed there handle DNS updates and backups, not the tunnel. If your Settings menu has no Add-ons or Apps entry, you are running Home Assistant Container, which has no add-on store. Write to us through Support and we will help you connect another way.

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.

Cost
Elewatt address
Free
Nabu Casa
≈ €7.50 / month, one-month free trial
Cloudflare Tunnel
Free (a domain costs ≈ €10 / year)
Setup time
Elewatt address
5 minutes, one add-on
Nabu Casa
2 minutes, one toggle
Cloudflare Tunnel
20–40 minutes, some configuration
Requirements
Elewatt address
An Elewatt account
Nabu Casa
None
Cloudflare Tunnel
Your own domain on Cloudflare
Extras
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
Good for
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.

AI-assisted, human-reviewed — an editor checks every article before publication. Read our editorial policy

Frequently Asked Questions

Other guides

All guides