Check your connectivity and successful digital twin updates

Task description

To check connectivity between devices and Bosch IoT Suite you can send a telemetry message from your device and check that the data are transferred from the device via Bosch IoT Hub to Bosch IoT Things.

Prerequisites

At this point we assume you have already followed the sections:

How to execute

Turn your device on

We assume the device driver was successful in connecting to Bosch IoT Hub, and that is sending telemetry messages, e.g. via MQTT protocol.

Check connectivity metrics

You can now check if they have been successfully ingested:

  • Use the Dashboard link from your images/confluence/download/thumbnails/894250643/suite-list-subscription-icon.png Service Subscriptions page.

    images/confluence/download/attachments/894250643/subscriptions-dashboard.png

  • Navigate to Connections and click the Device via Bosch IoT Hub connection to see its details.

  • Open the Metrics tab of your connection to see the current statistic about messages.
    In case your device is sending data, you should see success entries.
    That proves that the connection is open and ready to ingest data.

    images/confluence/download/attachments/894250643/connection-metrics.png
  • You can "Reset metrics" to delete all old metrics, and activate "Refresh automatically".
    Then, you will see here only the new ones, which most probably are emitted by your device, and routed successfully via Bosch IoT Hub.

  • To track a log entry, first of all you will need to enable logging (default time frame is 1 hour).
    Open the Log entries tab and click the respective button.

  • In case your device is still sending data, these log entries can be now filtered in the log entries view and analyzed.

  • Example: Enrich your thing with a new attribute.
    At the Metrics table, click the number in the dispatched row.
    The log entry view would look like in the following sample.

    images/confluence/download/attachments/894250643/log-entry.png

Check if your digital twin shows the latest values

Use the Things dashboard to check if your Things representing the digital twin of your device is updated.

See Make things accessible for the Things dashboard for details.

Check the log files on your gateway

In case you employ a gateway for connecting your edge devices, you might need to also consult those log files.

Find a brief example on how to employ the Bosch IoT Gateway Software logging mechanisms at Gateway examples > Logging.