Skip to content

An easy, battery-efficient way to share your location on a map while you wander aimlessly through life

License

Notifications You must be signed in to change notification settings

contolini/whereis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An easy, battery-efficient way to share your location on a map while you wander aimlessly through life. Your location will be logged in the background and uploaded whenever a data connection is available.

Uses ThingSpeak, MapBox and the GPSLogger mobile app.

Set up ThingSpeak

  1. Create a ThingSpeak account.
  2. Create a new channel with the following properties:
    • Name: gps
    • Field 1: time
    • Field 2: lat
    • Field 3: lon
    • Field 4: satellites
    • Field 5: altitude
    • Field 6: speed
    • Field 7: direction
    • Field 8: battery
  3. Set the channel's sharing setting to "Share channel view with everyone"

Set up mobile app

  1. Install gpslogger on your Android device.
  2. Go into setting and "Log to custom URL".
  3. Enter https://api.thingspeak.com/update?api_key=XXXXXXXXX&field1=%TIME&field2=%LAT&field3=%LON&field4=%SAT&field5=%ALT&field6=%SPD&field7=%DIR&field8=%BATT where XXXXXXXXX is your ThingSpeak channel's API key (available in your channel's settings)
  4. Adjust logging intervals and whatever else you want under settings.

There are probably iPhone apps that do similar logging. LMK if you find one.

Set up your website

  1. Fork this repo. Edit your forked repo's settings to serve GitHub Pages from master.
  2. Edit a couple variables in index.html.
  3. Edit the CNAME file with your proper URL (or delete it).

Log a few requests and see if they appear on the map that hopefully renders. Board a plane and set the app to record your position once every 15 minutes. Have a nice trip and stay safe.

About

An easy, battery-efficient way to share your location on a map while you wander aimlessly through life

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages