Bosch IoT Device Management

Manage features via Bosch IoT Suite UI

Goal

Let us assume, you will later have multiple digital twins for different type of devices and a user app will need to display data reports that the the device is working within its specification.

The easiest way to store such rather dynamic type of information is by adding features, and let device driver itself to continuously update the fields with current values.

In this tutorial you will enrich your hello-world-device-01 with a feature called temperature with the following properties:

{
"status": {
"value": {
"currentMeasured": 0,
"minMeasured": 0,
"maxMeasured": 0
}
}
}

Procedure

Navigate to the Bosch IoT Suite UI:

  1. Click the Things view.

  2. Select your thing.

  3. Click Features.

  4. Click Manage.

  5. Click the + icon, to add a feature.

  6. Set the ID to temperature.

  7. In the Properties field add the content from the snippet above.

  8. Confirm with OK.

images/confluence/download/attachments/1634788006/hello-world-features.png

The thing is updated respectively.

Result

Now the feature values are stored and can be forwarded to other applications. For example, if you have an application which is interested in these values, it can automatically be notified with a "change" event.

Once you have more things, you can use these features entries as search arguments.

Note: The search is case sensitive.

Example 1: Find all things with current temperature above 20 degree Celsius.

Things >Filter > Advanced > Query

gt(features/temperature/properties/status/value/currentMeasured,"20")

The Feature Updates tab is useful as soon you receive device data.
We will simulate that the device sends new values in section Manage features via Hub HTTP API.