Nikhil24
Nikhil24

Reputation: 61

How to geolocate an alexa device in real time?

I am trying to build a skill that would geolocate a device in realtime.

Say if a person staying at Germany i.e. his device address is added as Germany in the device but when tomorrow he travels to London then the skill must be able to locate him and say he is in London.

I have checked the Device ID API but with this API it seems the skill will always say that the person is in Germany even if he travels outside of it.

For my skill, the input would just be an invoke .

Any ideas?

Upvotes: 1

Views: 135

Answers (1)

Nikhil24
Nikhil24

Reputation: 61

Alexa devices do not have GPS .. I tried calling Google Geolocation service but got to know it requires GPS details like cell tower, mobile carrier, homeMobileCountryCode, radioType, etc. Hence one possible way is to get the IP and do a reverse lookup or I use Device Address API to read the address configured in my alexa device.

Upvotes: 1

Related Questions