nicolsc / sigfox-message-location

4 stars 1 forks source link

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):

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 :

Run

$ npm start

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