1.0.0 • Published 4 years ago

@bencevans/ve.direct v1.0.0

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
4 years ago

@bencevans/ve.direct

Victron VE.Direct Parser

  • Read and parses Victron VE.Direct (Text Mode).
  • Checks data integrity by protocol's checksum.
npm install @bencevans/ve.direct

Usage

const VEDirect = require('@bencevans/ve.direct');

(new VEDirect('/dev/...')).on('data', console.log);
// ...
// {
//   PID: 41055,
//   FW: 150,
//   'SER#': 'xxxxxxxxxxx',
//   V: 12790,
//   I: 800,
//   VPV: 38870,
//   PPV: 13,
//   CS: 3,
//   MPPT: 2,
//   OR: 0,
//   ERR: 0,
//   LOAD: 'ON',
//   IL: 200,
//   H19: 417,
//   H20: 25,
//   H21: 183,
//   H22: 38,
//   H23: 168,
//   HSDS: 8
// }
// ...

Related