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?

posta 4 mesi fa144 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
Greg_B
con risposta 4 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande