IoT Export
Connection Template
Azure IoT Core Client
5min
available on the bsc pro from version 3 7 0 introduction the "azure iot core client" export module establishes a connection to the iot hub of an azure cloud via mqtt the device data is transferred according to the definition of the simple iot core docid 5y ebsqs4y5f2pqiacvlt data model the iot logic core docid\ khqqklgdjkioaqd8w kdf data model is used to manage the logic functions corresponding commands are defined in the iot command core docid\ dwtdyep4erjygooftsvch data model all objects are transmitted as telemetry messages commands can be transmitted to the gateway via c2d message configuration the export connection can be created in the iot export area of the web configuration or the bsc remote parameters the parameters are filled in with the values contained in the "connection string" the "iot hub device connection string" is required https //devblogs microsoft com/iotdev/understand different connection strings in azure iot hub/ https //devblogs microsoft com/iotdev/understand different connection strings in azure iot hub/ parameter default value possible values description host the host name of the iot hub instance id \<hardware id> the unique device id which is used in the iot hub key the device key from the iot hub watchdog timeout disabled disabled 1 min 7 days if the connection is in a faulty or disconnected state for this period, the system is restarted refresh all objects after connect disabled enabled disabled if activated, all objects are synchronized after each successful connection after restarting the device, all objects are initially synchronized regardless of this setting send thing descriptions disabled enabled disabled control whether descriptions of the supported devices should be transferred the update of the object data can also be triggered manually by command from the iot command core docid\ dwtdyep4erjygooftsvch setup in detail create device in the azure iot hub you must define a device id this can be freely selected, but we recommend using the hardware id of the system "symmetric key" is selected as the authentication type you can now save the device you can find the hardware id of your system in the web configuration under system >status copy primary connection string now open the details page of the device by clicking on it in the overview now copy the primary connection string this contains the information required in the configuration of the iot export module create iot export the following fields from the "primary connection string" are required you can freely assign the name azure connection string field iot export parameter deviceid id hostname host sharedaccesskey key once you have filled in all the fields, you can save the connection the connection will be displayed as online shortly afterwards if this is not the case, please check that you have set all parameters correctly