question

newuser-1b0693e9-09f2-43b8-a2f1-996a1891c11b avatar image

How to interact with devices groups?

Hi guys, trying to figure out how to work with groups. Let's say I have a group of 3 devices.
As far as I understand after command to the group Alexa API sends 3 single requests to my lambda.
Are there any possibilities to:
- identify I'm processing group request-response cycle instead of single shot
- group/concat single requests and respond once

Thank you in advance

alexa smart homedevicesgroups
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jenn@amazon avatar image
Jenn@amazon answered

Device Groups are configured by the Customer and could contain devices from multiple skills/manufacturers and/or different types of devices with different capabilities. So when a Customer directs an command to a Device Group, it's treated as if the Customer is requesting it per device.

Sounds a really good use case for a single call. If you submit a feature request, we can route it to the appropriate team.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.