I'm using Amazon's Echo Dot, and I have several Echo devices. I want to identity that, from which echo dot invokes a request, is it possible to find whether which, echo dot makes request, with any unique identity?
Asked
Active
Viewed 406 times
0

ck3g
- 5,829
- 3
- 32
- 52

suresh 10decoders
- 13
- 7
-
Possible duplicate of [Get unique device id for every amazon echo devices](https://stackoverflow.com/questions/38351019/get-unique-device-id-for-every-amazon-echo-devices) – Sebastian Brosch Jan 04 '18 at 14:31
1 Answers
0
Yes. In the Alexa Skill Kit Documentation is a chapter about Request and Response JSON Reference. If you look here.
Look for the device object in your request. It includes an unique device-ID.
var yourDeviceID = this.event.context.System.device.deviceId;

A.Kraus
- 288
- 3
- 6
-
works charm for my case its working with this minor change, Thanks Man var yourDeviceID = event.context.System.device.deviceId; – suresh 10decoders Jan 04 '18 at 15:37