Skip to content

nicolsc/sigfox-message-location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIGFOX Admin — message localisation

Description

Simple NodeJS application that uses the SIGFOX API to display recent messages from a given device.

It displays (italic : data available only to Sigfox admins):

  • Message time
  • Message sequence number
  • Raw payload
  • List of stations having received this message, with the matching RSSI & coordinates
  • Map of the BTS that received the message

Install

  • Install NodeJS
  • Run $ npm install

Access credentials

You need to provide your SIGFOX API credentials for this to work.

You can do this two different ways :

Local file

Use with caution

First, create a config.local.js file

Then, put your credentials using this syntax :

module.exports = {
  DEBUG: 'message-localisation:*',
  SIGFOX_USERNAME: 'username',
  SIGFOX_PASSWORD: 'password'
};

Environment variables

You need to manually set up these two env vars :

  • SIGFOX_USERNAME
  • SIGFOX_PASSWORD

Run

$ npm start

Then open in your browser http://localhost:34004

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages