【发布时间】:2018-12-02 19:59:09
【问题描述】:
我正在用我的 Raspberry Pi 3 制作一个谷歌助手,我只是想像在文档 (https://developers.google.com/assistant/sdk/guides/service/python/extend/handle-device-commands) 中那样打开和关闭一个 LED,但是当我运行这个命令 googlesamples-assistant-pushtotalk 来测试它时,我收到一个错误:
(env) pi@raspberrypi:~ $ googlesamples-assistant-pushtotalk
INFO:root:Connecting to embeddedassistant.googleapis.com
WARNING:root:Device config not found: [Errno 2] No such file or
directory: '/home/pi/.config/googlesamples-
assistant/device_config.json'
INFO:root:Registering device
ERROR:root:Option --device-model-id required when registering a device
instance.
我已尝试进行故障排除,但似乎没有任何效果。我完全迷失在这里。任何帮助表示赞赏!
谢谢!
【问题讨论】:
标签: raspberry-pi google-assistant-sdk