munkireport/location

Module for munkireport.

Installs: 8 732

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 4

Forks: 4

Open Issues: 0

Language:JavaScript

v1.6 2020-05-31 09:34 UTC

This package is auto-updated.

Last update: 2024-08-20 23:17:34 UTC


README

Provides location information on where a Mac is physical located.

This module relies on pinpoint an external project located here: https://github.com/jelockwood/pinpoint

Note: To avoid seeing the Development Map you need to enable Maps JavaScript API for your project in the Google Cloud Platform Console and add it as GOOGLE_MAPS_API_KEY in the MunkiReport's .env configuration file.

#Database entries

The following data is collected and can be accessed via MunkiReport's API:

  • Address - Str, Estimated street address
  • Latitude - Str, Latitude
  • Longitude - Str, Longitude
  • LatitudeAccuracy - Int, Latitude Accuracy
  • LongitudeAccuracy - Int, Longitude Accuracy
  • Altitude - Int, Altitude
  • GoogleMap - Str, Pre-populated Google Maps URL
  • LastRun - Str, Last run time stored in UTC time
  • LastLocationRun - Str, Last time a location run was done successfully
  • CurrentStatus - Str, Friendly message describing last run
  • LS_Enabled - Int, are Location Services enabled
  • StaleLocation - Str, Yes/No to indicate if the lookup location is from an old run