# Zwave configuration seems to be lost when nodered restart

**URL:** https://discourse.nodered.org/t/zwave-configuration-seems-to-be-lost-when-nodered-restart/24504
**Category:** General
**Created:** [9 April 2020 08:02 UTC](https://discourse.nodered.org/t/zwave-configuration-seems-to-be-lost-when-nodered-restart/24504 "2020-04-09T08:02:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![louison](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@louison](https://discourse.nodered.org/u/louison)
#### Post date: [9 April 2020 08:02 UTC](https://discourse.nodered.org/t/zwave-configuration-seems-to-be-lost-when-nodered-restart/24504/1 "2020-04-09T08:02:36Z")

</div>

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](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

---

<div class="post-metadata">

### Author: ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)
#### Post date: [9 April 2020 13:31 UTC](https://discourse.nodered.org/t/zwave-configuration-seems-to-be-lost-when-nodered-restart/24504/2 "2020-04-09T13:31:06Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [8 June 2020 13:31 UTC](https://discourse.nodered.org/t/zwave-configuration-seems-to-be-lost-when-nodered-restart/24504/3 "2020-06-08T13:31:08Z")

</div>

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