跳转至

树莓派 Google Assistant

+++ date = "2017-05-16" description = "Magic Mirror" title = "Google Assistant" +++

https://magicmirror.builders/

1. 安装

Follow google website to do it:

https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/config-dev-project-and-account

  1. go to the Projects page. Select an existing project or create a new project.

https://console.cloud.google.com/project

  1. Enable the Google Assistant API on the project

https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview

  1. Create an OAuth Client ID

https://console.developers.google.com/apis/credentials/oauthclientdownload the client secret JSON file

  1. Copy the download file to raspberry.

2. 配置

3 启动与停止

https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

pm2 stop MagicMirror