Unable to register Google Assistant Device Model

↘锁芯ラ 提交于 2019-12-06 16:39:27

A very commonly made error - By Google and by the End User - is the naming of your Client Secret file. Google automatically names your CS with a (1) appended to the end of your file name. To setup your G Assistant,

  1. Delete the (1) in the name
  2. Open CMD in the folder with your CS (best in a folder with nothing else)
  3. Run googlesamples-assistant-devicetool register-model --manufacturer "Assistant SDK developer" --product-name "Assistant SDK light" --type LIGHT --model Sudda2252
  4. Now run googlesamples-assistant-pushtotalk --project-id ##MODEL## --device-model-id Sudda2252 Where ##MODEL## = Your project name.
  5. After that, just run googlesamples-assistant-pushtotalk to start G Assistant.

In the devicetool, the --client-secrets argument is in relation to the tool itself, not the command.

The correct order of arguments would be:

googlesamples-assistant-devicetool --client-secrets register-model ...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!