Z-wave: no handler is assigned - callback is missing

I have a Aeotec Z-stick, and a Neo coolcam plug. I’m starting Z-wave, so experimenting.

Unfortunately I am stuck. I am using Openhab2 binding.

I have the following logs, which start when I plug my plug into the socket.

12:59:47.907 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 14 00 04 00 02 0E 32 02 21 44 00 00 01 7B 01 2D 00 00 01 79 98

12:59:47.917 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
12:59:47.924 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 14 00 04 00 02 0E 32 02 21 44 00 00 01 7B 01 2D 00 00 01 79 98
12:59:47.930 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 14 00 04 00 02 0E 32 02 21 44 00 00 01 7B 01 2D 00 00 01 79 98
12:59:47.934 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 02 0E 32 02 21 44 00 00 01 7B 01 2D 00 00 01 79
12:59:47.935 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 2: Application Command Request (ALIVE:DONE)
12:59:47.936 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 2: Starting initialisation from DONE
12:59:47.938 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@195f48e already registered
12:59:47.940 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 2: Incoming command class METER
12:59:47.942 [DEBUG] [.commandclass.ZWaveMeterCommandClass] - NODE 2: Received METER command V3
12:59:47.944 [DEBUG] [.commandclass.ZWaveMeterCommandClass] - NODE 2: Meter: Type=Electric(1), Scale=kWh(0), Value=3.79
12:59:47.945 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveMeterValueEvent
12:59:47.946 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 2: Got an event from Z-Wave network: ZWaveMeterValueEvent
12:59:47.947 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 2: Got a value event from Z-Wave network, endpoint = 0, command class = METER, value = 3.79
12:59:47.949 [DEBUG] [ternal.converter.ZWaveMeterConverter] - Not the right scale E_A <> E_KWh
12:59:47.951 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 2: Updating channel state zwave:device:a613c9c9:node2:meter_kwh to 3.79 [DecimalType]

The error message starts here:

12:59:47.953 [ERROR] [ve.internal.protocol.ZWaveController] - Exception during ZWave thread: Input 2. {}
java.lang.IllegalStateException: Could not update state, because callback is missing
at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.updateState(BaseThingHandler.java:267)[106:org.eclipse.smarthome.core.thing:0.9.0.201706012026]
at org.openhab.binding.zwave.handler.ZWaveThingHandler.ZWaveIncomingEvent(ZWaveThingHandler.java:1104)[223:org.openhab.binding.zwave:2.1.0.201706122104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.notifyEventListeners(ZWaveController.java:567)[223:org.openhab.binding.zwave:2.1.0.201706122104]
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveMeterCommandClass.handleApplicationCommandRequest(ZWaveMeterCommandClass.java:154)[223:org.openhab.binding.zwave:2.1.0.201706122104]
at org.openhab.binding.zwave.internal.protocol.serialmessage.ApplicationCommandMessageClass.handleRequest(ApplicationCommandMessageClass.java:119)[223:org.openhab.binding.zwave:2.1.0.201706122104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingRequestMessage(ZWaveController.java:248)[223:org.openhab.binding.zwave:2.1.0.201706122104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingMessage(ZWaveController.java:214)[223:org.openhab.binding.zwave:2.1.0.201706122104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.access$7(ZWaveController.java:208)[223:org.openhab.binding.zwave:2.1.0.201706122104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController$ZWaveInputThread.run(ZWaveController.java:1324)[223:org.openhab.binding.zwave:2.1.0.201706122104]

And next: when I send a command it gives the following:

12:56:11.684 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate command ‘OFF’ for item ‘ZPlugLiving_Switch’ to handler for channel ‘zwave:device:a613c9c9:node2:switch_binary’, because no handler is assigned. Maybe the binding is not installed or not propertly initialized.

12:56:11.684 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update ‘OFF’ for item ‘ZPlugLiving_Switch’ to handler for channel ‘zwave:device:a613c9c9:node2:switch_binary’, because no handler is assigned. Maybe the binding is not installed or not propertly initialized.

12:56:11.685 [INFO ] [smarthome.event.ItemCommandEvent ] - Item ‘ZPlugLiving_Switch’ received command OFF

The plug is not responding. In Habmin it shows as a Power Plug Metered Wall Plug Switch.

The PaperUI shows it as: ZPlugLiving: Uninitialized;

Status: UNINITIALIZED - HANDLER_MISSING_ERROR

It does show as a device in my node-map for Z-wave.

Where to start looking for the error?

A missing handler probably means there was an error on startup, so the error you’ve provided above is a symptom of the problem, and not the actual issue itself. I would take a look through the binding startup logs to see if anything looks strange for starters.