question

Voxel avatar image
0 Votes"
Voxel asked Voxel edited

Iot Hub Device Update: Can´t create a device group

I want to create a device group in my IoT Hub to deploy an update to theme. But I get can't create one because no ungrouped devices are listed. I met all Prerequisites mentioned in this guide but still, there is no way for me to create a group.

I posted a much more detailed explanation on Stack Overflow.


azure-iot-hub
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi again, it would be super valuable to specify that your question is about Azure Device Update, as it only just hit preview.

0 Votes 0 ·

Regarding Azure Device Update, it seems you can experience some downtime:

83929-image.png


Perhaps this is related to your experience.

1 Vote 1 ·
image.png (15.5 KiB)

The Azure portal warnings are gone. Please check if the issue still exists

1 Vote 1 ·
Show more comments
Voxel avatar image
0 Votes"
Voxel answered Voxel edited

Log story short, I simply forgot to add the update-agend. I somehow missed the part where this was mentioned while following the guides regarding the Hub setup.
Im now able to create groups by adding tags as mentioned by @SandervandeVelde42
85378-image.png



image.png (27.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SandervandeVelde42 avatar image
0 Votes"
SandervandeVelde42 answered Voxel edited

Hello @MatthiasSchneider-0238 ,

The IoT Hub can ingest the data of many devices. Each device has its own registration which is called a DeviceTwin.

In this Device twin, device-related information is stored. The part of interest to you is the Tags.

You can apply zero, one, or more tags to devices. You can tag devices using a make, model, customerid, region, functionality, version, etc.

These tag values are NOT available on the device, only for other cloud resources:

83702-image.png

And there is where we will see the grouping of devices.

The tags can be used as part of the filter so only certain devices get a certain loT device configuration:

83695-image.png

If you enrich incoming messages with tags, you can take decisions later on, in other Azure services too (like Azure Stream Analytics).

So, grouping devices is done inside the device twin and brings great flexibility later on.

Pro tip: If a device is enrolled using a Azure IoT Device Provisioning service it can automatically get some initial tags.



image.png (45.8 KiB)
image.png (25.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the Answer, but I think this part should be already configured right. I don't know if you looked at my Stackoverflow post, so Ii will post the things mentioned there here as well.
Edit:
I just noticed that I forgot to add a link to my Stackoverflow post. I added it now.

This is a part of my DT
83643-image.png

And when configuring it the tag is found.
83713-image.png

But I am still not able to assign them to a group

0 Votes 0 ·
image.png (21.6 KiB)
image.png (19.0 KiB)