https://github.com/akimach/google-assistant-pi
Google Assistant on RaspberryPi 3
https://github.com/akimach/google-assistant-pi
google-assistant google-home python python-3 raspberry-pi raspberry-pi-3 raspberry-pi-gpio
Last synced: about 1 year ago
JSON representation
Google Assistant on RaspberryPi 3
- Host: GitHub
- URL: https://github.com/akimach/google-assistant-pi
- Owner: akimach
- Created: 2017-09-22T13:13:49.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T03:50:16.000Z (over 8 years ago)
- Last Synced: 2025-04-01T07:54:04.769Z (about 1 year ago)
- Topics: google-assistant, google-home, python, python-3, raspberry-pi, raspberry-pi-3, raspberry-pi-gpio
- Language: Python
- Homepage:
- Size: 626 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Google Assistant for Raspberry Pi 3
===============================================
Demo
----
.. image:: https://user-images.githubusercontent.com/17570265/30750609-e0fc4792-9ff1-11e7-93f8-cfdba1c9d7dc.png
:target: https://www.youtube.com/watch?v=kjYlPxOtYY8
Prerequisites
-------------
- `Python `_ >= 3.4
- SBC with ``linux-arm7l`` (eg: Rasbperry Pi 3) or ``linux-x86`` architecture.
- A `Google API Console Project `_
- A `Google account `_
Pin Assignment
-------------
======= ===========
PIN Device
======= ===========
+3V3
GND
GPIO 17 Tact switch
GPIO 22 Red LED
======= ===========
.. image:: ./pin-assignment.png
Setup
-----
- Install Python 3 on RaspberryPi3 ::
sudo apt-get update
sudo apt-get install python3 python3-pip python3-venv
- Create a new virtual environment (recommended)::
python3 -m venv env
env/bin/python -m pip install --upgrade pip setuptools
source env/bin/activate
- Install the sample dependencies using pip_::
pip install --upgrade -r requirements.txt
- Run the script::
python3 pi-assistant.py