Actions on google 谷歌智能媒体设备行动中的渠道特征
我已经试过了。在我的一个家庭项目中,我正在添加一个类型为Actions on google 谷歌智能媒体设备行动中的渠道特征,actions-on-google,google-smart-home,google-assistant,Actions On Google,Google Smart Home,Google Assistant,我已经试过了。在我的一个家庭项目中,我正在添加一个类型为action.devices.types.SETTOP的设备,我在使action.devices.traits.Channeltrait工作时遇到了一些困难。我也尝试过同样的action.devices.types.REMOTECONTROL和action.devices.types.TV但是action.devices.commands.selectChannel命令和参数永远不会到达firebase中的/smarthome功能。但是,a
action.devices.types.SETTOP的设备,我在使action.devices.traits.Channel
trait工作时遇到了一些困难。我也尝试过同样的action.devices.types.REMOTECONTROL
和action.devices.types.TV
但是action.devices.commands.selectChannel
命令和参数永远不会到达firebase中的/smarthome功能。但是,action.devices.commands.relativeChannel
和action.devices.commands.returnChannel
似乎以预期的方式工作。这里的情况类似。为机顶盒实现本地家庭sdk
就我而言,我可以通过以下方式接收请求:
'change to {ABC} on {my stb name}'
但是,它会发送“action.devices.commands.InitiateMedia”,并在spotify上播放{my stb name}时响应“明白了,{ABC}”
* {ABC} is defined in availableChannels
如果您没有链接到音乐服务,您可以尝试上面的命令并共享结果吗?您的有效负载是否正确地包含与可用通道之一相匹配的通道号
或通道号
您在项目日志中是否看到任何错误?