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?

preguntada hace 4 meses142 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
Greg_B
respondido hace 4 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas