Hello Chris!
Here comes the corresponding log:
Using a RFID tag after pressing ‘Away’ on the node 13:
2017-07-30 15:29:28.947 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 10 00 04 00 0D 0A 71 05 00 FF 00 FF 06 05 01 05 9F
2017-07-30 15:29:28.977 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
2017-07-30 15:29:28.979 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 10 00 04 00 0D 0A 71 05 00 FF 00 FF 06 05 01 05 9F
2017-07-30 15:29:28.980 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 10 00 04 00 0D 0A 71 05 00 FF 00 FF 06 05 01 05 9F
2017-07-30 15:29:28.982 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 0D 0A 71 05 00 FF 00 FF 06 05 01 05
2017-07-30 15:29:28.983 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 13: Application Command Request (ALIVE:DONE)
2017-07-30 15:29:28.984 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 13: Starting initialisation from DONE
2017-07-30 15:29:28.984 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@8d9d6d already registered
2017-07-30 15:29:28.985 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 13: Incoming command class ALARM
2017-07-30 15:29:28.986 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 13: Received ALARM command V2
2017-07-30 15:29:28.986 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 13: Process NOTIFICATION_REPORT V2
2017-07-30 15:29:28.987 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 13: NOTIFICATION report - 0 = 255, event=5, status=255
2017-07-30 15:29:28.987 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 13: Alarm Type = ACCESS_CONTROL (0)
2017-07-30 15:29:28.988 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveAlarmValueEvent
2017-07-30 15:29:28.989 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 13: Got an event from Z-Wave network: ZWaveAlarmValueEvent
2017-07-30 15:29:28.989 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 13: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 255
2017-07-30 15:29:28.990 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
2017-07-30 15:29:28.991 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
2017-07-30 15:29:28.991 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter NOTIFICATION event is 5, type DecimalType
2017-07-30 15:29:28.992 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 13: Updating channel state zwave:device:15c91a1d709:node13:notification_access_control to 5 [DecimalType]
Using the RFID tag after pressing ‘Home’ on the device:
your code goes here2017-07-30 15:29:44.785 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 10 00 04 00 0D 0A 71 05 00 00 00 FF 06 06 01 05 63
2017-07-30 15:29:44.787 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
2017-07-30 15:29:44.788 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 10 00 04 00 0D 0A 71 05 00 00 00 FF 06 06 01 05 63
2017-07-30 15:29:44.788 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 10 00 04 00 0D 0A 71 05 00 00 00 FF 06 06 01 05 63
2017-07-30 15:29:44.789 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 0D 0A 71 05 00 00 00 FF 06 06 01 05
2017-07-30 15:29:44.790 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 13: Application Command Request (ALIVE:DONE)
2017-07-30 15:29:44.790 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 13: Starting initialisation from DONE
2017-07-30 15:29:44.791 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@8d9d6d already registered
2017-07-30 15:29:44.791 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 13: Incoming command class ALARM
2017-07-30 15:29:44.792 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 13: Received ALARM command V2
2017-07-30 15:29:44.792 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 13: Process NOTIFICATION_REPORT V2
2017-07-30 15:29:44.793 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 13: NOTIFICATION report - 0 = 0, event=6, status=255
2017-07-30 15:29:44.793 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 13: Alarm Type = ACCESS_CONTROL (0)
2017-07-30 15:29:44.794 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveAlarmValueEvent
2017-07-30 15:29:44.794 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 13: Got an event from Z-Wave network: ZWaveAlarmValueEvent
2017-07-30 15:29:44.795 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 13: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 255
2017-07-30 15:29:44.795 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
2017-07-30 15:29:44.796 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
2017-07-30 15:29:44.796 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter NOTIFICATION event is 6, type DecimalType
2017-07-30 15:29:44.797 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 13: Updating channel state zwave:device:15c91a1d709:node13:notification_access_control to 6 [DecimalType]
2017-07-30 15:29:44.801 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 22: Transaction not completed: node address inconsistent. lastSent=22, incoming=255
2017-07-30 15:29:44.819 [INFO ] [.model.script.AccessNotify_Keypad_13] - 6: neuer Wert
2017-07-30 15:29:44.825 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 31: Command received zwave:device:15c91a1d709:node31:notification_access_control --> 6
2017-07-30 15:29:44.826 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 31: No event found with name 'event6'
2017-07-30 15:29:44.826 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 31: No messages returned from converter
2017-07-30 15:29:44.831 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 13: Command received zwave:device:15c91a1d709:node13:notification_access_control --> 6
2017-07-30 15:29:44.832 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 13: No event found with name 'event6'
2017-07-30 15:29:44.835 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 13: No messages returned from converter
Details of what I want to accomplish:
Assume there are 2 WTRFID devices A and B near two doors. Both devices have the same state ‘Home’ currently. Before I leave my home I’ll switch device A to ‘Away’ by use of a RFID tag. I see a corresponding state change in logs. This state change will switch my alarm system to ‘armed’. Later I enter my home through the other door and switch device B to ‘Home’. This state change triggers ‘disarm’ my alarm system.
So far so good.
Later one of this devices wakes up and sends its current state. This will be ‘Home’ for device B or ‘Away’ for device A. The alarm system will react accordingly. The result is nondeterministic. It gets worse as a 3rd item represented as a switch in the sitemap is also used to change the alarm system’s state. I also try to change the devices’ states via rules (sendCommand) - without success.
What I need is a clear deterministic ‘command’ in case a RFID tag is used to set the device’s state. But I can’t see any command at all.
I hope this clarifies the issue