我正在尝试用google assistant SDK在我的raspberry pi 3上设置自定义命令。我按照this guide来设置我的自定义命令。每当我运行gactions test时,ti都会得到以下错误:
Pushing the app for the Assistant for testing...
ERROR: Failed to test the app for the Assistant
ERROR: The caller does not have permission
2019/05/16 17:50:23 Server did not return HTTP 200我已经使用gactions update上传了我的操作定义json文件,并使用拥有google action项目的Google帐户,该文件已成功更新。因此,我不确定为什么我在我拥有的项目上没有权限,并且拥有一个成功更新的action json。
这是我的自定义操作的json。
{
"manifest": {
"displayName": "DJ Roomba",
"invocationName": "DJ Roomba",
"category": "PRODUCTIVITY"
},
"actions": [
{
"description": "Thanos Snap",
"name": "djroomba.name.ThanosSnap",
"availability": {
"deviceClasses": [
{
"assistantSdkDevice": {}
}
]
},
"fulfillment": {
"staticFulfillment": {
"templatedResponse": {
"items": [
{
"simpleResponse": {
"textToSpeech": "You should have gone for the head"
}
},
{
"deviceExecution": {
"command": "action.devices.commands.ThanosSnap"
}
}
]
}
}
},
"intent": {
"name": "djroomba.intent.ThanosSnap",
"trigger": {
"queryPatterns": [
"Thanos snap"
]
}
}
}
],
"locale": "en"
}我不确定这是否会有帮助,但我正在使用Raspbian Jessie(因为snowboy只支持到那个)
发布于 2019-05-18 01:27:10
因此,事实证明,我必须至少以alpha或beta版本发布我的操作,否则gactions test将无法工作
https://stackoverflow.com/questions/56178842
复制相似问题