Google have announced this week that they've opened up the Google Assistant SDK to developers. You can now use the Google Home assistant on your Mac. Read on to find out how to do it!
Using the Home app, you can access all of your home’s smart accessories remotely through Apple TV, HomePod, or iPad. 4 You can do things like shut your garage door, view live camera video of the doorway, or even ask Siri to lower the thermostat — anything you normally do while using the Home app at home. Learn more about Apple TV. Google Home can work as a Bluetooth speaker to play local music from Windows and Mac. Google Home is built with high excursion speakers for crystal clear sound and passive radiators to deliver Hi-Fi sound. Well, you can play songs from Google Play Music, Spotify, or Pandora with voice commands on Google Home.
Building Google Assistant on a Mac![]()
If you're using an iMac or Macbook you can have Google Assistant up and running in 5 minutes or less. https://dkbjqq.weebly.com/mac-email-app-reviews.html. Here's a step by step guide to getting Google Home working on a Mac computer.
1. Install Homebrew on Your Mac
If you haven't already installed Homebrew this is the easiest way to do it inside the Terminal for Mac: Vinyl collection app mac.
ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)' https://dkbjqq.weebly.com/blog/sweet-home-app-mac.
2. Install Python 3 and Create a Virtual Environment for Google Home
First, you'll need to create a directory for Google Home:
mkdir googlehome cd googlehome
Now you can install everything in there:
brew install python3 python3 -m venv env env/bin/python -m pip install --upgrade pip setuptools source env/bin/activate
3. Install the Google Assistant SDK on Mac
You should make sure to use sudo here to give super user permissions for the install on your Mac.
sudo python3 -m pip install --upgrade google-assistant-sdk[samples]
4. Create a Developer Project and Grant API Access
Head to the Google Cloud Platform Projects page and create a new project.
Enable the Google Assistant API for your new project in the Google API Manager.
Now go to the Credentials tab and create an OAuth Client ID. Tick the Other option and the create it.
You'll finally be able to download a file similar to client_secret_XXXX.json (where XXXX is unique to you.) Copy this file into the googlehome directory you created earlier.
5. Google Home Works on a Mac!
Grant your new Google Home for Mac access to your Google account with this command:
python -m googlesamples.assistant.auth_helpers --client-secrets client_secret_XXXX.json
Ensure to replace client_secret_XXXX.json with your client secret filename.
Test your audio (this will record a 5 second sample from your Mac's microphone and play it back):
python -m googlesamples.assistant.audio_helpers
Ready to talk to Google Assistant on your Mac for real? Run this command:
python -m googlesamples.assistant
Now just hit enter to start chatting. List all installed app in terminal mac. You'll even see your speech transcribed on the screen! More commands and tips here at the official Google Assistant SDK page on GitHub.
Permission Setting Problems? Do This!
If you try chatting with Google Assistant and hear, “Actually there are some basic settings that need your permission first. Just go into the Google Home app for details.”
Google Home App For Mac
You'll actually need to head to you Google Account Activity Controls and enable these permissions:
Google App Download For Mac
Google Home App Macbook
That's it, you're all set!
Download Google Home On LaptopGoogle Home Raspberry Pi VersionFree Google Apps For Laptops
It's now also possible to get a budget version of the much loved Google Home running on a Raspberry Pi 3. This is currently the official Google recommended method.
What You'll Need to Build a Raspberry Pi Google HomeHave You Chatted with Google Assistant Yet?
Leave a comment and let me know about the best experiences you've had while talking to your very own homemade Google Home!
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |