mwav3
(Tim)
December 2, 2021, 11:37am
6
There appears to be a bug in the underlying zwavejs server update. Zwavejs2mqtt is built on zwavejs and includes it, so I don’t think switching between the two will fix this.
After I updated my zwavejs2mqtt, which bumped zwavejs to version to 8.8.2, my zwave network crashed every night, and restarting zwavejs2mqtt was the only way to fix it. I run the docker version of zwavejs2mqtt, but the zwavejs2mqtt addon version was also updated recently. Zwavejs had a major code refactor/rewrite which appears to have created the issue. See release notes below:
I rolled back zwavejs2mqtt to the older version in docker and the problem went away. Unfortunately if you use the addon version, your only option to roll back is to restore an old snapshot.
The developers of zwavejs are aware of the issue and are working on a fix. Here’s related posts on github
opened 03:05PM - 01 Dec 21 UTC
### Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
YE… S, BUT a Home Assistant developer has told me to come here
### Is your problem within ZWaveJS2MQTT?
YES, BUT a ZWaveJS2MQTT developer has told me to come here
### Checklist
- [X] I have checked the [troubleshooting section](https://zwave-js.github.io/node-zwave-js/#/troubleshooting/index) and my problem is **not** described there.
- [X] I have read the [changelog](https://github.com/zwave-js/node-zwave-js/blob/master/CHANGELOG.md) and my problem was **not** mentioned there.
### Describe the bug
What causes the bug?
Every evening (sunset - 4AM approx), automations fail to execute and Zwave devices become unavailable
What do you observe?
Unable to control/manage nodes. Early testing appears that if I restart the zwavejs2mqtt container, nodes become available again, but network healing is unstable.
What did you expect to happen?
Stable behavior. When restarting the container and initiating a heal, the heal rate is ~50%.
I am attaching log archives going back to Friday when the behavior began (can't remember if Silly was enabled that far back, but I turned Silly on shortly thereafter over the weekend. Todays 2021-12-01.log**.old** is before I restarted the container this morning and began troubleshooting, so it should contain information on the network "crash".
The 2021-12-01.log is a fresh log starting with a container startup, network graph view, followed by a network heal (~50% success on the heal), then me shutting down the container.
I've also attached my Zooz controller's NVM backup along with my homeid.json
### Device information
All devices
### How are you using `node-zwave-js`?
- [X] `zwavejs2mqtt` Docker image (latest)
- [ ] `zwavejs2mqtt` Docker image (dev)
- [ ] `zwavejs2mqtt` Docker manually built _(please specify branches)_
- [ ] `ioBroker.zwave2` adapter _(please specify version)_
- [ ] `HomeAssistant zwave_js` integration _(please specify version)_
- [ ] `pkg`
- [ ] `node-red-contrib-zwave-js` _(please specify version, double click node to find out)_
- [ ] Manually built from GitHub _(please specify branch)_
- [ ] Other _(please describe)_
### Which branches or versions?
zwavejs2mqtt: 6.0.2
zwave-js: 8.8.2
home id: 3745883352
home hex: 0xdf45a4d8
### Did you change anything?
no
### If yes, what did you change?
_No response_
### Did this work before?
Yes (please describe)
### If yes, where did it work?
Prior to Friday all automations and control worked as expected.
### Attach Driver Logfile
[zwavejs_2021-11-30.log.gz](https://github.com/zwave-js/node-zwave-js/files/7634944/zwavejs_2021-11-30.log.gz)
[zwavejs_2021-11-29.log.gz](https://github.com/zwave-js/node-zwave-js/files/7634945/zwavejs_2021-11-29.log.gz)
[zwavejs_2021-11-28.log.gz](https://github.com/zwave-js/node-zwave-js/files/7634946/zwavejs_2021-11-28.log.gz)
[zwavejs_2021-11-27.log.gz](https://github.com/zwave-js/node-zwave-js/files/7634947/zwavejs_2021-11-27.log.gz)
[zwavejs_2021-12-01.log](https://github.com/zwave-js/node-zwave-js/files/7634949/zwavejs_2021-12-01.log)
[zwavejs_2021-12-01.old.log](https://github.com/zwave-js/node-zwave-js/files/7634951/zwavejs_2021-12-01.old.log)
[df45a4d8.json.txt](https://github.com/zwave-js/node-zwave-js/files/7634953/df45a4d8.json.txt)
[NVM_2021-12-01.bin.txt](https://github.com/zwave-js/node-zwave-js/files/7634985/NVM_2021-12-01.bin.txt)
opened 11:59AM - 30 Nov 21 UTC
bug
2 Likes