Quickly access shadow of multiple things

0

Hello,
We want to show the current status of our things in a web interface. Their state is stored in each individual shadow. What is the easiest way to access 100+ shadows quickly?
We are using Java and the only way to access the message broker I found in the java SDKs is in the device SDK. However, AWSIotMqttClient connection is limited to 50 subscription which makes it hard to manage many shadows at once.
What is the intended way to access the shadow from a web application backend?

Thanks in advance!

Gepro
asked 5 years ago224 views
1 Answer
0

Hi Gepro,

This sounds like a potential use case for fleet indexing and maybe dynamic thing groups. With this feature enabled, you could write a query that returns a bunch of shadows in one go. Check out these features:

https://docs.aws.amazon.com/iot/latest/developerguide/iot-indexing.html

https://docs.aws.amazon.com/iot/latest/developerguide/dynamic-thing-groups.html

HTH,
Ryan

AWS
Ryan_B
answered 5 years 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