About:
This is a tutorial on how to create the Alexa Google home skill from github.com/tartanguru/alexa-assistant
Easily the best skill yet!
—————————————————–
What can’t it do?:
Alarms and timers. Use Alexa for these.
Device location. If you have a Home address set in your google account then it will use that as a default
Playing music, news, or podcasts is not supported.
Account linking for third party services requires owning a Google Home and installing the Google Home application. This affects using services like Uber, or connecting to home automation devices like Hue.
Multiple Users are not supported – it will only use the Google account linked through the Alexa app
Asking Google Assistant to change volume. You will need to ask Alexa directly.
—————————————————–
Does it cost anything?:
This skill uses chargable services on Amazon Web Services – although these should be free for the first 12 months of use if you are a new user of AWS. Otherwise the costs will be approx $5.20 per year based upon 1000 calls to the skill a month.
—————————————————–
Privacy:
You will need to give Google Assistant access to the following features on your Google account. If you do not give access to these then the skill will not work (This is a Google policy not mine). If you are concerned about privacy, then you could use a new google account just for this skill and not login using this account elsewhere
Web & App Activity
Location History
Device Information
Voice & Audio Activity
—————————————————–
A note about shopping lists:
Shopping lists are supported – you will need to use the Google Express app to see them, or if you are not in the US or don’t want to use the app then you can access the shopping list here: – www.google.com/express/shoppinglist/
—————————————————–
Links and code:
Link 1:
www.random.org/strings/?num=1&len=20&digits=on&loweralpha=on&unique=on&format=html&rnd=new.
Link 2:
console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview
Link 3:
myaccount.google.com/activitycontrols
Code 1:
{
“Version”: “2012-10-17”,
“Statement”: [
{
“Effect”: “Allow”,
“Action”: [
“logs:CreateLogGroup”,
“logs:CreateLogStream”,
“logs:PutLogEvents”
],
“Resource”: [
“arn:aws:logs:*:*:*”,
“arn:aws:lambda:*:*:*”
]
},
{
“Effect”: “Allow”,
“Action”: [
“polly:SynthesizeSpeech”
],
“Resource”: [
“*”
]
},
{
“Effect”: “Allow”,
“Action”: “s3:*”,
“Resource”: “*”
},
{
“Effect”: “Allow”,
“Action”: “dynamodb:*”,
“Resource”: “*”
}
]
}
Code 2:
{
“intents”: [
{
“intent”: “AMAZON.StopIntent”
},
{
“intent”: “AMAZON.CancelIntent”
},
{
“slots”: [
{
“name”: “search”,
“type”: “SEARCH”
}
],
“intent”: “SearchIntent”
}
]
}
Code 3:
accounts.google.com/o/oauth2/auth?access_type=offline
Code 4:
www.googleapis.com/auth/assistant-sdk-prototype
Code 5:
www.googleapis.com/auth/script.external_request
Code 6:
accounts.google.com/o/oauth2/token
Code 7:
www.google.com/policies/privacy/ |