Skip to content

Show on a map the position history of any sigfox device

License

Notifications You must be signed in to change notification settings

nicolsc/sigfox-tracking-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sigfox device tracking

Show on a map the position history of any sigfox device, with a NodeJS/HAPI simple web server

Screenshot

How

  • Fetch data using the Sigfox API
  • Rely the Sigfox Atlas network-based geolocation service to retrieve position history
  • Display data on an OpenStreetMap map, using Leaflet

Setup

Get a Sigfox device

If you do not have a Sigfox device yet, the easier way is to buy one the compatible Development Kits.

They all come with included access to the full Sigfox service.

Retrieve your Sigfox API Credentials

Complete guide available here

  • Login to your Sigfox Cloud account
  • Navigate to your Group, and enter the API Access menu

API Credentials

Create an API credentials pair. You will need DEVICES_MESSAGES[R] rights at least.

Set up your Sigfox Geolocation service

To get your device's position computed, you first need to set up a Geoloccallback. It can be either a push to an URI, or an email.

Follow the complete guide on our Resources website

Install

$ npm install

Run

Set the following 3 environnement vars :

  • API_LOGIN : Sigfox API Login. Not your Sigfox Cloud login !
  • API_PASSWORD: Sigfox API Password. Again, not your Sigfox Cloud password!
  • LEAFLET_TOKEN : Your Leaflet token

$ npm start

Use

About

Show on a map the position history of any sigfox device

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published