[SOLVED] - ZD2102 Window Sensor: Open event not recognized

Hi there,

I’ve been playing around with a Schwaiger ZHS 09 / Vision ZD2102-5 sensor for a while now but couldn’t get it properly working. The problem is that the item related to the door_sensor channel is not updated when opening, only when closing. Also I cannot see any value on the battery-signal channel (even after days of continuous operation), but the opening event is my priority now.

I’m running OH2.3.0 on a Pi3B with a ZMEEUZB1 USB Z-Wave device. The log below shows an opening and a closing event.
Opening is sent as event 23, which is somehow converted to notification 3, followed by the update of the thing channel.
Closing is sent as event 22, which seems not to be converted and subsequently not opdating the channel.

What can I do to make it work? I’ve been searching for solutions or similar issues for a week now but couldn’t make any progress…

Thanks in advance and best regards!

2018-11-15 00:23:20.188 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 0B 00 04 00 06 03 20 01 00 BB 00 6F 

2018-11-15 00:23:20.193 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0

2018-11-15 00:23:20.198 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 0B 00 04 00 06 03 20 01 00 BB 00 6F 

2018-11-15 00:23:20.206 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 0B 00 04 00 06 03 20 01 00 BB 00 6F 

2018-11-15 00:23:20.210 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 06 03 20 01 00 BB 00 

2018-11-15 00:23:20.211 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 12 00 04 00 06 0A 71 05 06 00 00 FF 06 17 00 00 BB 00 C2 

2018-11-15 00:23:20.212 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 6: Application Command Request (ALIVE:DONE)

2018-11-15 00:23:20.214 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 6: Starting initialisation from DONE

2018-11-15 00:23:20.217 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@79694b already registered

2018-11-15 00:23:20.219 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 6: Incoming command class BASIC

2018-11-15 00:23:20.221 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 6: Received Basic Request

2018-11-15 00:23:20.223 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 6: Basic Set sent to the controller will be processed as Basic Report

2018-11-15 00:23:20.225 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 6: Basic report, value = 0x00

2018-11-15 00:23:20.227 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent

2018-11-15 00:23:20.231 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Got an event from Z-Wave network: ZWaveCommandClassValueEvent

2018-11-15 00:23:20.234 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 0

2018-11-15 00:23:20.236 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 4: Transaction not completed: node address inconsistent.  lastSent=4, incoming=255

2018-11-15 00:23:20.238 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0

2018-11-15 00:23:20.240 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 12 00 04 00 06 0A 71 05 06 00 00 FF 06 17 00 00 BB 00 C2 

2018-11-15 00:23:20.243 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 12 00 04 00 06 0A 71 05 06 00 00 FF 06 17 00 00 BB 00 C2 

2018-11-15 00:23:20.246 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 06 0A 71 05 06 00 00 FF 06 17 00 00 BB 00 

2018-11-15 00:23:20.248 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 6: Application Command Request (ALIVE:DONE)

2018-11-15 00:23:20.249 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 6: Starting initialisation from DONE

2018-11-15 00:23:20.251 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@79694b already registered

2018-11-15 00:23:20.253 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 6: Incoming command class ALARM

2018-11-15 00:23:20.255 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 6: Received ALARM command V4

2018-11-15 00:23:20.257 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 6: Process NOTIFICATION_REPORT V4

2018-11-15 00:23:20.258 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 6: NOTIFICATION report - 6 = 0, event=23, status=255

2018-11-15 00:23:20.260 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 6: Alarm Type = ACCESS_CONTROL (6)

2018-11-15 00:23:20.262 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveAlarmValueEvent

2018-11-15 00:23:20.264 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Got an event from Z-Wave network: ZWaveAlarmValueEvent

2018-11-15 00:23:20.265 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 255

2018-11-15 00:23:20.267 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION

2018-11-15 00:23:20.269 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter NOTIFICATION event is 23, type OpenClosedType

2018-11-15 00:23:20.271 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter NOTIFICATION 3

2018-11-15 00:23:20.273 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Updating channel state zwave:device:12345678:node6:sensor_door to CLOSED [OpenClosedType]

2018-11-15 00:23:20.280 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 4: Transaction not completed: node address inconsistent.  lastSent=4, incoming=255

=========================================================================================================================

2018-11-15 00:23:29.191 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 0B 00 04 00 06 03 20 01 FF BB 00 90 

2018-11-15 00:23:29.195 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0

2018-11-15 00:23:29.197 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 0B 00 04 00 06 03 20 01 FF BB 00 90 

2018-11-15 00:23:29.200 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 0B 00 04 00 06 03 20 01 FF BB 00 90 

2018-11-15 00:23:29.203 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 06 03 20 01 FF BB 00 

2018-11-15 00:23:29.205 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 6: Application Command Request (ALIVE:DONE)

2018-11-15 00:23:29.207 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 6: Starting initialisation from DONE

2018-11-15 00:23:29.210 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@79694b already registered

2018-11-15 00:23:29.210 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 12 00 04 00 06 0A 71 05 06 FF 00 FF 06 16 00 00 BB 00 3C 

2018-11-15 00:23:29.212 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 6: Incoming command class BASIC

2018-11-15 00:23:29.214 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 6: Received Basic Request

2018-11-15 00:23:29.216 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 6: Basic Set sent to the controller will be processed as Basic Report

2018-11-15 00:23:29.218 [DEBUG] [.commandclass.ZWaveBasicCommandClass] - NODE 6: Basic report, value = 0xFF

2018-11-15 00:23:29.220 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent

2018-11-15 00:23:29.222 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Got an event from Z-Wave network: ZWaveCommandClassValueEvent

2018-11-15 00:23:29.224 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Got a value event from Z-Wave network, endpoint = 0, command class = BASIC, value = 255

2018-11-15 00:23:29.227 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 4: Transaction not completed: node address inconsistent.  lastSent=4, incoming=255

2018-11-15 00:23:29.228 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0

2018-11-15 00:23:29.232 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 12 00 04 00 06 0A 71 05 06 FF 00 FF 06 16 00 00 BB 00 3C 

2018-11-15 00:23:29.235 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 12 00 04 00 06 0A 71 05 06 FF 00 FF 06 16 00 00 BB 00 3C 

2018-11-15 00:23:29.238 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 06 0A 71 05 06 FF 00 FF 06 16 00 00 BB 00 

2018-11-15 00:23:29.239 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 6: Application Command Request (ALIVE:DONE)

2018-11-15 00:23:29.241 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 6: Starting initialisation from DONE

2018-11-15 00:23:29.243 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@79694b already registered

2018-11-15 00:23:29.245 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 6: Incoming command class ALARM

2018-11-15 00:23:29.246 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 6: Received ALARM command V4

2018-11-15 00:23:29.248 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 6: Process NOTIFICATION_REPORT V4

2018-11-15 00:23:29.250 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 6: NOTIFICATION report - 6 = 255, event=22, status=255

2018-11-15 00:23:29.252 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 6: Alarm Type = ACCESS_CONTROL (6)

2018-11-15 00:23:29.254 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveAlarmValueEvent

2018-11-15 00:23:29.256 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Got an event from Z-Wave network: ZWaveAlarmValueEvent

2018-11-15 00:23:29.258 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 255

2018-11-15 00:23:29.260 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION

2018-11-15 00:23:29.262 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter NOTIFICATION event is 22, type OpenClosedType

2018-11-15 00:23:29.264 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 4: Transaction not completed: node address inconsistent.  lastSent=4, incoming=255

Sincerely,
Martin

Edit: LED is flashing correctly when opening/closing.

Please update to use 2.4 M5 or Snapshot versions and if the problem is still there then we can take a look at it.

1 Like

Thank you for the hint Chris. Though I usually hesitate to use intermediate/unstable releases.

In this case however it indeed solved the issue. It took some time to set up the Z-Wave devices and some (roller shutters) still are not working properly but that’s a task for tomorrow.

1 Like

I am facing the same issue. i am running OH stable release (just installed it a couple of weeks ago) on a Raspberry pi (manual way) and not running openhabian.

if you shed some light in what was done to resolve this, i would appreciate. i am failrly new to openhab so not familiar with all the lingo.

do i need to update the entire openhab install or just use a newer / beta version of the binding? is there a .jar file that i need to drop in to a folder somewhere?

Sorry for the late response. Instead of roughly describing what I did I preffered to take the time to go through the process step by step as it may help better.

First of all I made a backup of my configuration as described by BK Hobby in his YT video “openHAB 2 Basics - Upgrade procedure | Common issues solutions and tips!”
https://www.youtube.com/watch?v=JIhxs3xFj0I

I startet the openHabian configuration tool
sudo openhabian-config

Then I ran an update on the configuration tool itself - just to be sure.
01 | Update

After completion, I could run the upgrade to the latest test version (milestone) 2.4.0 M5
40 | openHAB related
| openHAB testing

After the update I had to remove and discover all my Z-Wave devices.
Additionally I had to adjust all their channels as for some reason the Home ID of my Z-Stick changed from some 8-digit ID to some awfully long thing.
2.3.0: zwave:device:XXXXXXXX:nodeY:channel_Z
2.4.0-M5: zwave:device:FFFFFFFF-FFFF-FFFF-XXXX-XXXXXXXXXXXX:nodeY:channel_Z
The FFFFFF… is from the actual Home ID, the XXX… seem to be some hex digits.
So that was quite a surprise (as I have to admit not to have read the M5 change log) but after adopting the changes in my items-files it was okay.

Hope that was some helpful info for you.

Edit: you should really spend the time to read ZWave Binding Update info prior to he update.