Smart home
The Smart Home template is a ready-to-run accelerator for residential IoT projects. It turns a set of standalone sensors and actuators into a single connected home: one interactive floor plan, one comfort profile, and one place to watch energy, temperature, humidity and safety.
💡 Solution Description
The Smart Home template is a ready-to-run accelerator for residential IoT projects. It turns a set of standalone sensors and actuators into a single connected home: one interactive floor plan, one comfort profile, and one place to watch energy, temperature, humidity and safety.
✨ Highlights
Bring your home online in seconds. The Smart Home template deploys a fully interactive apartment — an animated floor plan with live device markers, a comfort sidebar for instant control, and a home-level energy history you can act on. 🏠⚡
Press Install to generate the complete environment — devices, emulated telemetry for the last 24 hours, comfort thresholds and alarms — with no coding required.
📦 What’s inside the box?
We have auto-generated a complete digital twin of a modern home:
- 🏠 Smart House Dashboard: An interactive floor plan with live device markers, a comfort sidebar (thermostat dial, humidifier setpoint, fan speed, light control) and per-device drill-down views.
- 👨👩👧 “Main home” Household: A customer entity that owns every device and stores the comfort thresholds for the whole home.
- 🔐 A Ready Home User: A customer user that lands straight in the Smart House dashboard in full-screen mode — with the permissions to control the home, acknowledge alarms and edit the comfort thresholds, but nothing else.
- 📡 Six Pre-Configured Devices: Thermostat, Humidifier, Fan, Smoke detector, Light sensor and Energy meter — each with its own device profile and a day of emulated history.
- 🚨 Comfort & Safety Alarms: Temperature, humidity, energy consumption and smoke alarm rules that read their thresholds from the home itself, not from hardcoded values.
- 🧮 Home Roll-Up: Calculated fields that propagate device readings up to the household entity, so the home has its own temperature and electricity consumption history.
🌟 Why use this template?
- ⚙️ Thresholds Where They Belong: Comfort limits live on the Main home entity and are editable right from the dashboard’s Settings dialog — one household, one comfort profile, no rule editing.
- 🗺️ Location-Aware Monitoring: Every device is pinned to the floor plan, so a smoke alert or a humidity drop is immediately tied to a room, not to a device name.
- 🕹️ Control, Not Just Charts: Adjust the target temperature, humidity level, fan speed and lighting directly from the dashboard sidebar.
- 📈 Instant Demo Data: Device emulators publish a full day of realistic telemetry with day/night behavior, so the dashboard is alive the moment installation finishes.
✨ Key Features
- Interactive Floor Plan: Click any marker to open a device drawer with the widgets that make sense for that device type.
- Household Energy History: Electricity consumption is rolled up from the energy meter to the home, giving you a single consumption trend for the whole apartment.
- Unified Alarm Center: An alarms calendar and alarms table aggregate every comfort and safety event into one stream 🚨.
- Per-Type Device Views: Thermostat, humidity, smoke, fan, light and energy states, each with the relevant charts and controls.
🌍 Real-World Applications
This template serves as a blueprint for multiple residential scenarios:
-
🏡 Connected Home Products: Ship a consumer app, not a prototype. Use this solution as the reference model for a smart-home vendor portal, where each household is a customer with its own devices and comfort settings.
-
🏢 Rental & Property Management: Replicate the household model per apartment to monitor comfort, spot heating or humidity problems, and track tenant energy usage across a building.
-
🔋 Energy Awareness: You can’t manage what you don’t measure. Use the home-level consumption trend and the energy alarm to surface unusual usage before the bill does.
-
🚨 Safety Monitoring: Combine the smoke detector with the alarms calendar to keep a verifiable history of safety events for a home or a short-term rental.
🔌 How to connect real devices?
- Direct Connectivity: Any device that speaks MQTT, HTTP or CoAP can replace an emulated device — just publish the same telemetry keys.
- IoT Gateway: Use the ThingsBoard IoT Gateway to bridge Zigbee, BLE or Modbus home equipment into the platform.
- Remote Control: Actuators are driven through server and shared attributes — with an optional RPC mode in every control widget — so a real thermostat, humidifier, fan or lamp can consume exactly what the dashboard already sends.
🔗 Related items
The Smart House dashboard is built on a set of dedicated control and visualization widgets that give the home its app-like feel: a Thermostat ruler for picking the target temperature, a Setpoint control dial that drives the humidifier level and its on/off switch, a Step control selector for fan speed, a Light control panel that drives on/off, brightness and colour, a Duty cycle donut that shows how long the smoke detector stayed clear versus triggered, a Trend card that turns raw consumption into a “vs. previous 24 h” figure, and an Alarms calendar that lays every comfort and safety event out month by month. These related items are required to use the solution template, but you don’t need to install them yourself: they will be installed automatically when you install this template. ${item-link:c5e28252-8a0a-40d1-b8a4-271206ea2597} ${item-link:6d0720c0-919e-11f1-9a63-ef2cf49c242b} ${item-link:7b6547a0-8b22-11f1-a1b4-f1800178e9a1} ${item-link:c00fa8f0-8bd6-11f1-a7f9-9fcf2c6d7d09} ${item-link:d071a320-8b0d-11f1-a7f9-9fcf2c6d7d09} ${item-link:b388ec00-90a3-11f1-8bb9-1fd2bcd09466} ${item-link:1b099520-90b1-11f1-8bb9-1fd2bcd09466}
Share Your Solution with the Community
Built a complete IoT solution? Package it as a ZIP archive — dashboards, rule chains, profiles, calculated fields, devices, and emulators — and publish it to the IoT Hub so others can deploy your architecture in one click.