2.1.3 • Published 2 years ago

dsmr-parser v2.1.3

Weekly downloads
6
License
MIT
Repository
github
Last release
2 years ago

DSMR parser

Quick and dirty DSMR (Dutch Smart Meter Requirements) parser. Will only parse DSMRv4 telegrams (not DSMRv3 or older).

Installation

$ npm i dsmr-parser

Caveats

DSMR "telegrams" should have a CRLF line ending, and should end with a blank line. This is a requirement of the protocol, and the checksum calculation depends on it.

Example

const parser   = require('dsmr-parser');
const telegram = parser.parse(`\
/KFM5KAIFA-METER\r
\r
1-3:0.2.8(42)\r
...
!8A3F\r
\r
`);

console.log( telegram.objects );
2.1.3

2 years ago

2.1.2

4 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.0

9 years ago