Hi all,
today I upgraded to the latest snapshot (from build #692 to #696). I’ve got some Vision Security contacts on my windows, after starting the new snapshot I noticed that all of the window contact-items in Basic UI were in state “OPEN” in Basic UI, but in fact they were all closed. At first I thought it’s maybe a glitch in the persistence after restarting, so I manually opened and closed all the windows, afterwards Basic UI showed CLOSED for all of them.
Some hours later I noticed that all of the contacts were in state OPEN again!
I set the zwave module to trace logging, opened and closed one of the windows to get the CLOSED state, and waited some minutes (of course without touching the contact or the window):
22:20:50.280 [TRACE] [WaveSerialHandler$ZWaveReceiveThread] - Received SOF
22:20:50.281 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 10 00 04 00 10 0A 71 05 06 00 00 FF 06 FE 00 00 84
22:20:50.281 [TRACE] [wave.internal.protocol.SerialMessage] - NODE 255: Creating new SerialMessage from buffer = 01 10 00 04 00 10 0A 71 05 06 00 00 FF 06 FE 00 00 84
22:20:50.281 [TRACE] [wave.internal.protocol.SerialMessage] - Calculated checksum = 0x84
22:20:50.281 [TRACE] [wave.internal.protocol.SerialMessage] - NODE 255: Checksum matched
22:20:50.281 [TRACE] [wave.internal.protocol.SerialMessage] - NODE 255: Message payload = 00 10 0A 71 05 06 00 00 FF 06 FE 00 00
22:20:50.281 [TRACE] [WaveSerialHandler$ZWaveReceiveThread] - Message is valid, sending ACK
22:20:50.281 [TRACE] [WaveSerialHandler$ZWaveReceiveThread] - Response SENT
22:20:50.281 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
22:20:50.282 [TRACE] [wave.internal.protocol.SerialMessage] - Calculated checksum = 0x84
22:20:50.282 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 10 00 04 00 10 0A 71 05 06 00 00 FF 06 FE 00 00 84
22:20:50.282 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 10 00 04 00 10 0A 71 05 06 00 00 FF 06 FE 00 00 84
22:20:50.282 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 10 0A 71 05 06 00 00 FF 06 FE 00 00
22:20:50.282 [TRACE] [ve.internal.protocol.ZWaveController] - Incoming Message type = REQUEST
22:20:50.282 [TRACE] [ssage.ApplicationCommandMessageClass] - Handle Message Application Command Request
22:20:50.282 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 16: Application Command Request (ALIVE:DONE)
22:20:50.282 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 16: Starting initialisation from DONE
22:20:50.282 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@8b31096 already registered
22:20:50.282 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 16: Incoming command class ALARM
22:20:50.282 [TRACE] [ssage.ApplicationCommandMessageClass] - NODE 16: Found Command Class ALARM, passing to handleApplicationCommandRequest
22:20:50.282 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 16: Received ALARM command V4
22:20:50.282 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 16: Process NOTIFICATION_REPORT V4
22:20:50.282 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 16: NOTIFICATION report - 6 = 0, event=254, status=255
22:20:50.282 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 16: Alarm Type = ACCESS_CONTROL (6)
22:20:50.282 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveAlarmValueEvent
22:20:50.282 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 16: Got an event from Z-Wave network: ZWaveAlarmValueEvent
22:20:50.282 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 16: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 255
22:20:50.282 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
22:20:50.282 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
22:20:50.282 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter NOTIFICATION event is 254, type OpenClosedType
22:20:50.282 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 16: Updating channel state zwave:device:bb4d2b80:node16:sensor_door to OPEN [OpenClosedType]
22:20:50.282 [DEBUG] [.serialmessage.ZWaveCommandProcessor] - Checking transaction complete: Sent Message: class=SendData[0x13], type=Request[0x00], priority=Immediate, dest=16, callback=149, payload=10 05 71 04 00 06 00
22:20:50.282 [DEBUG] [.serialmessage.ZWaveCommandProcessor] - Checking transaction complete: Recv Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 10 0A 71 05 06 00 00 FF 06 FE 00 00
22:20:50.282 [DEBUG] [.serialmessage.ZWaveCommandProcessor] - Checking transaction complete: class=ApplicationCommandHandler, callback id=149, expected=ApplicationCommandHandler, cancelled=false transaction complete!
22:20:50.282 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveTransactionCompletedEvent
22:20:50.282 [TRACE] [ve.internal.protocol.ZWaveController] - Callback ID = 150
22:20:50.282 [DEBUG] [ve.internal.protocol.ZWaveController] - Message queued. Queue length = 1. Queue={}
22:20:50.282 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 16: Got an event from Z-Wave network: ZWaveTransactionCompletedEvent
22:20:50.282 [TRACE] [ve.internal.protocol.ZWaveController] - Released. Transaction completed permit count -> 1
22:20:50.282 [DEBUG] [ocol.ZWaveController$ZWaveSendThread] - NODE 16: Response processed after 832ms/4898ms.
22:20:50.282 [TRACE] [ocol.ZWaveController$ZWaveSendThread] - Acquired. Transaction completed permit count -> 0
22:20:50.282 [DEBUG] [ocol.ZWaveController$ZWaveSendThread] - Took message from queue for sending. Queue length = 0
22:20:50.282 [TRACE] [wave.internal.protocol.SerialMessage] - Calculated checksum = 0xC6
22:20:50.283 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 09 00 13 10 02 80 02 25 96 C6
22:20:50.283 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 16: Sending REQUEST Message = 01 09 00 13 10 02 80 02 25 96 C6
22:20:50.283 [TRACE] [ing.zwave.handler.ZWaveSerialHandler] - Message SENT
22:20:50.283 [INFO ] [marthome.event.ItemStateChangedEvent] - Contact_Buero_Sued changed from CLOSED to OPEN
As you can see the controller seems to receive an ALARM and updates the sensor_door channel state to OPEN.
Device type: ZD2102 Door Window Sensor
zwave_manufacturer 265
zwave_devicetype 8193
Any idea why that happens?
Regards, Christian