我一直在尝试在我的Raspberry Pi 3上的Google Assistant SDK上注册一个设备实例。
以下是我的输入代码
googlesamples-assistant-devicetool --project-id RASPI-ED53D register --model RASPI-ED53D-LIGHT-7NBZNA --type OUTLET --manufacturer SUPERCONN --product-name LIGHT --device 0001 --client-type LIBRARY输出/错误
创建新设备模型时出错:无法注册模型: 400
无法创建设备模型。检查请求是否包含请求有效负载中具有有效格式的必填字段project_id。有关详细信息,请参阅https://developers.google.com/assistant/sdk/reference/device-registration/model-and-instance-schemas。
根据google资源,语法是正确的。
有什么想法吗?
发布于 2019-03-25 04:41:16
模式列出的是action.devices.types.OUTLET,而不是OUTLET。当我列出我的设备时,它们指定了相似的类型,例如:Device Type: action.devices.types.SPEAKER
https://stackoverflow.com/questions/55212301
复制相似问题