出自flip the world

Application - Google Assistant:修訂間差異

Tommy​(留言 | 貢獻)
Refactor: add [[Category:Projects ]]
Tommy​(留言 | 貢獻)
Add a lead sentence
 
(未顯示同一使用者於中間所作的 1次修訂)
第1行: 第1行:
Running '''Google Assistant''' alongside Alexa on a Raspberry Pi with a speaker and microphone.
[[File:Alexa-logo-3.png|300px|Alexa Logo]] [[File:Sym add.jpg|100px]] [[File:Google-Assistant.png|300px|Google_assistant Logo]]
[[File:Alexa-logo-3.png|300px|Alexa Logo]] [[File:Sym add.jpg|100px]] [[File:Google-Assistant.png|300px|Google_assistant Logo]]
== Hardware ==
== Hardware ==
第37行: 第39行:


== Reference ==
== Reference ==
* [https://github.com/xtools-at/AssistantPi, AssistantPi]
* [https://github.com/xtools-at/AssistantPi AssistantPi]
* [https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/config-dev-project-and-account, Configure a Developer Project and Account Settings]
* [https://developers.google.com/assistant/sdk/prototype/getting-started-pi-python/config-dev-project-and-account Configure a Developer Project and Account Settings]
* [https://github.com/cmusphinx/pocketsphinx, PocketSphinx]
* [https://github.com/cmusphinx/pocketsphinx PocketSphinx]


[[Category:Projects]]
[[Category:Projects]]

2026年8月23日 (日) 17:56的最新修訂

Running Google Assistant alongside Alexa on a Raspberry Pi with a speaker and microphone.

Alexa Logo Google_assistant Logo

Hardware

  • PRi
  • Speake
  • Microphone

OS

  • Raspbian

Assistant Pi

AssistantPi is basically a tweak of AlexaPi allowing you to run Google Assistant and Amazon's Alexa on a Raspberry Pi. It includes the Google Assistant SDK and uses AlexaPi's hotword recognition to activate either Assistant or Alexa. The installer provides an easy way to get everything set up in just under an hour.

This is just an experimental proof-of-concept without broad support.

Credits / Further Resources:

    AlexaPi on Github
    AlexaPi Installation Guide
    Google Assistant SDK on Github
    Google Assistant SDK Getting Started Guide

Alexa

  • To start AssistantPi in debugging mode, stop the service (if running) and run the script with the -d flag:
    • sudo systemctl stop AlexaPi.service
    • python /opt/AlexaPi/src/main.py -d

Google assistant

  • To start the embedded Google Assistant SDK, run
    • /opt/AlexaPi/env/bin/python -m googlesamples.assistant --credentials /etc/opt/AlexaPi/assistant_credentials.json
# same as running
### source /opt/AlexaPi/env/bin/activate
### python -m googlesamples.assistant --credentials /etc/opt/AlexaPi/assistant_credentials.json

Reference