JSPM

  • Created
  • Published
  • Downloads 138
  • Score
    100M100P100Q72981F
  • License CC0-1.0

open source java script implementation of the enocean protocol

Package Exports

  • enocean-js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (enocean-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

enocean-js

GitHub

Greenkeeper badge

Code Climate coverage

Code Climate maintainability Code Climate technical debt

Total alerts Language grade: JavaScript

npm

npm

starting with enocean-js@0.0.1-beta.8 there is now an installable package. you can start using and testing it!

install

npm i -S enocean-js

simple examle

nmp i -S enocean-js serialport

and then...

const SerialPort = require('serialport')
const Enocean = require('enocean-js')
const pretty = Enocean.pretty
const ESP3Parser = Enocean.ESP3Parser

const port = new SerialPort('/dev/ttyUSB0', { baudRate: 57600 })
const parser = new ESP3Parser()
port.pipe(parser)

parser.on('data', pretty.logESP3)