KepServerEx连接到Azure IoT Central

时间:2018-11-14 16:23:32

标签: azure azure-iot-hub azure-iot-central kepserverex

我正在研究监视解决方案的概念证明,并且能够使用Gateway(Kepserverex)> IoT中心> Power BI模型查看我的数据。该解决方案有效,但不可扩展,因此我开始研究Azure IoT Central,因为它提供了开箱即用的监视解决方案,但是我一直在努力如何将Kepserverex和IoT Central连接在一起。我可以使用MQTT或REST进行连接。

有人对如何实现这一目标有任何见识吗?谢谢您的宝贵时间!

1 个答案:

答案 0 :(得分:0)

与将其连接到iothub相同。只需简单地获取设备的Set rngTest = iOption Explicit Sub Tester() Dim testRng As Range, i As Range Dim usrInputA As String Dim LR as Long usrInputA = InputBox("Col 1 Criteria: ") LR = Range("A" & Rows.Count).End(xlUp).Row For Each i In Range("A2:A" & LR) If InStr(i, usrInputA) Then If Not testRng Is Nothing Then Set testRng = Union(testRng, i) Else Set testRng = i End If End If Next i If Not testRng is Nothing Then 'Do what with testRng? End If End Sub scopeId(从右上方的设备浏览器页面-名为device Id的按钮)

然后您可以使用https://github.com/Azure/dps-keygen

创建连接字符串。