Issues after attemp to install open z-wave

Hi,

I was trying to install open zwave, but after that, nothing workins anymore.
I followed these instructions https://github.com/OpenZWave/node-openzwave-shared/blob/master/README-raspbian.md (and I did the easy way )
Every node I need in my configuration is not working anymore.

I did delete the flows_rasperrypi_cred.json and flows_raspberrypi.jsion file. But I did this in the past succesfull.

Welcome to Node-RED
===================
12 Nov 17:05:27 - [info] Node-RED version: v0.19.4
12 Nov 17:05:27 - [info] Node.js  version: v4.2.1
12 Nov 17:05:27 - [info] Linux 4.14.71-v7+ arm LE
12 Nov 17:05:29 - [info] Loading palette nodes
12 Nov 17:05:34 - [info] node-red-contrib-openzwave: 1.2.4
12 Nov 17:05:34 - [info] openzwave-shared: 1.4.6
12 Nov 17:05:35 - [warn] ------------------------------------------------------
12 Nov 17:05:35 - [warn] [node-red-node-serialport/serialport] Error: Module did not self-register.
12 Nov 17:05:35 - [warn] [node-red-contrib-modbus/Modbus-Read] TypeError: utf8 is not a function
12 Nov 17:05:35 - [warn] [node-red-contrib-modbus/Modbus-Getter] TypeError: utf8 is not a function
12 Nov 17:05:35 - [warn] [node-red-contrib-modbus/Modbus-Flex-Getter] TypeError: utf8 is not a function
12 Nov 17:05:35 - [warn] [node-red-contrib-modbus/Modbus-Write] TypeError: utf8 is not a function
12 Nov 17:05:35 - [warn] [node-red-contrib-modbus/Modbus-Flex-Write] TypeError: utf8 is not a function
12 Nov 17:05:35 - [warn] [node-red-contrib-modbus/Modbus-Server] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
12 Nov 17:05:35 - [warn] [node-red-contrib-modbus/Modbus-IO-Config] TypeError: utf8 is not a function
12 Nov 17:05:35 - [warn] [node-red-contrib-modbus/Modbus-Response-Filter] TypeError: utf8 is not a function
12 Nov 17:05:35 - [warn] [node-red-contrib-harmony/harmony-server] SyntaxError: Unexpected token =
12 Nov 17:05:35 - [warn] [node-red-contrib-openzwave/zwave] Error: Module version mismatch. Expected 46, got 57. (line:46)
12 Nov 17:05:35 - [warn] [node-red-contrib-ringdoorbell/node-red-contrib-ringdoorbell] SyntaxError: Unexpected token ( (line:3)
12 Nov 17:05:35 - [warn] [@plasma2450/node-red-contrib-homekit-bridged/homekit] Error: Module version mismatch. Expected 46, got 57.
12 Nov 17:05:35 - [warn] ------------------------------------------------------
12 Nov 17:05:35 - [info] Settings file  : /home/pi/.node-red/settings.js
12 Nov 17:05:35 - [info] Context store  : 'default' [module=memory]
12 Nov 17:05:35 - [info] User directory : /home/pi/.node-red
12 Nov 17:05:35 - [warn] Projects disabled : editorTheme.projects.enabled=false
12 Nov 17:05:35 - [info] Flows file     : /home/pi/.node-red/flows_raspberrypi.json
12 Nov 17:05:35 - [info] Creating new flow file
12 Nov 17:05:35 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
12 Nov 17:05:35 - [info] Starting flows
12 Nov 17:05:35 - [info] Started flows
12 Nov 17:05:35 - [info] Server now running at http://127.0.0.1:1880/

Sow, how can I re-install everything, or remove the whole node-red and restart rom skratch?

It's the second time I have issues with this open zwave node. It just seems impossible (for me) to install everything nice at once.

Currently I (would like to ) use:

  • node-red-contrib-homekit-bridged (issue at the moment)
  • node-red-contrib-alexa-home-skill (works)
  • node-red-contrib-harmony (Issue)
  • node-red-contrib-modbus (issue)
  • node-red-contrib-openzwave (issue)
  • node-red-contrib-ringdoorbell (issue)
  • node-red-node-serialport (issue, I think this is used by modbus)

Is there maybe some incompability?

I'm not a Linux expert at all, I just follow the commands that I find to install nodes.
For the zwave I'm also doing the copy-paste trick without really understanding what's it all about.

In the past my solution was to just start with a new RaspberryPi image. But I can't keep doing this for every fault I get. :frowning:

Hopefully this is a quick fix :slight_smile:
Br

Nick

Hi - you are using too old a version of node.js which you need to upgrade.

The best option is to use our upgrade script to get the latest node.js and node-red installed - see https://nodered.org/docs/hardware/raspberrypi for details.

Hi,

I actually think it's up-to-date?

But it does say it did not updated openzwave.
It's 'left behind' in straight translation

pi@raspberrypi:~/.node-red $ sudo apt-get upgrade
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
Opwaardering wordt doorgerekend... Klaar
De volgende pakketten zijn achtergehouden:
> openzwave
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 1 niet opgewaardeerd.

I'll see again tomorrow :frowning:

No, it isn't update to date. We strongly recommend you use our update script rather than apt-get.

Ok; it was; srr :wink:

I will just start a new topic for the Zwave part, as I'm back on the begin with this issue

Br

Nick