【发布时间】:2018-03-18 18:06:28
【问题描述】:
我有一个物联网设备需要支持各种操作,其中之一是来自Alexa.PlaybackController 的next。我的设备是多媒体设备,也需要许多其他控制器。我在我的设备的发现响应中包含Alexa.PlaybackController,如下所示:
{
"type": "AlexaInterface",
"interface": "Alexa.PlaybackController",
"version": "3",
"supportedOperations": ["Next"],
}
我也试过了:
{
"type": "AlexaInterface",
"interface": "Alexa.PlaybackController",
"version": "3",
"properties": {
"supported": [
{"name": "next"}
]
},
}
但两者都不起作用。我在 CloudWatch 上收到架构错误:
is not valid under any of the given schemas
查看下面的架构,我看到 PlaybackController 确实不包含在架构中。但是,所有文档都使它看起来应该是微不足道的。我想知道是否需要包含其他内容来表明播放是我需要的。
PlaybackController 在某些方面是否特殊,不能与其他控制器结合使用?我试过用谷歌搜索这个架构错误,但它太模糊了,什么都没有出现。
任何帮助将不胜感激!
__
编辑:
我现在看到视频设备似乎获得了一组不同的可用控制器,但在娱乐设备的常规智能家居技能周围的很多地方仍然提到使用PlaybackController。真的希望这是可能的!
【问题讨论】:
标签: iot alexa alexa-skills-kit smarthomeskill