如何从设备模型中删除StartStop特征

时间:2018-09-19 20:17:48

标签: traits google-assistant-sdk

完整的菜鸟在这里。我让助理SDK在rasp pi 3+上运行(哇!)。一切运行顺利,我可以触发在Google Home应用/配置文件中配置的一些例程。其中之一是播放“新闻” /播客。虽然正在播放,但是我无法让助手停止播放。我尝试说“ Ok Google,停止”或停止播放,它会确认,但播客会继续播放。

在此站点(我用于整个设置) https://developers.google.com/assistant/sdk/guides/library/troubleshooting#podcast_and_news_playback_issues

它说: 播客和新闻播放问题

助手不遵循播放命令(例如,暂停或停止播客)。

This is an issue if you have the StartStop or OnOff trait enabled for a given device model. Remove this trait from the device model and playback commands will work.

我希望这是我需要做的,但是我不知道该怎么做。如何删除StartStop或OnOff特性?

任何帮助都会很棒!谢谢

1 个答案:

答案 0 :(得分:0)

您可以register actions使用您的设备。设置设备模型时,可以配置要运行的操作类型。从那里,您可以禁用某些特征,例如StartStop