Bosch IoT Suite

Hub to Things connection - deprecated 2019-12

The deprecated type of connection will only work until February 2020.
Find detailed migrations steps at Bosch IoT Things >...> Connection - migration.

This section describes the default pre-configured connection which is established automatically by subscribing the Bosch IoT Suite for Asset Communication package.
In case you need to adjust it, find here some details of how it should be configured.

Bosch IoT Hub

  1. Your instance is automatically pre-configured to be allowed to send messages to our cloud infrastructure.
    Bosch IoT Hub does not have a UI on its own, thus all relevant information is accessible via Bosch IoT Things Dashboard.

  2. By default, the automatically created connection is named "Devices via Bosch IoT Hub".
    The connection is visible at the Bosch IoT Things Dashboard, see below.

Bosch IoT Things

Your instance is pre-configured to allow all messages from Hub to be routed and processed at Bosch IoT Things.

  1. Open the Connections tab to see the entries created automatically during the package booking process.

  2. Click the default connection to see its details.

  3. The Coordinates section is filled with the Hub credentials received at booking.

  4. In section Sources you will find the pre-configured topics:

    1. Source 1

      1. event/{{your-hub-service-tenant-ID}} and

      2. telemetry/{{your-hub-service-tenant-ID}}

      3. The authorization subject: integration:{{your-things-service-solution-ID}}:hub
        This entry can also be found in the default policy which we create for you.

      4. The option to Enable Bosch IoT Hub/Things ID convention is checked by default and a strong prerequisite for the successful and secure communication between the two service layers.
        Thus, keep in mind that the device ID at the Hub will be identical with the thing ID at the Things service by default.

    2. Source 2

      1. control/{{your-hub-service-tenant-ID}}/replies

      2. The authorization subject: integration:{{your-things-service-solution-ID}}:hub
        This entry can also be found in the default policy which we create for you.

      3. Header mappings.

  5. In section Targets you will find the pre-configured topics

    1. Targets

      1. control/{{your-hub-service-tenant-ID}}/{{ thing:namespace }}:{{ thing:name | fn:substring-before(':') | fn:default(thing:name) }}

      2. Twin events

      3. Live messages

      4. Live events

      5. Live commands

      6. The authorization subject: integration:{{your-things-service-solution-ID}}:hub
        This entry you will also find in the default policy which we create for you.

      7. Header mappings.

        The default expression for the target address (at 5.i) was composed in a manner to support gateway scenarios based on Bosch IoT Gateway Software, where the thing ID is structured by several colon characters,
        e.g. namespace:gateway-name:edge-device-name.

        However, in case your device does not reside behind a gateway, but your thing name itself needs to contain a colon character (additionally to the one separating the namespace from the name), you will need to simplify the address expression to
        control/{{your-hub-service-tenant-ID}}/{{ thingId }}

        If your device is not connected via gateway, and still uses additional colon characters, and you do not consider this adjustment, your communication from the cloud to the devices will not be successful, and will be dropped because of incorrect addresses.

Further reading

You can configure additional connections with the Bosch IoT Hub as well as generic endpoints using AMQP 1.0, AMQP 0.9.1 (e.g. RabbitMQ), MQTT or Apache Kafka (outgoing only).