Knowledge base / Home automation / How a smart home works: hub, devices, sensors, automations

Explainer · Home automation

How a smart home works: hub, devices, sensors, automations

The four building blocks of a smart home explained: devices, sensors, a hub and automations, and how they talk to each other over Wi-Fi, Zigbee, Z-Wave or Thread.

Motion sensor and lamp on a bedside table

In short

  • Home Assistant says you can reach your smart home even when the internet is down, and that it keeps your data locally3.
  • A Zigbee/Thread USB adapter for Home Assistant lists at €45 at the time of writing (Nov 2026), and it can run Zigbee or Thread, not both at once1.
  • An automation consists of triggers, conditions and actions2.
  • Home Assistant Green is a ready-made hub with a recommended price of €179 (Nov 2026)3.
  • The P1 port on a Dutch smart meter lets you read live energy data yourself4.

A smart home has four parts. Sensors observe, devices act, a hub makes decisions, and a network carries the messages. Add rules (automations) and the home reacts without you.

1. Sensors: the eyes and ears

A sensor measures something and reports it. Common sensors:

  • motion (is someone in the room?),
  • door and window contact (open or closed),
  • temperature and humidity,
  • light level,
  • water leak, smoke,
  • power use (a smart plug or a meter).

Sensors often run on a small battery and send a message only when something changes. This helps the battery last.

2. Devices: the hands

Devices do something: a lamp switches on, a valve opens, a blind moves, a socket cuts power, a thermostat sets a target temperature. These are called actuators. Many devices are also sensors (a smart plug measures power as well as switching it).

Devices that connect to fixed mains wiring, such as in-wall switches and relays, should be installed by a certified installer. Plug-in and battery devices need no electrician.

3. The network: how they talk

Devices send messages over a radio protocol or a wire:

  • Wi-Fi: uses your existing router. Easy to start, but many devices on Wi-Fi load the network and drain batteries.
  • Zigbee and Z-Wave: low-power mesh networks. Mains-powered devices pass messages along, so coverage grows with each device. See Zigbee explained and Z-Wave explained.
  • Thread and Matter: Thread is a low-power mesh network and Matter is the language on top. See Thread and Matter.
  • Wired (KNX, Modbus, DALI): cables carry the messages, mostly in new builds and renovations. See wired systems compared.

For a home controller to speak Zigbee or Thread, it usually needs a radio. One USB adapter for Home Assistant supports both Zigbee 3.0 and Thread but only one at a time, and has a recommended price of €45 at the time of writing (Nov 2026) 1. A full comparison is in wireless protocols compared.

4. The hub: the brain

The hub (or controller) receives every message, remembers the state of the house and applies your rules. It can be:

  • a ready-made box such as Home Assistant Green, with a recommended price of €179 at the time of writing (Nov 2026) 3,
  • a small computer or mini PC you set up yourself,
  • the built-in function of a brand’s own bridge (for example for one lighting brand only).

A brand bridge only controls that brand. A general hub controls many. See what to run Home Assistant on.

5. Automations: the rules

An automation connects the parts. Each has a trigger (the event that starts it), optional conditions (should it run now?) and actions (what the home does) 2. Example:

  • Trigger: motion in the hallway.
  • Condition: it is dark outside.
  • Action: hallway light on at 30% for three minutes.

Most hubs let you build these in a visual editor. Ready-made rules (“blueprints”) exist for common cases.

A message from start to finish

  1. You walk into the hallway. The motion sensor detects you.
  2. It sends a short radio message to the hub.
  3. The hub checks the rule: is it dark? Yes.
  4. The hub sends a command to the lamp.
  5. The lamp turns on. The whole chain takes a fraction of a second on a local system.

If one step goes through a cloud server instead of your hub, the delay is longer and it fails when the internet is down.

Energy data enters through the meter

In the Netherlands your smart meter has a P1 port that you can use yourself. You plug in a reader that shows your use live 4. A hub can read this data and use it in rules, for example to start a boiler when you export a lot of solar power. See the P1 port explained.

Local or cloud

A local hub processes rules in your house. A cloud system sends data to the manufacturer and back. Local control keeps working without internet and keeps your data at home. Cloud services can be convenient and need no setup, but depend on the company. Home Assistant states that you can access your smart home when the internet is down 3.

What can go wrong

Knowing the parts helps with troubleshooting. When something does not work, check in order:

  1. The device. Does it have power or a fresh battery?
  2. The network. Is it in range of the hub or of another mains-powered device that can pass its messages on? Mesh networks get stronger with more mains-powered devices.
  3. The hub. Is it running and up to date? Did it restart after an update?
  4. The rule. Does the trigger fire? Is a condition blocking it? Most hubs show a trace of what happened.

Keep a list of your devices with their location, protocol and battery type. It saves time when something breaks.

Single brand bridges and open hubs

Many brands sell their own bridge, such as a lighting bridge. These are simple and work well within one brand. The trade-off is that the rules cannot easily use data from other brands. An open hub connects more brands, at the cost of more setup. See one system instead of ten apps for the reasoning.

What this means for your home

Think in the four blocks. First decide what you want to know (sensors) and what you want to do (devices). Then choose a hub that supports the protocols you want. Keep wiring work to a certified installer. Start with one room, one hub and a handful of devices, and extend when the first rules work.

Questions

What does a hub do?

It receives messages from sensors and devices, runs your rules and sends commands back. It can be a small box, a mini PC or built into a product.

Do I need a hub for Wi-Fi devices?

Wi-Fi devices can work with their app alone, but you need a hub or a cloud service to make rules that span several brands.

What happens when the internet goes down?

Devices and hubs that run locally keep working. Cloud-only devices may stop reacting.

Is my data sent to the cloud?

That depends on the product. Local systems keep data at home. Cloud systems send commands and data through the manufacturer's servers.

Sources

  1. Home Assistant Connect ZBT-2, Home Assistant. Accessed 30 November 2026.
  2. Understanding automations, Home Assistant. Accessed 30 November 2026.
  3. Home Assistant Green, Home Assistant. Accessed 30 November 2026.
  4. Slimme meter, Consumentenbond. Accessed 30 November 2026.
Have this set up: Smart home base
A hub in your own home ties all devices, brands and protocols into one system, with one app. Lights, heating, locks and energy then work together instead of in separate apps.
See the solution

Read it here. Or let us build it for you.

Advice, design, setup of the smart part and aftercare, for homes and small businesses. A first conversation is free.