Professional Edition
ThingsBoard Documentation
Cloud Professional Edition Community Edition IoT Gateway License Server Trendz Analytics
Try it now Pricing
Documentation > Solution Templates > Smart office
Getting Started
Guides Installation Architecture API FAQ

On this page

Smart office template

At the moment, the Solution Templates are only available in ThingsBoard Cloud. Supporting solution templates in ThingsBoard PE is scheduled for version 3.3.

Smart Office template represents a basic work space monitoring and management solution. With this template you get an interactive dashboard with the ability to control HVAC system, and have a high-level report of key metrics necessary for effective and proactive office management.

Dashboard

As part of this solution, we have created the “Smart Office” dashboard that displays data from multiple devices. You may use the dashboard to:

  • observe office sensors and their location;
  • browse indoor temperature and power consumption history;
  • monitor temperature alarms;
  • control HVAC (requires connected device);
  • observe specific details for each sensor.

The dashboard has multiple states. The main state displays the list of the devices, their location on the office map as well as the list of their alarms. You may drill down to the device details state by clicking on the table row. The device details are specific to the device type.

You may always customize the “Smart Office” dashboard using dashboard development guide.

Devices

We have already created “Office” asset and 4 devices related to it. We have also loaded demo data for those devices. See solution instructions for the list of created devices and their credentials.

Solution expects specific telemetry from each device based on its type. You may find payload examples below.

Energy meter

Payload example:

1
{"voltage":  220, "frequency":  60, "amperage": 16, "power": 3000, "energy": 300 }

Water meter

Payload example:

1
{"water": 2.3, "voltage": 3.9 }

Smart sensor

Payload example:

1
{"co2": 500, "tvoc": 0.3, "temperature": 22.5, "humidity": 50, "occupancy": true}

HVAC

Payload example:

1
{"airFlow": 300, "targetTemperature": 21.5, "enabled": true}

HVAC device also accepts commands from the dashboard to enable/disable air conditioning as well as set target temperature. The commands are sent using the platform RPC API.

You may find the exact commands to send data on behalf of created devices in the solution instructions. See connecting devices for various connectivity options to connect real devices.

Alarms

Alarms are generated using two Alarm rules in the “smart-sensor” device profile.