Bosch IoT Device Management

Add a bar chart for the octopus device

This section assumes, you want to visualize the temperature values as a bar chart.

images/confluence/download/attachments/1634788067/temp.png


The Bosch IoT Insights dashboard allows - among others - to explore your data forwarded by the digital twin layer and to visualize the values in a chart.

This example shows how to create a bar chart displaying the temperature values.

Prerequisites

At this point, we assume you have already configured the connection to forward data from the digital twin layer to Bosch IoT Insights, and that your octopus device policy explicitly allows the forwarding.


Find the specific data that should be displayed

  • Login an the Insight dashboard

  • Explore > Data Explorer > + Add Query Template

    • Set a name for the template in order to find it again at a later point in time.

      images/confluence/download/attachments/1634788067/inisghts-template.png

Add a bar chart to display the values

  • Navigate to the Overview page.

  • Click Add widget

    • From the Chats section select Bar.

    • The Chart Widget view will mark red all input filed missing default settings

    • As a Data Source now you can select

      • Query Template > your own query template created in the section above > Save Data Source

      • The Widget Preview - at the right side - shows that some settings are still missing.

    • For the X-Axis Data select [i].payload.timestamp - this is the time when the digital twin layer has modified the data.

    • For the Y-Axis Data select [i].payload.value.ambient_temperature.properties.status.sensorValue - this is the value measured by the Octopus device (i.e. ambient_temperature sensor).

    • Click Add to have this widget rendered on your "Overview" page.


images/confluence/download/attachments/1634788067/2021-bar-chart.png

By default, the widget shows up at the end of the page.

If you need the size or the title adjusted:

  • Click Activate Editing at the end of the page.

  • Then click the edit icon in the upper right corner of the chart.
    e.g. to adjust the width edit Dashboard Settings > Size > Half (2 Columns)

  • Click Save to end the editing dialog.

If you want to see the chart at the start of the page:

  • Click Start sorting at the end of your Overview page

  • Drag and drop the widget to the top

  • Finish sorting.

Please remember, that filtering the amount of data at the step "Explore > Data Analyzer" will be crucial when working with more than "lab data" of one device.

The complete Bosch IoT Insights documentation in available at: https://bosch-iot-insights.com/static-contents/docu/html/Introduction.html.