Dynamic thing group query string distinguish between Greengrass v1 and Greengrass v2 devices.

0

We are in the process of migrating from Greengrass v1 to v2.

We currently use dynamic thing groups to list the devices connected to Greengrass based on connectivity.connected:true query string and it all works well.

It would be useful to us to distinguish between Greengrass v1 and Greengrass v2 devices. Is it possible to do that for the dynamic thing group based on query string?

asked 3 months ago134 views
1 Answer
1
Accepted Answer

Hi. To the best of my knowledge there's nothing baked into fleet indexing that would let you distinguish between GGv1 and GGv2. However you could quite easily use features like Thing attributes, Thing groups, a shadow item etc. Perhaps the easiest approach is to add a GG version Thing attribute to your things. Or create static Thing groups for GGv1 and GGv2 devices.

https://docs.aws.amazon.com/iot/latest/developerguide/iot-thing-management.html https://docs.aws.amazon.com/iot/latest/developerguide/thing-groups.html https://docs.aws.amazon.com/iot/latest/developerguide/example-queries.html https://docs.aws.amazon.com/iot/latest/developerguide/example-thinggroup-queries.html

profile pictureAWS
EXPERT
Greg_B
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions