A smart building is only smart if people are better off with it. The lights come on when they should, the room is warm when someone is in it and cool when it is not, a leak is noticed before the ceiling falls, the energy bill goes down, and when the internet or the hub fails the building still works. Most failures of smart homes are not technical marvels gone wrong. They are unclear requirements, unsafe wiring, devices that fight each other, networks that expose everything, and systems nobody can repair.
This course teaches the engineering behind a dependable, local-first smart home or small building. It starts with systems, zones and measurable requirements, then draws a firm line around mains electricity safety. You choose radios and protocols (Zigbee, Thread, Z-Wave, Matter, Wi-Fi), learn Home Assistant and MQTT discovery, and write automations that people do not hate. You then work through the subsystems (lighting and presence, heating and thermostat control, energy and tariffs, security and safety sensors), the human side (dashboards, notifications, voice), and the operations side (network segmentation and security, reliability, backups, maintenance). The last part covers the commercial world (BACnet, Modbus, KNX and DALI), commissioning and handover, and a method for designing a whole building system with numbers, risks and phases.
What makes this different
Each lesson follows one pattern: the idea, the configuration and commands you will really use, what to build and check on your bench, the mistakes people make, and a lab that runs in your browser. The labs are small functions and command sequences that check the logic and arithmetic behind a build: energy and payback, load ratings, Zigbee channel and Wi-Fi overlap, entity IDs and API addresses, time windows and debouncing, colour temperature and daylight harvesting, heat loss and hysteresis, time-of-use costs, alarm state machines, notification rules, firewall policy, KNX and DALI addressing, backup rotation, quotes and warranties, and risk scores. Two projects then ask you to build a reliable room controller and to design and commission a small building, and a graded capstone asks you to prove a complete, safe system.
The browser labs are practice: they check your answers and show example output. They are not connected to real devices or a real controller. Run the commands on your own system to see real results, because output and option names differ between Home Assistant versions and device firmware.
Safety comes first. The course teaches control logic, protocols and design, not mains wiring. Fixed mains wiring, in-wall switches, consumer-unit work, boilers, heat pumps and anything that switches high power are for qualified electricians and installers, and certified smoke and carbon monoxide alarms stay independent of any smart system. Rules differ between countries, so check the requirements where you work.
The material is written from public documentation and standards (the Home Assistant, Zigbee2MQTT, Mosquitto, Matter, Thread, KNX, BACnet and DALI documentation, and published guidance on electrical and fire safety). Software and product names change quickly, so check the current documentation for your version. It is independent of, and not endorsed by, any vendor named.
What you will learn
- Foundations: subsystems, zones, requirements and savings arithmetic; mains safety, ratings, derating, residual current protection and when to hire an electrician.
- Connectivity and platform: Zigbee, Thread, Z-Wave, Matter and Wi-Fi, channel planning and mesh design; Home Assistant concepts, the REST API, MQTT discovery and Zigbee2MQTT.
- Control: automations, time windows, debouncing and scenes; lighting and presence; heating, hysteresis and schedules; energy, tariffs and solar awareness; alarm panels and safety sensors.
- People and operations: dashboards, notifications and voice; segmentation, firewalls and remote access; reliability, offline-first design, backups and maintenance.
- Professional practice: BACnet, Modbus, KNX and DALI; commissioning, documentation, quotes and handover; designing a whole building with numbers, risks and phases.
How to practise
You need a Raspberry Pi or a small computer (or a virtual machine) to run Home Assistant and Mosquitto, a second computer, and a few low-cost devices: a motion or presence sensor, a temperature sensor, a door or window contact, a smart bulb or plug, and ideally a Zigbee coordinator. You can simulate most devices with MQTT messages from a script. Use battery, low-voltage and certified plug-in parts only, never open mains devices, never wire anything to fixed mains wiring yourself, and treat heaters and other mains loads as design-only or simulated. Keep a notebook of measurements, rules and mistakes.
Prerequisites
The Raspberry Pi and Linux Physical Computing course, or equivalent comfort with Linux, ssh, systemd and MQTT. The Internet of Things and Cloud Connectivity course helps with the security and operations lessons but is not required.
Where it leads
This is the fifth course of the Embedded Systems and IoT division. It prepares you for robotics and actuator projects, and for roles in smart-building installation, integration and facilities technology.