ruudverheijden / node-p1-reader

Node.js package for reading and parsing data from the P1 port of a Dutch or Belgian Smart Meter.
MIT License
25 stars 25 forks source link

Baudrate should be parsed as a integer #24

Open pagaille opened 2 years ago

pagaille commented 2 years ago

https://github.com/ruudverheijden/node-p1-reader/blob/010d59bf512b70ca39c74fc84e54e96b4c2e2dfe/main.js#L46

I believe you should parse the baudrate as an integer. I've got issues using node-red-contrib-p1reader (see https://github.com/onokje/node-red-contrib-p1reader/issues/2)

Txs