Z-Wave JS to MQTT

Hello I am getting this error on my HA

2021-09-05 13:20:23.990 WARN STORE: scenes.json not found
2021-09-05 13:20:23.998 WARN STORE: nodes.json not found
SyntaxError: /data/store/users.json: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object._readFile (/opt/node_modules/jsonfile/index.js:25:16)
    at StorageHelper._getFile (/opt/server/lib/jsonStore.js:51:20)
    at StorageHelper.init (/opt/server/lib/jsonStore.js:42:25)
[13:20:24] INFO: Starting the Z-Wave JS to MQTT...

I am using the Aeotec Z-Stick 7 Plus on the raspberry pi. But I keep getting this error in the log. If I go the app’s ui I get 502 bad gateway. Any suggestions?

I am going to ditch the rasberry pi later this week. I honestly don’t like it. I might let my server take it over

Have I stumped ya? :smiley:

What integration are you using? “Z-Wave JS” (Official add-on), Z-WaveJS to MQTT (Community add-on) or something else? Have you already been able to enter the app’s UI and if so, what did you configure? Any chance on removing the add-on and then starting fresh? What versions are being used?

I reinstalled it now I get

2021-09-05 23:11:16.509 INFO ZWAVE: Controller status: Driver: "path" is not defined: 
2021-09-05 23:11:16.511 WARN ZWAVE: Retry connection in 3 seconds...

That juist keeps looping

When you first install Z-Wave JS to MQTT (the community add-on) you have to enter the web interface through the add-on (ingress) and set it up to use the correct device ( /dev/ttyACM0 for example )

1 Like

Thanks. It all of a sudden started working. So who knows lol.