Docker build of Google Assistant for Raspberry Pi (with Kodi/LibreELEC)
1.5K
Docker build for Google Assistant on Raspberry Pi.
https://github.com/obstruse/GoogleAssistant-Docker
https://hub.docker.com/r/obstruse/googleassistant
Intended for use on LibreELEC(Kodi) with Docker and Portainer addons.
To create a Google Developer Project and enable access to the Google Assistant API, do the following:
Create an OAuth Client ID with the following steps:
Create the client ID. [Create an OAuth Client ID]
You may need to set a product name for the product consent screen. On the OAuth consent screen tab, give the product a name and click Save.
Click Other and give the client ID a name.
Click Create. A dialog box appears that shows you a client ID and secret. Click OK
Click the download icon: ⬇ (at the far right of screen) for the client ID to download the client secret JSON file. (you may need to scroll the page to the right to see the icon) Save the file.
Boot the Pi using LibreELEC from PINN (PINN Is Not NOOBS):
https://sourceforge.net/projects/pinn/
or using the LibreELEC installer:
https://libreelec.tv/downloads/

mount -o remount,rw /flash
vi /flash/config.txt
dtparam=audio=on
Install the Docker add-on :


Install the Portainer add-on:


Access Portainer at: http://192.168.1.12:9000 (replace the IP with the address of your Raspberry Pi)


/root/installCred.sh

The output audio level is set to 60% after installation. To increase the volume, say the following:
"Hey Google, set volume to maximum"
The Raspberry Pi automatically selects either HDMI or speaker jack for audio output, depending on what's available at boot time. If both are available, it defaults to HDMI. To force it to always use the speaker jack:
vi /storage/.config/autostart.sh
amixer cset numid=3 1
Google Assistant will use the speaker jack for output, and Kodi will continue to use HDMI
Content type
Image
Digest
Size
88 MB
Last updated
about 5 years ago
docker pull obstruse/googleassistant