Skip to content

soracom/npm-sensit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sigfox Sensit

Very simple npm module to parse messages sent by a Sensit device

Install

$ npm install --save sensit-sigfox

Use

const SensitMsg = require('./index.js');
var testFrame = "a06e1119";
var msg = SensitMsg.parse(testFrame);

Output

The parse(hexFrame) will gives back an object with the following attributes : mode, frameType, as well as mode-specific attributes (battery, temperature, ...)

⚠️ Work in progress

  • Need to publish the Sensit frames documentation here
  • All modes are not properly parsed yet

Test

npm test

About

NPM module to decode Sensit messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%