I am trying to set up my Aeotec GEN5 zwave dongle on Ubuntu.
I presume this is the device when i run dmesg | grep tty.
[ 0.095335] printk: console [tty0] enabled
[ 1.024808] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 3.636987] cdc_acm 1-8:1.0: ttyACM0: USB ACM device
[ 852.416369] cdc_acm 1-4:1.0: ttyACM0: USB ACM device
[76890.475612] cdc_acm 1-4:1.0: ttyACM0: USB ACM device
I have then installed zwavejs on node red and wondered how that is set up using the parameters.
If you have installed the node I discussed, bring in the
zwave-js node, and it will be listed for you to select.
but if your using any layer between it and Node RED like docker or HA for instance, you need to ensure that its mapped correctly - so Node RED can see it
you don't need to adjust the speed or anything - that's done for you.
but here is the detail anyway if you need it (normally you don't) - as its configured for you
1 Stop Bit
8 Data Bits
When I bring in the Zwave Controller node and click on the properties It does not list it, If I set the custom path to
ZWaveError: Failed to open the serial port: Error: No such file or directory, cannot open ttyACM0
This mean Node RED its self cant see it.
You will need to map the serial device via HA or Docker - as I do not use either, I'm not sure how you do it.
If you are using either of these, I feel you mileage may vary.
Many thanks for your very prompt replies, I was hoping I could just use node-red on my ubuntu install along with my Aeotec dongle and avoid Docker and HA. I am just trying to keep it simple and to be honest though I feel confident with node-red and have written quite a few complicated functions in the past, My Ubuntu skills are very lacking along with Docker. I previously used HA but i felt it over complicated what i was trying to achieve. I have a Fibaro HC" which I want to replace due to lack of support and thought node-red could maybe facilitate that.
Installing Node RED directly on Ubuntu is fairly uneventful.
Node RED provide a script that will work on Ubuntu
Running on Raspberry Pi : Node-RED (nodered.org)
The problems with HA or Docker - is that they hide the underlining hardware devices - hence you need to map them - so software like Node RED can see them.
My node-red is running well on my Ubuntu I just need to get the dongle visible in Node-red.
Many thanks for your help
If its not being listed in Node RED - then something is stopping it (like a layer between Node RED and the hardware)
20 March 2023 14:20
How did you install node-red on Ubuntu. Did you use the script linked by
I did it some time ago and cannot remember, sorry for being vague.
Here is a quick test
Bring in an exec node - and use
ls as the command (connect a debug node to the
let us know what output you get
Uhh.. ok try
I was almost expecting to see
Ok - I still cant tell
I currently think its strange Node RED cant see the serial device.
This could just be a permissions problem
Laughing your very clever
does the user need to be in the dialout group in order to see the port ?
sudo usermod -a -G dialout $USER
and then logout / back in again
Thank you for helping
should I replace $USER with my username
They will need to be - listing devices is achieved via the
odley enough its listed (from Node RED's point of view via
ls) - but apparently Node RED cant see it - usually hinting at a layer between Node RED and the hardware.
can you (again all in the exec node) do
needs to be the user that is running Node-RED. if you run from command line then $USER should be same as your user - but... (eg can do
echo $USER to see)