Smart Hotel
The Smart Hotel template is a ready-to-run accelerator for hotel operators and facility teams. It brings every guest room into one dashboard: temperature, humidity and occupancy, power and water use, alarms that know whether a room is occupied, and an interactive 3D model of the building where every room is colored by its status.
💡 Solution Description
The Smart Hotel template is a ready-to-run accelerator for hotel operators and facility teams. It brings every guest room into one dashboard: temperature, humidity and occupancy, power and water use, alarms that know whether a room is occupied, and an interactive 3D model of the building where every room is colored by its status.
🔗 Related items
This template depends on the 3D Model Viewer widget, which powers the Overview — it renders the GLB model of the hotel, binds every room asset in the datasource to its named mesh through the room’s meshId attribute (room_101 … room_103, room_201 … room_202), and uses per-room color, tooltip and label functions to show alarm state, occupancy and live readings right on the building. This related item is required to use the solution template, but you don’t need to install it yourself: it will be installed automatically when you install this template.
✨ Highlights
Turn room climate sensors and energy and water meters into an observable hotel with the Smart Hotel solution template. Designed for hotel operators, facility managers and hospitality groups. 🏨💡
Press Install to get a two-storey hotel with five rooms, 15 devices, one week of demo history per device, calculated fields, alarm rules and a dashboard built around a 3D model of the building.
📦 What’s inside the box?
- 🏢 3D building overview: Hotel KPIs — rooms occupied tonight, power now, energy and water in the period, average room temperature — and one panel with the 3D building next to the rooms table. Every room on the model is colored by its alarm state (🟢 normal, 🔴 active alarm) and labelled with its number; hover a room for its temperature, humidity, power and occupancy, click it to open the room.
- 🛏️ Room view: Room KPIs, the climate and energy & water charts, the room’s meters with their latest readings and an Edit thresholds dialog.
- ⚡ Energy and 💧 Water: Hotel load and water flow over time, per-room breakdowns and room rankings including use per occupied night.
- 👥 Occupancy, 🌡️ Temperature, 💦 Humidity: Trends, year-at-a-glance calendar heat maps and room rankings.
- 🚨 Alarms: Every alarm of the hotel on an alarms calendar, plus hotel-wide threshold editing for all rooms.
- 🎬 Realistic demo data: Guests check in and out every day, power and water follow the occupancy with morning and evening peaks — and a few live incidents to explore right after installation: a tap left running and power drawn in vacant rooms, a steamy bathroom and an overheated room.
🌟 Why use this template?
- 🔎 Occupancy-aware alarms: Water running or power drawn in a vacant room is flagged immediately — the classic waste and leak scenarios.
- 🧩 Rollups without code: Calculated fields propagate device readings to rooms and roll rooms up to the hotel.
- 🎚️ Per-room limits: Every room keeps its own comfort band and vacancy limits, editable from the dashboard.
- 🧱 Bring your own building: The shipped model is a two-storey hotel with five rooms, but you are not locked in. The hotel model is published in the open thingsboard-building-glb-models repository, together with other building models and a Claude Code skill that generates GLB models of your own building. Use a model with one named mesh per room, point the 3D Model Viewer at it, set each room’s
meshId, and the coloring, labels, tooltips and drill-down work the same way.
✨ Key Features
- 3D digital twin of the building: See the whole hotel at once and spot the rooms that need attention by color — no floor plans or tables to scan 🏨.
- Room drill-down from the model: Click a room on the building or in the table to open its detail page with charts, meters and thresholds.
- Consistent color language: The same green / red rule on the model, in the rooms table and in the room view — one glance, full understanding.
- Alarm roll-up: Alarms raised on a room or a meter propagate to the hotel, so the overview always reflects the worst case.
🌍 Real-World Applications
- 🏨 Hotels and resorts: Cut energy and water waste in empty rooms and keep guests comfortable.
- 🏠 Serviced apartments and hostels: Watch many small units from one dashboard and one 3D model.
- 🎓 Dormitories and senior living: Comfort and leak monitoring across residential rooms.
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.