Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howto:receive_iot_data_to_an_azure_iot_hub_endpoint [2019/02/21 19:27]
tmuvee
howto:receive_iot_data_to_an_azure_iot_hub_endpoint [2019/02/27 11:48] (current)
tmuvee
Line 1: Line 1:
 ====== How to setup Thingsee Azure IoT Hub Connection ====== ====== How to setup Thingsee Azure IoT Hub Connection ======
  
-Azure is one of the most common data integration points to where Thingsee data is forwarded. To get the data forwarded to an Azure IoT hub, following information is required+Azure is one of the most common data integration points to where Thingsee data is forwarded. To get the data forwarded to an Azure IoT hub, the following information is required
  
   * Hostname   * Hostname
Line 7: Line 7:
   * SharedAccessKey   * SharedAccessKey
  
-Note that the Thingsee Operations behaves as a single device towards Azure IoT Hubso that you need to define a static DeviceId e.g. "​thingsee"​ that is used by every Thingsee gateway and sensor device. The actual device identifier comes within every Thingsee Message (JSON) in a tsmTuid-property.+Note that the Thingsee Operations behaves as a single device towards Azure IoT Hub so that you need to define a static DeviceId e.g. "​thingsee"​ that is used by every Thingsee gateway and sensor device. The actual device identifier comes within every Thingsee Message (JSON) in a tsmTuid-property.
  
-It is possible to make the integration so that tsmTuid is mapped to DeviceId, but that would require repopulation of all sensor devices to Azureand would make bundled Thingsee Messages a bit trickier to handle.+It is possible to make the integration so that tsmTuid is mapped to DeviceId, but that would require repopulation of all sensor devices to Azure and would make bundled Thingsee Messages a bit trickier to handle.
  
 ===== What we need from you to make the integration happen ===== ===== What we need from you to make the integration happen =====
Line 19: Line 19:
 </​Code>​ </​Code>​
  
-After that is done, you should start receiving following JSON arrays (example) to you Azure IoT Hub. Please be aware that the messages ​comes always ​in JSON arrays, and you need to parse the objects preferably by tsmId-field so that you know what properties to expect. See [[messages:​thingsee_messages_overview|Thingsee Messages.]]+After that is done, you should start receiving following JSON arrays (example) to you Azure IoT Hub. Please be aware that the messages ​come always ​as JSON arrays, and you need to parse the objects preferably by tsmId-field so that you know what properties to expect. See [[messages:​thingsee_messages_overview|Thingsee Messages.]]
  
 <​Code:​js>​ <​Code:​js>​