# Still can't install openzwave for Node Red

**URL:** <https://discourse.nodered.org/t/still-cant-install-openzwave-for-node-red/1205>\
**Category:** General\
**Created:** [30 June 2018 16:52 UTC](https://discourse.nodered.org/t/still-cant-install-openzwave-for-node-red/1205 "2018-06-30T16:52:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveMann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stevemann/32/3810_2.png) [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Post date:** [30 June 2018 16:52 UTC](https://discourse.nodered.org/t/still-cant-install-openzwave-for-node-red/1205/1 "2018-06-30T16:52:53Z")

</div>

I hate to repost, but my last plea for help went off-topic.

I’ve just spent most of a day trying to install openzwave for Node Red on my Pi 3. I am hopelessly lost, and worse, the instructions I’ve found conflict with each other. I never even got to install openzwave, the prerequisites are where I am stuck.

The instructions in the git for openzwave got me the furthest, up to Step 3 of installing the prerequisites. I never got to install openzwave nodes yet.

Step 3 says: \> cd to the project directory.

What “project directory”? I posted an issue on the git, and Elias Karakoulakis (ekarak) suggested ~/.node-red.  
But when I try to run test2.js from Step 3, I get tons of “Cannot find module” errors.

Any help would be really appreciated.  
Steve

---

<div class="post-metadata">

**Author:** ![EricMe](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@EricMe](https://discourse.nodered.org/u/EricMe)\
**Post date:** [16 July 2018 12:56 UTC](https://discourse.nodered.org/t/still-cant-install-openzwave-for-node-red/1205/2 "2018-07-16T12:56:50Z")

</div>

This worked for me:

```auto
sudo apt-get install libopenzwave1.5-dev
cd .node-red
npm install openzwave-shared

```

When done, also install zwave thru the pallette.

---

<div class="post-metadata">

**Author:** ![SteveMann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stevemann/32/3810_2.png) [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Post date:** [18 July 2018 04:03 UTC](https://discourse.nodered.org/t/still-cant-install-openzwave-for-node-red/1205/3 "2018-07-18T04:03:06Z")

</div>

Thanks for the reply. I'll give it a try soon, but we're going on vacation next week. No computers or TV for a whole week. But why "also install zwave thru the pallette."? How is that different from apt-get?

I went the Home Assistant route to integrate my Z-Wave devices, then use mqtt to control them. My configuration is a Rasberry Pi3 which is my mqtt host and main Node-Red server. A second Pi3 is running Home Assistant on [hass.io](http://hass.io), and a local instance of Node-Red. It's complicated, but it made for fast integration of my Z-Wave devices.

![Sig](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/87494c8512470399062d2299b339f0275c0994e1.jpg)

---

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [18 July 2018 04:13 UTC](https://discourse.nodered.org/t/still-cant-install-openzwave-for-node-red/1205/4 "2018-07-18T04:13:12Z")

</div>

> [@SteveMann](#):
>
> But why "also install zwave thru the pallette."? How is that different from apt-get?

I believe those are the prerequesite npm modules (not node-red zwave nodes) that need to be in place _before_ installing the node (through the palette manager).

---

<div class="post-metadata">

**Author:** ![SteveMann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stevemann/32/3810_2.png) [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Post date:** [18 July 2018 04:15 UTC](https://discourse.nodered.org/t/still-cant-install-openzwave-for-node-red/1205/5 "2018-07-18T04:15:06Z")

</div>

> [@shrickus](#):
>
> those are the prerequesite npm modules

That makes sense. I think the prerequisites was where I ran into problems earlier.
