All Projects → shivasiddharth → Assistants Pi

shivasiddharth / Assistants Pi

Headless Google Assistant and Alexa on Raspberry Pi

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Assistants Pi

Assistantcomputercontrol
Control your computer with your Google Home or Amazon Alexa assistant!
Stars: ✭ 554 (+97.86%)
Mutual labels:  alexa, assistant, google-assistant, amazon-alexa
Gassistpi
Google Assistant for Single Board Computers
Stars: ✭ 911 (+225.36%)
Mutual labels:  assistant, google-assistant, google, raspberry-pi
Tock
Tock - the open source conversational AI toolkit
Stars: ✭ 175 (-37.5%)
Mutual labels:  alexa, assistant, google-assistant
Google Assistant Java Demo
A simple Google Assistant Client in Java
Stars: ✭ 53 (-81.07%)
Mutual labels:  assistant, google-assistant, google
Macassistant
Google Assistant for macOS!
Stars: ✭ 1,564 (+458.57%)
Mutual labels:  assistant, google-assistant, google
Google Assistant Hotword Raspi
Simple Google Assistant with hotword activation from Snowboy setup for my Pi Zero W.
Stars: ✭ 146 (-47.86%)
Mutual labels:  assistant, google-assistant, raspberry-pi
Awesome Voice Apps
🕶 A curated list of awesome voice projects, tools, and resources for Amazon Alexa, Google Assistant, and more.
Stars: ✭ 138 (-50.71%)
Mutual labels:  alexa, google-assistant, amazon-alexa
Jovo Framework
🔈 The Open Source Voice Layer: Build Voice Experiences for Alexa, Google Assistant, Samsung Bixby, Web Apps, and much more
Stars: ✭ 1,320 (+371.43%)
Mutual labels:  alexa, google-assistant, amazon-alexa
Alexa Skills Kit Sdk For Java
The Alexa Skills Kit SDK for Java helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
Stars: ✭ 758 (+170.71%)
Mutual labels:  alexa, amazon-alexa, sdk
Assistantjs
TypeScript framework to build cross-platform voice applications (alexa, google home, ...).
Stars: ✭ 100 (-64.29%)
Mutual labels:  alexa, google-assistant, amazon-alexa
ad-alexatalkingclock
Alexa (or other Smart Speakers) tell you the time without asking every hour. Please ⭐️if you like my app :)
Stars: ✭ 30 (-89.29%)
Mutual labels:  alexa, assistant, amazon-alexa
Home Assistant
Home-Assistant-Config
Stars: ✭ 182 (-35%)
Mutual labels:  alexa, raspberry-pi
Yoda.js
Application Framework that powered YodaOS
Stars: ✭ 183 (-34.64%)
Mutual labels:  alexa, google-assistant
Chatskills
Run and debug Alexa skills on the command-line. Create bots. Run them in Slack. Run them anywhere!
Stars: ✭ 171 (-38.93%)
Mutual labels:  alexa, amazon-alexa
Homeassistant Config
Stars: ✭ 211 (-24.64%)
Mutual labels:  alexa, raspberry-pi
Bst
🔧 Bespoken Tools - Tools for making voice apps faster and better
Stars: ✭ 193 (-31.07%)
Mutual labels:  alexa, google-assistant
Brad Homeassistant Config
Home Assistant configuration
Stars: ✭ 212 (-24.29%)
Mutual labels:  alexa, raspberry-pi
alexa-ruby
Ruby toolkit for Amazon Alexa service
Stars: ✭ 17 (-93.93%)
Mutual labels:  alexa, amazon-alexa
Asher.Ai
Welcome to the API side of Asher, where all the language processing happens.
Stars: ✭ 20 (-92.86%)
Mutual labels:  assistant, google-assistant
Jaicf Kotlin
Kotlin framework for conversational voice assistants and chatbots development
Stars: ✭ 160 (-42.86%)
Mutual labels:  alexa, google-assistant

Assistants-Pi

One installer for both Google Asistant and Amazon Alexa

Simultaneously run Google Assistant and Alexa on Raspberry Pi


If you like the work, find it useful and if you would like to get me a ☕️ 😄 paypal


Note:

18/01/2020: Routine update and bug fixes.


Before Starting the setup


For Google Assistant

  1. Create a project in the Google's Action Console.
  2. Download credentials--->.json file (refer to this doc for creating credentials https://developers.google.com/assistant/sdk/develop/python/config-dev-project-and-account)

For Amazon Alexa

  1. Create a security profile for alexa-avs-sample-app if you already don't have one.
    https://github.com/alexa/avs-device-sdk/wiki/Create-Security-Profile

  2. Download the "config.json" file.


Setup Amazon Alexa, Google Assistant or Both


  1. Clone the git using:
git clone https://github.com/shivasiddharth/Assistants-Pi  

DO NOT RENAME THE CREDENTIALS FILEs
Place the Alexa config.json in file in the /home/pi/Assistants-Pi/Alexa directory.
Place the Google client_secret.....json file in the /home/pi/ directory.

  1. Make the installers executable using:
sudo chmod +x /home/pi/Assistants-Pi/scripts/prep-system.sh    
sudo chmod +x /home/pi/Assistants-Pi/scripts/audio-test.sh   
sudo chmod +x /home/pi/Assistants-Pi/scripts/installer.sh  
  1. Prepare the system for installing assistants by updating, upgrading and setting up audio using:
sudo /home/pi/Assistants-Pi/scripts/prep-system.sh
  1. Restart the Pi using:
sudo reboot
  1. Make sure that contents of asoundrc match the contents of asound.conf
    Open a terminal and type:
sudo nano /etc/asound.conf

Open a second terminal and type:

sudo nano ~/.asoundrc

If the contents of .asoundrc are not same as asound.conf, copy the contents from asound.conf to .asoundrc, save using ctrl+x and y

  1. Bonus Script - Test the audio setup using the following code (optional). Dont panic if the test does not go through successfully, proceed with the installation:
sudo /home/pi/Assistants-Pi/scripts/audio-test.sh  
  1. Restart the Pi using:
sudo reboot
  1. Install the assistant/assistants using the following. This is an interactive script, so just follow the onscreen instructions:
sudo /home/pi/Assistants-Pi/scripts/installer.sh  
  1. After verification of the assistants, to make them auto start on boot:

Open a terminal and run the following commands:

sudo chmod +x /home/pi/Assistants-Pi/scripts/service-installer.sh
sudo /home/pi/Assistants-Pi/scripts/service-installer.sh  

For Alexa:

sudo systemctl enable alexa.service  

For Google Assistant:

sudo systemctl enable google-assistant.service  
  1. Authorize Alexa before restarting
sudo /home/pi/Assistants-Pi/Alexa/startsample.sh  

Manually Start The Alexa Assistant

Double click start.sh file in the /home/pi/Assistants-Pi/Alexa folder and choose to "Execute in the Terminal".

Manually Start The Google Assistant

Open a terminal and execute the following:

/home/pi/env/bin/python -u /home/pi/Assistants-Pi/Google-Assistant/src/main.py --project_id 'replace this with the project id '--device_model_id 'replace this with the model id'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].