Zwave sort of lost all devices

zwave
Tags: #<Tag:0x00007f1e5c6958d0>
( . ) #1

After an update to a snapshot build i noticed i lost control of my lighting, today found some time to look into it.
Somehow the nodes are not listed in paperui or habmin. Only 3 of them are (all unkown with no data, kinda strange) al the other devices except the serial controller are gone. The controller is online. When i restart openhab, about 8 nodes are listed in the log file (device discovery warning about manufacturer unknown)

I just did a soft reset and this was shown:

2019-05-16 23:44:11.811 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyACM0'
2019-05-16 23:44:11.821 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2019-05-16 23:44:11.823 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2019-05-16 23:44:11.824 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2019-05-16 23:44:14.828 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Invoer-/uitvoerfout in writeArray during sending. exiting thread.
2019-05-16 23:44:16.830 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Invoer-/uitvoerfout in writeArray during sending. exiting thread.
2019-05-16 23:44:18.831 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Invoer-/uitvoerfout in writeArray during sending. exiting thread.
2019-05-16 23:44:20.833 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Invoer-/uitvoerfout in writeArray during sending. exiting thread.
2019-05-16 23:44:22.834 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Invoer-/uitvoerfout in writeArray during sending. exiting thread.

How could i tell if the usb stick is broken/corrupt or if this is a zwave bug or something else?

0 Likes

(Ole Morten Rønning) #2

I just installed tonight snapshot #1592 and had to this in order to get Z-Wave up and running again:

(in karaf)

openhab> feature:install openhab-transport-serial
openhab> list | grep -i zw
260 │ Active │  80 │ 2.5.0.201905160433    │ openHAB Add-ons :: Bundles :: ZWave Binding
openhab> bundle:restart 260

Besides that, all looks fine. Even the Trådfri Gateway re-connected twice!

Hmm, something’s strange here …

System is sluggish. Z-Wave event are coming in, but rules cannot control lights.
image
Z-Wave lights took 3-4 minutes to respond.

Had to revert back to 2.5.0M1 - HowTo

After that I had to enable XMPP for my Harmony Hub.
HUE binding also failed to connect to my deconz on port 8090

Hopefully the snapshot is up and running again soon.

0 Likes

( . ) #3

I plugged the stick into another usb connector and restarted the whole computer (Intel NUC) and now all devices are listed, but they dont respond to commands.
Every command leads to an error:

2019-05-18 20:15:19.087 [ERROR] [ing.zwave.handler.ZWaveSerialHandler] - Got I/O exception Invoer-/uitvoerfout in writeArray during sending. exiting thread.

Not sure if related, but i allso have many of these, that appeared after started around the moment i added the zwave things from the inbox.

2019-05-18 20:07:20.091 [ERROR] [me.storage.json.internal.JsonStorage] - Couldn't deserialize value 'org.eclipse.smarthome.storage.json.internal.StorageEntry@53a90b0'. Root cause is: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $.channels

And i tried to install the openhab-transport-serial. After i enter the command, no prompt appears, after about 15 seconds the connection is closed.

It seems some is really corrupt, but what?! All this with build 1593

0 Likes

(Ole Morten Rønning) #4

See here.

0 Likes

( . ) #5

Ah, thnx! Couldn’t find a github issue, so not sure if anyone is working in this.

0 Likes