sunsetdk / node-red-contrib-wmbus-client

A node-red node to receive data from a USB vm-bus dongle and output data for Kamstrup21 water meter.
MIT License
6 stars 3 forks source link

ReferenceError: serielport is not defined when using AMBER Stick #10

Closed AndreasTheCat closed 2 years ago

AndreasTheCat commented 2 years ago

Sir,

expirienced error: 30 Dec 14:26:19 - [error] [wmbus-dongle:237369f3f07e58fc] ReferenceError: serielport is not defined when using the Amber Stick on Win10. Error does not not show up at the ImSt-Stick, but of course I do not own one. Any help would be fine :-)

Yours, A.

sunsetdk commented 2 years ago

Has this worked before or has it just started failing now?

AndreasTheCat commented 2 years ago

Look at

line 59 in wmbus-client/lib/client/telegramClient.js (serielPort is the correct variable name)

which you reference

sunsetdk commented 2 years ago

Thanks. I have comittet it. i will need to public a new version. but as i refer my specific version you may be albe to just reinstall that node.