Home

Awesome

Build Status Coverage Status Standard - JavaScript Style Guide

serialport-enocean-parser

The EnOcean Serial Protocol 3 (ESP3) parser for node-serialport.

Install

npm i -S serialport-enocean-parser

How to use

const SerialPort = require('serialport')
const EnoceanParser = require('node-serialport-enocean-parser');

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

parser.on('data', console.log)