Google Assistant integration

Now you can run Google Assistant within the Volumio speaker and issue commands to control the speaker ass well.

Here is the “How to” video:

Timestamps
0:00 Introduction
0:43 Installing Volumio
3:49 Configuring Volumio for Google Assistant
12:55 Installing Google Assistant
21:31 Working Demo

And here is the link to the project page.

As of today, you can, play, pause, change speaker volume, change tracks. Suggestions are welcome.

Awesome!

I’ve been using your GassistPi in the past, I’ll try for sure to have it running with Volumio too!

it can be a great fit with this one

Is it possible to use a 12sdac with this google assistant integration ?
Will be nice to have an official plugin in volumio

You can use any DAC of your choice. I am not an expert with Volumio plugins. :neutral_face:

You think it’s possible to change the spelling language of google assistant ?

You can change it to any language listed here https://support.google.com/googlenest/answer/7550584?hl=en

ok thank you !

But i have some trouble during installation…
I have tu update Python… Do you have an issue ?

volumio@sejour:~$ sudo ./GassistPi/scripts/gassist-installer.sh
This script must run as volumio, trying to change user…

Enter the your full credential file name including the path and .json extension: /home/volumio/client tent.com.json

Enter the your Google Cloud Console Project-Id: volumio–assis df

Enter the modelid that was generated in the actions console: volumio–ass l9v

Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/contrib Sources
Hit http://archive.volumio.org jessie/non-free Sources
Hit http://archive.volumio.org jessie/rpi Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/contrib armhf Packages
Hit http://archive.volumio.org jessie/non-free armhf Packages
Hit http://archive.volumio.org jessie/rpi armhf Packages
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/ui Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/ui armhf Packages
Ign http://archive.volumio.org jessie/contrib Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/non-free Translation-en
Ign http://archive.volumio.org jessie/rpi Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/ui Translation-en
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘libxslt1-dev’ instead of ‘libxslt-dev’
git is already the newest version.
libffi-dev is already the newest version.
libmpg123-dev is already the newest version.
libssl-dev is already the newest version.
libxml2-dev is already the newest version.
libxslt1-dev is already the newest version.
portaudio19-dev is already the newest version.
python is already the newest version.
python-dev is already the newest version.
python-pip is already the newest version.
python-setuptools is already the newest version.
python3 is already the newest version.
python3-dev is already the newest version.
python3-lxml is already the newest version.
python3-pip is already the newest version.
python3-setuptools is already the newest version.
python3-venv is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: pyaudio in /usr/local/lib/python2.7/dist-packages (0.2.11)

Your board supports voice controlled Google Assistant.

Traceback (most recent call last):
File “/usr/lib/python3.4/runpy.py”, line 170, in _run_module_as_main
“main”, mod_spec)
File “/usr/lib/python3.4/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/home/volumio/env/lib/python3.4/site-packages/pip/main.py”, line 23, in
from pip._internal.cli.main import main as _main # isort:skip # noqa
File “/home/volumio/env/lib/python3.4/site-packages/pip/_internal/cli/main.py”, line 10, in
from pip._internal.cli.autocompletion import autocomplete
File “/home/volumio/env/lib/python3.4/site-packages/pip/_internal/cli/autocompletion.py”, line 9, in
from pip._internal.cli.main_parser import create_main_parser
File “/home/volumio/env/lib/python3.4/site-packages/pip/_internal/cli/main_parser.py”, line 7, in
from pip._internal.cli import cmdoptions
File “/home/volumio/env/lib/python3.4/site-packages/pip/_internal/cli/cmdoptions.py”, line 24, in
from pip._internal.cli.progress_bars import BAR_TYPES
File “/home/volumio/env/lib/python3.4/site-packages/pip/_internal/cli/progress_bars.py”, line 12, in
from pip._internal.utils.logging import get_indentation
File “/home/volumio/env/lib/python3.4/site-packages/pip/_internal/utils/logging.py”, line 18, in
from pip._internal.utils.misc import ensure_dir
File “/home/volumio/env/lib/python3.4/site-packages/pip/_internal/utils/misc.py”, line 20, in
from pip._vendor import pkg_resources
File “/home/volumio/env/lib/python3.4/site-packages/pip/_vendor/pkg_resources/init.py”, line 92, in
raise RuntimeError(“Python 3.5 or later is required”)
RuntimeError: Python 3.5 or later is required

I try but it does not work ```
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python3.7

Do not do sudo apt-get upgrade that will destroy the existing volumio installation. Did you add the Raspbian sources to the sources.list ? If you follow the steps one by one Given in the project README it will work without an issue. I tested this on the latest Volumio image ( VERSION: 2.779 RELEASE DATE: 08-06-2020)

ok i will try again with a new micro sd card of volumio

There was a small typo that was writing the Raspbian sources to the wrong list. I have fixed that. It should work now. You can start from here https://github.com/shivasiddharth/GassistPi/blob/Volumio/README.md#add-raspbian-sources

Ok thank you ! Will try it soon !