Closed PauLL54 closed 4 years ago
(accidentally hit the Enter key) the required installation of libudev-dev. Also, the stable release 1.6 is not building. So I used 1.6.784. MinOZW does produce error messages which I ignored. Finally "npm install node-red-contrib-openzwave". worked. Now I see the zwave nodes in the editor.
The following failed: npm install node-red-contrib-openzwave-am
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
Unfortunately, after adding a zwave input node, node-red stops and cannot start anymore: 2019-08-15 13:18:20.612 Always, OpenZwave Version 1.6-784-g124c3115-dirty Starting Up 2019-08-15 13:18:20.644 Always, Using Language Localization 2019-08-15 13:18:20.658 Warning, Failed - Network Key Not Set 2019-08-15 13:18:22.420 Error, ERROR: Cannot open serial port /dev/ttyUSB0. Error code 2 2019-08-15 13:18:22.420 Error, ERROR: Failed to open serial port /dev/ttyUSB0 2019-08-15 13:18:22.421 Warning, WARNING: Failed to init the controller (attempt 0)
Fortunaly I had made an image. But how to continue?
The way to unblock the node-red server is to remove the flows_raspberrypi.json file in /home/pi/.node-red. A pity that a wrong parameter can block the node-red server. Next I found out not to use the default /dev/ttyUSB0 controller port in the zwave node but /dev/ttyACM0 instead. Now the zwave node is working fine!
I've this this problem too, this was due to the node-red process not having permission to access the USB device (had to add the user to 'dialout' group). Again this is irrelevant to the Node-Red node , this is a problem with the underlying driver.
Hi Elias,
Thank you for solving the issues in Github. We want to move from a home automation project from Domotics to Node-Red using ZWave devices.
I don’t think that I have made of the following issue: when no ZWave dongle is attached to the Raspberry Pi, Node-Red will not start anymore. Is this a known issue?
Best, Paul Langemeijer
Van: Elias Karakoulakis notifications@github.com Verzonden: Monday, March 23, 2020 7:26 AM Aan: OpenZWave/node-red-contrib-openzwave node-red-contrib-openzwave@noreply.github.com CC: PauLL54 PaulLangemeijer@hotmail.com; Author author@noreply.github.com Onderwerp: Re: [OpenZWave/node-red-contrib-openzwave] Installation description not up to date? (#70)
I've this this problem too, this was due to the node-red process not having permission to access the USB device (had to add the user to 'dialout' group). Again this is irrelevant to the Node-Red node , this is a problem with the underlying driver.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOpenZWave%2Fnode-red-contrib-openzwave%2Fissues%2F70%23issuecomment-602409654&data=02%7C01%7C%7C3bc1fb7748b94913867508d7cef311a9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637205415670407269&sdata=kpcWoAwosP2Amhr%2B35Hpc%2BPLlYkNKuAiJQnnLA6MMfM%3D&reserved=0, or unsubscribehttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEEVG2QLC2UR4HTDWWYJZBTRI36H5ANCNFSM4IL4MKFA&data=02%7C01%7C%7C3bc1fb7748b94913867508d7cef311a9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637205415670417273&sdata=AZXN%2FHqthnkytGe1dq%2FbBRTVgU5dcwkSKp6lEHXydbE%3D&reserved=0.
yes, I have just committed a fix for this and will be available with 1.6.3
Στις Δευ, 23 Μαρ 2020 στις 8:46 π.μ., ο/η PauLL54 notifications@github.com έγραψε:
Hi Elias,
Thank you for solving the issues in Github. We want to move from a home automation project from Domotics to Node-Red using ZWave devices.
I don’t think that I have made of the following issue: when no ZWave dongle is attached to the Raspberry Pi, Node-Red will not start anymore. Is this a known issue?
Best, Paul Langemeijer
Van: Elias Karakoulakis notifications@github.com Verzonden: Monday, March 23, 2020 7:26 AM Aan: OpenZWave/node-red-contrib-openzwave < node-red-contrib-openzwave@noreply.github.com> CC: PauLL54 PaulLangemeijer@hotmail.com; Author < author@noreply.github.com> Onderwerp: Re: [OpenZWave/node-red-contrib-openzwave] Installation description not up to date? (#70)
I've this this problem too, this was due to the node-red process not having permission to access the USB device (had to add the user to 'dialout' group). Again this is irrelevant to the Node-Red node , this is a problem with the underlying driver.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOpenZWave%2Fnode-red-contrib-openzwave%2Fissues%2F70%23issuecomment-602409654&data=02%7C01%7C%7C3bc1fb7748b94913867508d7cef311a9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637205415670407269&sdata=kpcWoAwosP2Amhr%2B35Hpc%2BPLlYkNKuAiJQnnLA6MMfM%3D&reserved=0>, or unsubscribe< https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEEVG2QLC2UR4HTDWWYJZBTRI36H5ANCNFSM4IL4MKFA&data=02%7C01%7C%7C3bc1fb7748b94913867508d7cef311a9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637205415670417273&sdata=AZXN%2FHqthnkytGe1dq%2FbBRTVgU5dcwkSKp6lEHXydbE%3D&reserved=0>.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/OpenZWave/node-red-contrib-openzwave/issues/70#issuecomment-602415750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEPQKKVIFE6GQM6LM4LKFTRI4AURANCNFSM4IL4MKFA .
-- Elias Karakoulakis Electrical & Computer Engineer NTUA Athens Msc Information Systems, AUEB Athens KNX Advanced Partner
After two days I finally succeeded in installing the zwave nodes on My Raspberry Pi with Raspian Buster. I guess the installation manual is incomplete. First I tried installation via "Manage palette" --> Install. This failed because the prerequisites were not met (but this is unclear from the error messages). Next I followed the instructions from https://github.com/OpenZWave/node-openzwave-shared and https://github.com/OpenZWave/node-openzwave-shared#prerequisites. What is missing, I guess, is: