[英]How to develop a Google Voice app that works with smart devices (Google nest devices) now that Conversational actions will be removed?
[英]Channel trait in google actions for smart media devices
我一直在尝试google home nodejs 示例项目。 我在为我的一个家庭项目添加action.devices.traits.Channel
类型action.devices.types.SETTOP
设备时遇到了一些困难。 我也对action.devices.types.REMOTECONTROL
和action.devices.types.TV
进行了同样的尝试,但是action.devices.commands.selectChannel
命令和参数从未达到 firebase 中的 /smarthome 实现 function。 但是, action.devices.commands.relativeChannel
和action.devices.commands.returnChannel
似乎以预期的方式工作。
这里的情况类似。 为机顶盒实现本地家庭 sdk。
就我而言,我可以收到以下请求:
'change to {ABC} on {my stb name}'
但是,它改为向我发送“action.devices.commands.InitiateMedia”并回复“知道了,{ABC} on spotify 在 {my stb name} 上播放”。
* {ABC} is defined in availableChannels
如果您不链接音乐服务,您可以尝试上述命令并分享结果吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.