【发布时间】:2018-12-06 00:38:14
【问题描述】:
我正在研究智能家居 Alexa Skill 和相应的 Lambda 函数。有很多演示,它们似乎都返回罐头文本。有没有办法通过 Lambda/JS 获取用户帐户的连接设备列表?
这样的示例:
const USER_DEVICES = [
{
// This id needs to be unique across all devices discovered for a given manufacturer
applianceId: 'unique-id-for-non-dimmable-bulb-specific-to-user1',
},{},{},...]
我希望实现更像这样的代码:
const USER_DEVICES = Some.Alexa.Function.GetConnectedDevices()
谢谢!
【问题讨论】:
标签: alexa-skills-kit alexa-skill smarthomeskill