My ZWaveJS has stopped working 2 times and lost most of its info of all devices in the ZWave network over the last 4-5 days.
In the logs for Z-Wave JS to MQTT, it says:
21:59:50.384 DRIVER serial port errored: Error Resource temporarily unavailable Cannot lock port
Unable to start driver [Error: Error Resource temporarily unavailable Cannot lock port]
[21:59:53] INFO: Successfully send discovery information to Home Assistant.
The last time it happens was today just after 05:02 in the morning. An identical issue is described here, but I donβt see any solutions:
https://www.gitmemory.com/issue/home-assistant/core/47429/793114459
The result is that most of my ZWave devices looses parts of their information or everything. This last time, all my devices is partly βcrashedβ and have lost many if not all entities.
This is the versions I have:
Home Assistant core-2021.4.1
Z-Wave JS 0.1.17
Z-Wave JS to MQTT 0.11.0
The first time it happened, I had to do a βRe-interviewβ on all my nodes which was a 2 day job to get it all working again. Obviously as it has happened again, I now really need to find the root cause of this and fix it without doing this every time this happens.
I have pulled the plug, reinserted the Aeotec ZWave Gen5 Plus stick (the one compatible with Raspberry Pi 4), waited 10 seconds and inserted the plug again. On the second try, the βCannot lock portβ went away, but unfortunately so did a lot of my entities of all my devices. Last time it was most of my devices.
Have any experience with this serious issue and maybe have a solution? I really would appreciate some help as this brings my smart house down on its knees.