Closed davidsuarez82 closed 3 years ago
Ok,
Seems the version of red installed might not be compatible. can you attach the logs that are displayed when red is starting?
I have installed V0.20.8 and didn't have any problems - how did you install the node?
Are you trying this in HA? - if so, it wont work (we have had many reports) this plugin is not designed to work with the new HA Z-Wave stack.
Its a native z-wave plugin for node-red, the HA specific Node-red runtime has a few problems with certain nodes (this being one)
Hi,
Thanks for your quick reaction.
I install the node going to manage palette - install. My Node-RED is running in docker but I suppose that is not a problem
This is the install log, I just saw some dependencies error, is that something I need to install in Node-RED?
-----------------------------------------------------------
2021-02-18T16:38:33.398Z Install : node-red-contrib-zwave-js 1.4.0
2021-02-18T16:38:33.354Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-zwave-js@1.4.0
2021-02-18T16:38:44.154Z [out]
2021-02-18T16:38:44.154Z [out] > @serialport/bindings@9.0.4 install /data/node_modules/@serialport/bindings
2021-02-18T16:38:44.154Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2021-02-18T16:38:44.154Z [out]
2021-02-18T16:38:44.788Z [out]
2021-02-18T16:38:44.788Z [out] > serialport@9.0.6 postinstall /data/node_modules/serialport
2021-02-18T16:38:44.788Z [out] > node thank-you.js
2021-02-18T16:38:44.788Z [out]
2021-02-18T16:38:44.854Z [out] [96m[1mThank you for using serialport![96m[1m
2021-02-18T16:38:44.854Z [out] [0m[96mIf you rely on this package, please consider supporting our open collective:[22m[39m
2021-02-18T16:38:44.854Z [out] > [94mhttps://opencollective.com/serialport/donate[0m
2021-02-18T16:38:44.854Z [out]
2021-02-18T16:38:44.854Z [out]
2021-02-18T16:38:45.118Z [err] npm
2021-02-18T16:38:45.118Z [err] WARN ws@7.4.2 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
2021-02-18T16:38:45.118Z [err] npm WARN ws@7.4.2 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
2021-02-18T16:38:45.118Z [err]
2021-02-18T16:38:45.119Z [out] + node-red-contrib-zwave-js@1.4.0
2021-02-18T16:38:45.119Z [out] added 140 packages from 136 contributors in 11.418s
2021-02-18T16:38:45.134Z rc=0
Mmm I am not familiar with docker, but this may be an issue with the docker image itself (or lack of dependences within the image).
One thig to try: within the docker instance, navigate to the node-red directory (normally this is /%home%/.node-red, I wouldn't know what it is for your setup)
then run npm install node-red-contrib-zwave-js
You may need to remove the failed install first.
EDIT:
Upon further reading /data
takes place of /%home%/.node-red
for docker
If you still get the triangle, please paste your node-red start up logs
Thanks for your answer.
I just noticed that my docker-compose file was not picking the last Node-RED version. I updated to Node_RED v1.2.9 (npm) and now the node is working properly
Nice!
holla if you need help 👍
I just tried to install node-red-contrib-zwave-js in Node-RED V0.20.8 but after the installation is completed the extension appears in the palette with a red triangle and the node is not visible; I restarted Node-RED but nothing changes