Well, still got problems.
Let me explain the situation. I have four nodes:
node1: usb controller
node2: hall smoke detector
node3: 1st floor smoke detector
node4: 2nd floor smoke detector
They are all about 3 meters apart from each other, and should result in a meshed network.
Node 2 has no problems at all, functions great. This was the first node bound to the controller. Node 3 and 4 I installed later, and had some problems getting them fully discovered, but that has by doing an bind near by the controllerā¦ What currently happens is that in my habpanel network I see all nodes except node3. Looking at neighbour status, node2 has only 1, node 3 and four has 0.
Node 3 and 4 have status online. I have created items and rules to trigger an telegram message when smoke is detected. This works flwless for node 2, but not for 3 and 4.
One thing thats odd is when I re-add the node3, and add the item configuration, itās shown in habpanel. When I trigger an alarm, the event is not triggered and the channel bindings are gone in habpanel.
Iām pulling my hair and do not se any solution to this.
Items:
Switch Zwave_Rookmelder_gang "Rookmelder [%s]" (gSmokeDetectors) { channel="zwave:device:myzwave:node2:alarm_smoke" }
Switch Zwave_Rookmelder_gang_binary "Rookmelder [%s]" (gSmokeDetectors) { channel="zwave:device:myzwave:node2:sensor_binary" }
Number Zwave_Rookmelder_gang_battery "Rookmelder battery [%d %%]" (gSmokeDetectors,gBatteries) { channel="zwave:device:myzwave:node2:battery-level" }
Switch Zwave_Rookmelder_1e "Rookmelder [%s]" (gSmokeDetectors) { channel="zwave:device:myzwave:node3:alarm_smoke" }
Switch Zwave_Rookmelder_1e_binary "Rookmelder [%s]" (gSmokeDetectors) { channel="zwave:device:myzwave:node3:sensor_binary" }
Number Zwave_Rookmelder_1e_battery "Rookmelder battery [%d %%]" (gSmokeDetectors,gBatteries) { channel="zwave:device:myzwave:node3:battery-level" }
Switch Zwave_Rookmelder_2e "Rookmelder [%s]" (gSmokeDetectors) { channel="zwave:device:myzwave:node4:alarm_smoke" }
Switch Zwave_Rookmelder_2e_binary "Rookmelder [%s]" (gSmokeDetectors) { channel="zwave:device:myzwave:node4:sensor_binary" }
Number Zwave_Rookmelder_2e_battery "Rookmelder battery [%d %%]" (gSmokeDetectors,gBatteries) { channel="zwave:device:myzwave:node4:battery-level" }
This is logged when triggering an alarm on node3:
2018-01-25 21:06:53.508 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'zwave.items'
2018-01-25 21:06:53.589 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Command received zwave:device:myzwave:node4:sensor_binary --> REFRESH
2018-01-25 21:06:53.589 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Command received zwave:device:myzwave:node4:alarm_smoke --> REFRESH
2018-01-25 21:06:53.591 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Polling intialised at 3600 seconds - start in 50 milliseconds.
2018-01-25 21:06:53.595 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Polling intialised at 3600 seconds - start in 50 milliseconds.
2018-01-25 21:06:53.594 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Command received zwave:device:myzwave:node4:battery-level --> REFRESH
2018-01-25 21:06:53.598 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Polling intialised at 3600 seconds - start in 50 milliseconds.
2018-01-25 21:06:53.648 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Polling...
2018-01-25 21:06:53.650 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Polling deferred until initialisation complete
2018-01-25 21:07:45.347 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 08 00 04 00 03 02 84 07 71
2018-01-25 21:07:45.350 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
2018-01-25 21:07:45.351 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 08 00 04 00 03 02 84 07 71
2018-01-25 21:07:45.352 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 08 00 04 00 03 02 84 07 71
2018-01-25 21:07:45.353 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 03 02 84 07
2018-01-25 21:07:45.356 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 3: Application Command Request (ALIVE:DONE)
2018-01-25 21:07:45.357 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 3: Starting initialisation from DONE
2018-01-25 21:07:45.358 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@77b8be01 already registered
2018-01-25 21:07:45.360 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 3: Incoming command class WAKE_UP
2018-01-25 21:07:45.361 [DEBUG] [commandclass.ZWaveWakeUpCommandClass] - NODE 3: Received Wake Up Request
2018-01-25 21:07:45.362 [DEBUG] [commandclass.ZWaveWakeUpCommandClass] - NODE 3: Received WAKE_UP_NOTIFICATION
2018-01-25 21:07:45.364 [DEBUG] [commandclass.ZWaveWakeUpCommandClass] - NODE 3: Is awake with 0 messages in the wake-up queue.
2018-01-25 21:07:45.365 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveWakeUpEvent
2018-01-25 21:07:45.366 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 3: Got an event from Z-Wave network: ZWaveWakeUpEvent
2018-01-25 21:07:45.375 [DEBUG] [.serialmessage.ZWaveCommandProcessor] - Checking transaction complete: Sent Message: class=SendData[0x13], type=Request[0x00], priority=Immediate, dest=3, callback=152, payload=03 02 84 08
2018-01-25 21:07:45.376 [DEBUG] [.serialmessage.ZWaveCommandProcessor] - Checking transaction complete: Recv Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 03 02 84 07
2018-01-25 21:07:45.377 [DEBUG] [.serialmessage.ZWaveCommandProcessor] - Checking transaction complete: class=ApplicationCommandHandler, callback id=152, expected=SendData, cancelled=true MISMATCH
2018-01-25 21:07:46.375 [DEBUG] [commandclass.ZWaveWakeUpCommandClass] - NODE 3: No more messages, go back to sleep
2018-01-25 21:07:46.375 [DEBUG] [commandclass.ZWaveWakeUpCommandClass] - NODE 3: Creating new message for application command WAKE_UP_NO_MORE_INFORMATION
2018-01-25 21:07:46.376 [DEBUG] [ve.internal.protocol.ZWaveController] - Message queued. Queue length = 1. Queue={}
2018-01-25 21:07:46.376 [DEBUG] [ocol.ZWaveController$ZWaveSendThread] - Took message from queue for sending. Queue length = 0
2018-01-25 21:07:46.378 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 09 00 13 03 02 84 08 25 9B D6
2018-01-25 21:07:46.379 [DEBUG] [ing.zwave.handler.ZWaveSerialHandler] - NODE 3: Sending REQUEST Message = 01 09 00 13 03 02 84 08 25 9B D6
2018-01-25 21:07:46.390 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 04 01 13 01 E8
2018-01-25 21:07:46.392 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
2018-01-25 21:07:46.393 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 04 01 13 01 E8
2018-01-25 21:07:46.394 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 04 01 13 01 E8
2018-01-25 21:07:46.395 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=SendData[0x13], type=Response[0x01], priority=High, dest=255, callback=0, payload=01
2018-01-25 21:07:46.396 [DEBUG] [l.serialmessage.SendDataMessageClass] - NODE 3: Sent Data successfully placed on stack.
2018-01-25 21:07:46.406 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 07 00 13 9B 00 00 02 72
2018-01-25 21:07:46.408 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
2018-01-25 21:07:46.409 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 09 00 13 9B 00 00 02 00 00 7C
2018-01-25 21:07:46.410 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 09 00 13 9B 00 00 02 00 00 7C
2018-01-25 21:07:46.412 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=SendData[0x13], type=Request[0x00], priority=High, dest=255, callback=0, payload=9B 00 00 02
2018-01-25 21:07:46.413 [DEBUG] [l.serialmessage.SendDataMessageClass] - NODE 3: SendData Request. CallBack ID = 155, Status = Transmission complete and ACK received(0)
2018-01-25 21:07:46.414 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 3: Starting initialisation from DONE
2018-01-25 21:07:46.415 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@77b8be01 already registered
2018-01-25 21:07:46.417 [DEBUG] [.serialmessage.ZWaveCommandProcessor] - Checking transaction complete: Sent Message: class=SendData[0x13], type=Request[0x00], priority=Immediate, dest=3, callback=155, payload=03 02 84 08
2018-01-25 21:07:46.418 [DEBUG] [.serialmessage.ZWaveCommandProcessor] - Checking transaction complete: Recv Message: class=SendData[0x13], type=Request[0x00], priority=High, dest=255, callback=0, payload=9B 00 00 02
2018-01-25 21:07:46.419 [DEBUG] [.serialmessage.ZWaveCommandProcessor] - Checking transaction complete: class=SendData, callback id=155, expected=SendData, cancelled=false transaction complete!
2018-01-25 21:07:46.421 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveTransactionCompletedEvent
2018-01-25 21:07:46.422 [DEBUG] [commandclass.ZWaveWakeUpCommandClass] - NODE 3: Went to sleep
2018-01-25 21:07:46.423 [DEBUG] [commandclass.ZWaveWakeUpCommandClass] - NODE 3: Is sleeping
2018-01-25 21:07:46.424 [DEBUG] [commandclass.ZWaveWakeUpCommandClass] - NODE 3: Went to sleep
2018-01-25 21:07:46.425 [DEBUG] [commandclass.ZWaveWakeUpCommandClass] - NODE 3: Is sleeping
2018-01-25 21:07:46.426 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 3: Got an event from Z-Wave network: ZWaveTransactionCompletedEvent
2018-01-25 21:07:46.427 [DEBUG] [ocol.ZWaveController$ZWaveSendThread] - NODE 3: Response processed after 45ms/4137ms.