Skip to content

dvillarama/where-is-my-wife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

where-is-my-wife

A Node module to interact with iCloud/Alexa

Installation

 npm install
 zip -r ../where.zip *
 load where.zip in Amazon lambda
 create an Alexa skill and point to your lambda endpoint

Summary

Using the find-my-phone library and AWS lambda, we can ask Alexa the location/distance of an apple device.

So you should be able to go, 'Alexa, ask <your skill app name> where is my wife?' and 'Alexa, ask <your skill app name> how far is she from me?'

Links

https://console.aws.amazon.com/lambda - setup your lambda function here https://developer.amazon.com/edw/home.html#/ - setup your alexa skill here

Environment Variables in Lambda

Env Variable Description
name icloud username
pass icloud password
device_name mobile device
my_latitude your location
my_longtitude your location

Alexa Settings

Intent Schema

"intents": [
{
"intent": "WhereIntent"
},
{
"intent": "HowFarIntent"
},
{
"intent": "AMAZON.HelpIntent"
}
]
}

Sample Utterances

WhereIntent Where
HowFarIntent How far

About

Using icloud (find-my-phone) locate my apple device by asking Alexa/echo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published