Problem - NodeRed Library Integeration with Razberry

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
raed.habib
Posts: 2
Joined: 23 Oct 2017 13:08

Problem - NodeRed Library Integeration with Razberry

Post by raed.habib »

Anybody have full steps for installing the Razberry on raspberry pi with nodered library integeration ? I have done that but and got successful having the palletes inside but I have issues with the input/output ports that is being read . I get the below logs on nodered after modifying the pallet port to dev/ttyUSB0 :


Welcome to Node-RED
===================

23 Oct 09:19:42 - [info] Node-RED version: v0.17.5
23 Oct 09:19:42 - [info] Node.js version: v4.2.1
23 Oct 09:19:42 - [info] Linux 4.9.41-v7+ arm LE
23 Oct 09:19:43 - [info] Loading palette nodes
23 Oct 09:19:45 - [info] node-red-contrib-openzwave: 1.2.1
23 Oct 09:19:45 - [info] openzwave-shared: 1.4.0
initialising OpenZWave addon (/root/.node-red/node_modules/node-red-contrib-openzwave/node_modules/openzwave-shared/lib/../build/Release/openzwave_shared.node)
23 Oct 09:19:47 - [info] Settings file : /root/.node-red/settings.js
23 Oct 09:19:47 - [info] User directory : /root/.node-red
23 Oct 09:19:47 - [info] Flows file : /root/.node-red/flows_raspberrypi.json
23 Oct 09:19:47 - [info] Server now running at http://127.0.0.1:1880/
23 Oct 09:19:47 - [info] Starting flows
Initialising OpenZWave 1.4.79 binary addon for Node.JS.
OpenZWave Security API is ENABLED
ZWave device db : /usr/etc/openzwave
User settings path : /root/.node-red
Option Overrides : --Logging true --ConsoleOutput true --QueueLogLevel 8 --DriverMaxAttempts 3
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener driver ready
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener driver failed
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener node added
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener node ready
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener node event
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener value added
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener value changed
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener value removed
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener notification
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener scan complete
23 Oct 09:19:47 - [info] OpenZwave: /dev/ttyUSB0 addListener controller command
23 Oct 09:19:47 - [info] OpenZwave: zwave-controller(b1f65bc4.0d9398) subscribed to "driver failed"
23 Oct 09:19:47 - [info] OpenZwave: zwave-controller(b1f65bc4.0d9398) subscribed to "scan complete"
23 Oct 09:19:47 - [info] OpenZwave: connecting to /dev/ttyUSB0
node-red: symbol lookup error: /root/.node-red/node_modules/node-red-contrib-openzwave/node_modules/openzwave-shared/build/Release/openzwave_shared.node: undefined symbol: _ZN9OpenZWave7Options6CreateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_S8_
root@raspberrypi:/dev# node-red-log
krzydec
Posts: 3
Joined: 02 Mar 2020 21:02

Re: Problem - NodeRed Library Integeration with Razberry

Post by krzydec »

Hello. Did you managed to get this working?
I'm also interested with the Node Red and z wave working together. Are you using Razberry hat over the GPIO? If yes, have you tried /dev/ttyS0 or /dev/ttyS1 instead of dev/ttyUSB0?
Post Reply