Skip to content

Sends notifications if a device enters or leaves a designated area

License

Notifications You must be signed in to change notification settings

IndoorLocation/indoor-location-alerter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

indoor-location-alerter

Node.js application to send Spark messages if a device enters or leaves a designated area.

Installation

Node.js is required.

  • Clone the repository
  • Go the main folder, install the modules with npm install

Configuration

Via environment variable:

  • INDOOR_LOCATION_SOCKET_URL: Socket server URL (default: http://localhost:3003)
  • USER_ID: User identifier (IP or MAC address) (required)
  • MAPWIZE_API_URL: Mapwize API URL (default: https://api.mapwize.io)
  • MAPWIZE_API_KEY: Mapwize API KEY (required)
  • MAPWIZE_PLACE_ID: Mapwize Place ID that represents the area (required)
  • CISCO_SPARK_TOKEN: CISCO Spark user token (required)
  • CISCO_SPARK_TO_PERSON_EMAIL: To address email to send private messages (required)

Or directly edit the values in config/env/all.js.

Use

Run the npm start command.

About

Sends notifications if a device enters or leaves a designated area

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published