Bosch IoT Insights

Playback widget

The Playback widget can be used to load time series data of other widgets on your dashboard. For some widgets, Playback can be defined in the data source settings to replay the data.

The Playback widget can only be placed once on a dashboard.

The Playback widget can be used in combination with the following widgets:

Example

images/confluence/download/attachments/1083888369/Widget_Playback_Example_2020_07_28.png

Proceed as follows

  1. Select the Playback widget in the widget list.
    → The widget configuration page is displayed.

    images/confluence/download/attachments/1083888369/Widget_Playback_Configuration_2020_07_29.png
  2. Configure the settings as described below.

  3. Click the Add button.
    → The widget is added to the dashboard.

Dashboard Settings

Open the Dashboard Settings pane to set how the widget is displayed in the dashboard.

  1. In the Size drop-down list, decide how much space the widget should take in the form of columns.

  2. In the Visibility drop-down list, decide whether the widget should be shown or hidden in the dashboard.

  3. In the Title field, enter a title for the widget.

General Settings

Open the General Settings pane to configure some general aspects for the widget.

  1. In the Widget Refresh Interval in Seconds field, enter a value in seconds after which the widget should be refreshed.

Data Sources

Open the Data Sources pane to configure the data source for the widget.

You can select a maximum of three data sources.

  1. Click the + Add Source button to add a data source.

  2. Select any of the following options further explained underneath:

Query Template

  1. In the Query Template drop-down list, select a query template that you configured under Explore > Data Explorer, refer to Template Designer.

    A query template is a template that has been created, parameterized, and provided for others. It is similar to an SQL View and shows data in a table view.

    To connect the widget with the Filter Panel widget you created for this dashboard, click the Available references icon images/confluence/download/thumbnails/1083888369/icon_reference.png and select the Filter Panel.

    If you have a time parameter, you can choose between absolute time and relative time by clicking the time icon images/confluence/download/thumbnails/1083888369/icon_absolute_relative_time.png .

  2. Click the Source data preview icon

    images/confluence/download/thumbnails/1083888369/icon_widget_refresh.png

    to open a preview.

  3. Click the Save Data Source button.

Single Device

  1. In the Default Device ID drop-down list, select a Device ID.

    To connect the widget with the Filter Panel widget you created for this dashboard, click the Available references icon images/confluence/download/thumbnails/1083888369/icon_reference.png and select the Filter Panel.

  2. Click the Source data preview icon

    images/confluence/download/thumbnails/1083888369/icon_widget_refresh.png

    to open a preview.

  3. Click the Update Source button.

Multiple Devices

  1. In the Select Device Types drop-down list, select a device type.

  2. Click the Advanced Settings button to narrow down the output.

  3. In the Start field, enter a value to specify the device to start with.

    Example: If you select 3, the first two devices are skipped.

  4. In the Limit field, enter a value to specify the last device.

    The maximum is 200 devices.

  5. In the Fields field, enter the fields whose information shall be retrieved from Bosch IoT Things.

  6. In the Sort field, enter a field configured in Bosch IoT Things according to which the data shall be sorted.

  7. In the Namespaces field, add namespaces separated by a comma.

  8. In the DefaultFilter field, add a filter to narrow down the search results.

    To connect the widget with the Filter Panel widget you created for this dashboard, click the Available references icon images/confluence/download/thumbnails/1083888369/icon_reference.png and select the Filter Panel.

  9. Click the Source data preview icon

    images/confluence/download/thumbnails/1083888369/icon_widget_refresh.png

    to open a preview.

  10. Click the Update Source button.

Device Count

The Device Count data source is based on the counting functionality in Bosch IoT Things and is used to count things.

  1. In the Select Device Type drop-down list, select the device types/devices to be used as data source.

    • All Devices: Counts all devices regardless of the fact that they have a device type or not

    • All Device Types: Counts the devices that have the thing attribute type which means that the device belongs to a device type

    • Without Device Type: Counts the devices without the thing attribute type

    • Device Type xy: Counts the devices of the selected device types

  2. Click the Advanced Settings button to narrow down the output.

  3. In the Namespaces field, add namespaces separated by a comma.

  4. In the DefaultFilter field, add a filter to narrow down the search results.

    To connect the widget with the Filter Panel widget you created for this dashboard, click the Available references icon images/confluence/download/thumbnails/1083888369/icon_reference.png and select the Filter Panel.

  5. Click the Source data preview icon

    images/confluence/download/thumbnails/1083888369/icon_widget_refresh.png

    to open a preview.

  6. Click the Update Source button.

Playback Settings

Open the Playback Settings pane to further set the Playback widget.

  1. In the Path to Frame Data drop-down list, select the base path for the time series data that shall be displayed in the widget.

    Only the specified time series data will be filtered and not the whole document.

    The iterator [i] is used for the path to traverse the elements of a data set.

  2. In the Path to Time Identifier drop-down list, select the path of the time element from your data.

  3. In the Default Speed drop-down list, select a speed for the widget.