为每个亚马逊回声设备获取唯一的设备 ID [英] Get unique device id for every amazon echo devices
本文介绍了为每个亚马逊回声设备获取唯一的设备 ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要为 Alexa Skills Kit 制作自定义技能,它应该是每个房间的一个回声设备.我需要为每个回声设备获取 device_id.我听说这是不可能的,但也许它改变了,或者如果没有,还有其他办法.
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.
推荐答案
你现在就可以做到!context:System:device:deviceId
据我所知,它仅适用于真实设备.因此,如果您在开发人员的技能管理器中进行测试,您将无法获得该字段,但是当与真正的 Alexa 设备一起使用时,它会起作用.
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.
这篇关于为每个亚马逊回声设备获取唯一的设备 ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文