Quick Start: Asset Tree Management

This section describes how to create an asset tree and bind assets (such as devices) to the node of an asset tree through a sample scenario.

Sample scenario

A smart building project needs to collect the PM2.5, temperature, humidity and noise data of the building. Each data has a corresponding sensor and these sensors are connected to a gateway. The gateway is responsible for collecting and forwarding the data to EnOS Cloud.

Each building has different types of sensors. Some buildings have all four sensor types, and some buildings might have only some of them.

In this scenario, we have two buildings, and each building has the following sensors.

  • Building#1
    • PM2.5
    • Temperature
    • Humidity
    • Noise
  • Building#2
    • PM2.5
    • Temperature
    • Noise

Task description

According to the scenario, you need to create models for the assets and build an asset tree based on the asset hierarchy.

  1. Create an asset tree called “Sample Company”.

  2. Create logical assets for two buildings, Building 1 and Building 2.

  3. Create models for the assets, define the following Thing Models.

    3a. Model for PM2.5 sensor

    + Measurement point: PM2.5
    

    3b. Model for temperature sensor

    + Measurement point: temperature
    

    3c. Model for humidity sensor

    + Measurement point: humidity
    

    3d. Model for noise sensor

    + Measurement point: noise
    

    3e. Model for gateway device

    + Attribute: version
    + Measurement point: cpuRates
    

    After creating the models, you can create the products based on the models.

  4. Create an asset tree based on the asset hierarchy of this scenario.

    4a. Create the asset tree for the organization. 4b. Create logical assets for buildings under the root node. 4c. Create a device for each sensor under the logical assets If the gateway is treated as a device, you can attach the gateway device under the buildings. The created asset tree for the scenario is shown in the following figure.

Step

Step 1: create models

Refer to Creating a Model to create models for the assets in the above scenario.

Step 2: create an asset tree

Refer to Creating an Asset Tree to create an asset tree and sub-nodes for the assets in the above scenario.