Zwave configuration seems to be lost when nodered restart

Hello,

I'm using node-red-contrib-openzwave to communicate with my zwave sensors and AeotechGen5 Zwave dongle to manage.

I'm using this flow below in example: https://flows.nodered.org/flow/41ae75dbfbe6465d5cf40248e2500e0a

My zwave network was already set with domoticz ans zwave sensor (door contact) works fine.

When I switch from domoticz to nodered:

  • Nodered sees my sensor.
  • When I open the door I see informations in nodered traces, but nothing appears in the flow.

2020-04-09 09:50:08.153 Detail, Node007, Received: 0x01, 0x10, 0x00, 0x04, 0x00, 0x07, 0x0a, 0x71, 0x05, 0x00, 0x00, 0x00, 0xff, 0x06, 0x16, 0x00, 0x00, 0x7d
2020-04-09 09:50:08.153 Detail,
2020-04-09 09:50:08.154 Info, Node007, Got a AlarmCmd_Report Message....
2020-04-09 09:50:08.154 Info, Node007, Received Notification report (>v1): Type: Access Control (6) Event: Door/Window Open (22) Status: true, Param Length: 0

If I proceed to an inclusion of my sensor by pressing inclusion button on my sensor the informations from the sensors will be available in the nodered flow (by debug node)

So when I open the door now, informations are in nodered traces AND my nodered flow.

If I stop ans start nodered, I need to restart an inclusion procedure. It's not acceptable.

I tried to send a writeConfig ti openZwave librarie but nothing appears. no zwcfg_xxx.xml in my nodered directory.
But I saw that writeConfig command is deprecated and now ozwcache_xxx.xml is used on the fly by nodered. I have this file.
my OpenZWave version is 1.6.1075

My questions: Why informations are in nodered traces but not in my flow ???
If it's a persistant issue, how can I persist my configuration to avoid inclusion procedure after nodered restart ?

Thanks in advance,

louison

Hi,
I have used Z-wave devices for years on different platforms including node-red but If you search in the node-red forum, you'll find several topics where people have troubles with Z-wave. So my suggestion forget Z-wave and go with wifi and zigbee devices supporting mqtt.

See Tasmota and zigbee2mqtt.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.