Hi,
I tried using this node to read kamstrup watermeters, but when installed and configured, node displays error message:
error connecting (or something similar)
1st I checked settings of USB port:
ls -la /dev/ttyUSB0
which returned this: crw-rw---- 1 root dialout 188, 0 Aug 15 13:24 /dev/ttyUSB0
now I see dialout group is able to communicate with this USB device
Than I had to add "nodered" user to the "dialout group" of the USB port like this:
sudo usermod -a -G dialout nodered
Then restart node-red (in my case: service node-red restart) and node is working, showing status as: Applying filter for serial no: xxxxxxxx --> This shows USB is correctly configured and node is waiting for data from meter.
Hi, I tried using this node to read kamstrup watermeters, but when installed and configured, node displays error message: error connecting (or something similar)
1st I checked settings of USB port:
ls -la /dev/ttyUSB0
which returned this:crw-rw---- 1 root dialout 188, 0 Aug 15 13:24 /dev/ttyUSB0
now I see dialout group is able to communicate with this USB deviceThan I had to add "nodered" user to the "dialout group" of the USB port like this:
sudo usermod -a -G dialout nodered
Then restart node-red (in my case: service node-red restart) and node is working, showing status as:
Applying filter for serial no: xxxxxxxx
--> This shows USB is correctly configured and node is waiting for data from meter.Best regards, Gregor