I recently installed a ZWA-2 with Home Assistant and it seemed to work really well. I found Z-Wave JS UI that appeared to have more features so since I was just doing testing, I removed my z-wave devices and tried to switch. I kept running into the problem where get an error "Failed to start the Z-Wave add-on". The log shows:
Failed to initialize the driver:
TypeError: Cannot read properties of undefined (reading 'valueDB')
at ZWaveController.get valueDB [as valueDB] (file:///usr/src/node_modules/zwave-js/src/lib/controller/Controller.ts:791:44)
at ZWaveController.initNodes (file:///usr/src/node_modules/zwave-js/src/lib/controller/Controller.ts:1827:34)
at Driver.initializeControllerAndNodes (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:2040:4)
at Immediate.<anonymous> (file:///usr/src/node_modules/zwave-js/src/lib/driver/Driver.ts:1717:5)
I also found /dev/serial/by-id/usb-Nabu_Casa_ZWA-2_1... exists and I also found the ZWA-2 with: [core-ssh ~]$ ha hardware info |grep -i zwa.
[core-ssh ~]$ ls -la /config/.storage/z* did not return any files.
I tried a different Raspberry Pi loaded with Home assistant and received the same error so I assume the ZWA-2 is the problem and not Home assistant.
I am somewhat new to Home Assistant so I may be missing something obvious but I have spent many hours installing, uninstalling, rebooting, etc. I quickly discovered I was not supposed to have Z-Wave JS and Z-Wave JS UI active at the same time but removing one or the other didn't help.
Does anyone have any suggestions on what I can do to track down the problem? Is there a factory reset option for the ZWA-2? Thanks!