PT EN

Step by step

What is a smart home?

What a smart home is, how Home Assistant, Alexa, Google Home, Apple Home, SmartThings and Tuya compare, the local-versus-cloud difference and where to start without wasting money.

A smart home uses connected devices to make everyday tasks easier. You can switch off a light from your phone, ask for something by voice, or let a rule act on its own.

Control is you pressing the button. Automation is the house acting when something happens: switching a light on at dusk, for example. A home is only really "smart" when the second part works without anyone thinking about it.

The four layers of every smart home#

Every installation, from the simplest to the most elaborate, has the same four layers. Understanding them keeps you from buying parts that cannot talk to each other.

Layer What it is Examples
Devices What measures or acts: bulbs, switches, sensors, plugs, locks, cameras. Zigbee bulb, door sensor, energy-monitoring plug.
Network or protocol How the device communicates. Zigbee, Thread, Wi-Fi, Bluetooth, infrared.
Hub What receives the information, stores the rules and sends the commands. Home Assistant, Hue bridge, an Echo with Zigbee, an Apple TV as a HomeKit hub.
Interface How you interact. Phone app, voice, wall panel, physical button, an automation acting by itself.

The hub is the part that defines almost everything: it decides which protocols the house understands, whether the rules run on your network or in someone's cloud, and whether devices from different brands can work together.

Local or cloud: the difference that matters most#

A local device talks to the hub inside your home. A cloud device sends the command to the manufacturer's server, which sends it back to the device, even if both are in the same room. In practice:

  • Without internet, the local one keeps working; the cloud one stops.
  • Speed: local responds in a fraction of a second; cloud takes one to several seconds.
  • Longevity: if the manufacturer shuts the service down, a cloud device becomes a paperweight. It has happened to several brands.
  • Privacy: locally, what happens in your home stays in it.

Many cheap Wi-Fi products are cloud devices. Zigbee, Thread and Matter products are local by design. Home Assistant lets you mix both, but this path starts with local.

Which platform should you choose?#

A platform brings the controls and the rules together. They can coexist: Home Assistant can handle the automations while, with the right connection, you keep using the Apple Home app or a voice assistant.

Platform

Alexa

Amazon's ecosystem, known for Echo devices and voice commands.

Strengths
Convenient for voice and simple routines with compatible devices.
Limitations
Many functions depend on the cloud; radios and features vary between Echo models.
Official reference

Platform

Google Home

Google's app and ecosystem for organising and controlling the home.

Strengths
Brings controls, voice and compatible Matter devices together.
Limitations
Matter requires a compatible hub; remote access and online services depend on the internet.
Official reference

Platform

Apple Home / HomeKit

The Home app integrates compatible accessories with the iPhone and Siri.

Strengths
Tight integration with Apple devices and Home app automations.
Limitations
Remote access and automations need an Apple home hub; check accessory support.
Official reference

Platform

Samsung SmartThings

An app that gathers Samsung devices and other compatible brands.

Strengths
Graphical routines; some can run locally on a compatible hub.
Limitations
Not every routine is local. Features and protocols depend on the devices and the hub.
Official reference

Platform

Tuya / Smart Life

A platform used by many brands, usually through the Smart Life app.

Strengths
Easy to start from the phone, with devices in many categories.
Limitations
Features and quality vary by manufacturer; many functions use the cloud, although some hubs run local scenes.
Official reference

Why Home Assistant?#

This path prioritises freedom of choice and local automations. Home Assistant provides that foundation, but needs a device that stays on and some care with updates and backups. Compatibility depends on the model and the integration.

We start with Home Assistant OS, Zigbee, ZHA and the ZBT-2. Learn one step at a time; voice, cameras and extras can wait.

The platforms are not mutually exclusive. In my home (page in Portuguese), Home Assistant is the hub, and the same lights are switched from the Apple Home app and by voice through Alexa. The difference is who keeps the rules: Home Assistant.

What to automate first#

Good automations solve a real annoyance and are easy to switch off if they get in the way. Five examples that work for most homes, from easiest to hardest:

  1. A light at dusk. A living-room or entrance lamp turns on at sunset and off at a fixed time. It is the first automation of this path.
  2. A hallway light on motion. A presence sensor turns on a dim light in the small hours and off two minutes after the last movement.
  3. Door-left-open alert. A contact sensor on the fridge or the gate sends a phone notification if it stays open for more than five minutes.
  4. Everything off when leaving. When the last family phone leaves the house, selected lights and plugs switch off.
  5. Room climate. A temperature sensor turns on a fan or an air conditioner over infrared above 28 °C and off below 25 °C.

Locks, heaters and gates deserve to wait, with the safeguards described in the Terms of use.

How much does it cost to start#

A hub, a Zigbee adapter and one bulb are enough to learn everything this path teaches. The guide Choose your hub (in Portuguese) compares prices and models; the Zigbee guide explains why a mains-powered bulb is worth more than a battery sensor at the beginning. The most expensive mistake is not choosing the wrong hub: it is buying ten cloud devices in a promotional kit before knowing what the house needs.

Minimum vocabulary#

  • Hub: the device that runs Home Assistant.
  • Integration: the connection between Home Assistant and a brand, service or protocol.
  • Device: the physical unit; entity: each thing it measures or controls.
  • Area: the room where the device lives, used for grouping and voice commands.
  • Scene: a set of states ("movie": lights at 20%, TV on).
  • Automation: trigger + condition + action, running on its own.
  • Zigbee coordinator: the USB radio (ZBT-2) that creates the home's Zigbee network.

Continue with What is Home Assistant?.

  • Home Assistant