Query Device Properties in Bulk

Discussing technical aspects of Yun development products, including IoT Core and other cloud service APIs, data analysis products, etc.


Post Reply
andrewj
Posts: 1

Hi,
I'm developing an application to provide an overview of domestic IoT devices. It's based on the IoT Core APIs, in particular "Query Properties": /v2.0/cloud/thing/{device_id}/shadow/properties.

My code works fine, but every time I refresh the display (once or twice a minute) I have to make separate call to "properties" for each device in turn. This "chatty" interface increases network and server load, and is relatively slow because I have to throttle my client code to avoid breaching call rate limits (I have over 50 devices).

Is there a bulk query API which includes the properties (not just the "device details")? If not, is there any way to bundle properties queries for multiple devices into a single API call, or make multiple API calls in one exchange with the server?

Thanks
Andrew

Post Reply