Get unique device id for every amazon echo devices

人盡茶涼 提交于 2019-11-27 19:30:01

问题


I need to make a Custom Skill for the Alexa Skills Kit, which should be one echo device in every room. I need to get the device_id for every echo device. I heard this isn't possible, but maybe it changed, or if not is there any other way around.


回答1:


You can do it now! context:System:device:deviceId

As far as I can tell it only works on real devices. So if you are testing in the developer's Skills Manager you don't get the field, but when used with a real Alexa device, it works.




回答2:


This is not yet possible, but you can get the 'userId' from event.session.user.userId.



来源:https://stackoverflow.com/questions/38351019/get-unique-device-id-for-every-amazon-echo-devices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!