Azure / azure-iot-remote-monitoring

Azure IoT Remote Monitoring preconfigured solution
Other
249 stars 221 forks source link

Integrating devices from azure portal #439

Closed in0rdr closed 7 years ago

in0rdr commented 7 years ago

Hi all,

trying to integrate a device created through the Azure cloud portal on https://portal.azure.com into my remote monitoring solution.

I followed the instructions to add devices through the IoT-Suite Interface, works fine so far: https://docs.microsoft.com/en-us/azure/iot-suite/iot-suite-connecting-devices

But what I am trying to achieve is, that any device which connects to the IoT-Hub appears in the IoT-Suite device list. How could (I make) this work? Any help appreciated.

Thanks

in0rdr commented 7 years ago

Found the location (DeviceRegistryRepositoryWithIoTHubDM.GetDeviceList), but this solution is not consistent either way.

In the IoT-Suite device list, the device count will show the #devices from the Hub in the title of the list (e.g. "All Devices (6)"). But this number may differ from the #devices actually displayed in the list.

Maybe adjust the numbering in the title to reflect the devices in DocDB or create new DocDB entries from the Hub twins to avoid confusion?

Thanks