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?

demandé il y a 4 mois142 vues
1 réponse
1
Réponse acceptée

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
répondu il y a 4 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions