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?

已提問 4 個月前檢視次數 143 次
1 個回答
1
已接受的答案

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
專家
Greg_B
已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南