获取每个亚马逊回声设备的唯一设备ID [英] Get unique device id for every amazon echo devices

查看:109
本文介绍了获取每个亚马逊回声设备的唯一设备ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为Alexa技能套件制作自定义技能,该套件应该是每个房间中的一个回声设备。我需要为每个回显设备获取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.

推荐答案

您可以立即开始!
上下文:系统: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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆