XLED Home 2 motion sensor

Hi,

I’ve included a XLED Home 2 flood light including a motion sensor. The device is in the database but I’m not sure how to use the motion event.
So far I understand that motion sensors are typically OffOnType.
My openhab log when motion is detected looks like this:

2019-11-02 17:46:04.250 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 13 00 04 00 17 0D 60 0D 02 01 71 05 00 00 00 FF 07 08 00 18 
2019-11-02 17:46:04.281 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=ApplicationCommandHandler[4], type=Request[0], dest=23, callback=0, payload=00 17 0D 60 0D 02 01 71 05 00 00
 00 FF 07 08 00 
2019-11-02 17:46:04.293 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=ApplicationCommandHandler[4], type=Request[0], dest=23, callback=0, payload=00 17 0D 60 0D 02 01 71 05 00 00 00 FF 07 08 00 
2019-11-02 17:46:04.295 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2019-11-02 17:46:04.297 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 23: Application Command Request (ALIVE:DONE)
2019-11-02 17:46:04.300 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 23: resetResendCount initComplete=true isDead=false
2019-11-02 17:46:04.303 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 23: Decapsulating COMMAND_CLASS_MULTI_CHANNEL
2019-11-02 17:46:04.306 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 23: Incoming command class COMMAND_CLASS_ALARM, endpoint 2
2019-11-02 17:46:04.308 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 23: SECURITY not supported
2019-11-02 17:46:04.310 [DEBUG] [tocol.commandclass.ZWaveCommandClass] - NODE 23: Received COMMAND_CLASS_ALARM V4 NOTIFICATION_REPORT
2019-11-02 17:46:04.313 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 23: NOTIFICATION report - 0 = 0, event=8, status=255, plen=0
2019-11-02 17:46:04.315 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 23: Alarm Type = BURGLAR (0)
2019-11-02 17:46:04.317 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 23: Got an event from Z-Wave network: ZWaveAlarmValueEvent
2019-11-02 17:46:04.320 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 23: Got a value event from Z-Wave network, endpoint=2, command class=COMMAND_CLASS_ALARM, value=255
2019-11-02 17:46:04.323 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 23: Alarm converter processing NOTIFICATION
2019-11-02 17:46:04.327 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 23: Alarm converter NOTIFICATION event is 8, type OnOffType
2019-11-02 17:46:04.330 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 23: Commands processed 1.
2019-11-02 17:46:04.332 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 23: Checking command org.openhab.binding.zwave.internal.protocol.ZWaveCommandClassPayload@16620bd.
2019-11-02 17:46:04.334 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0

So it’s event 8 and it apparently does not change my item which is defined as “Contact” (not sure if this is correct).
Another event (where I’m not sure if it’s motion or “no motion anymore”):

2019-11-02 17:46:11.330 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 14 00 04 00 17 0E 60 0D 02 01 71 05 00 00 00 FF 07 00 01 08 1D 
2019-11-02 17:46:11.360 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=ApplicationCommandHandler[4], type=Request[0], dest=23, callback=0, payload=00 17 0E 60 0D 02 01 71 05 00 00 00 FF 07 00 01 08 
2019-11-02 17:46:11.363 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=ApplicationCommandHandler[4], type=Request[0], dest=23, callback=0, payload=00 17 0E 60 0D 02 01 71 05 00 00 00 FF 07 00 01 08 
2019-11-02 17:46:11.364 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2019-11-02 17:46:11.366 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 23: Application Command Request (ALIVE:DONE)
2019-11-02 17:46:11.368 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 23: resetResendCount initComplete=true isDead=false
2019-11-02 17:46:11.369 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 23: Decapsulating COMMAND_CLASS_MULTI_CHANNEL
2019-11-02 17:46:11.371 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 23: Incoming command class COMMAND_CLASS_ALARM, endpoint 2
2019-11-02 17:46:11.372 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 23: SECURITY not supported
2019-11-02 17:46:11.374 [DEBUG] [tocol.commandclass.ZWaveCommandClass] - NODE 23: Received COMMAND_CLASS_ALARM V4 NOTIFICATION_REPORT
2019-11-02 17:46:11.376 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 23: NOTIFICATION report - 0 = 0, event=0, status=255, plen=1
2019-11-02 17:46:11.377 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 23: Alarm Type = BURGLAR (0)
2019-11-02 17:46:11.379 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 23: Got an event from Z-Wave network: ZWaveAlarmValueEvent
2019-11-02 17:46:11.381 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 23: Got a value event from Z-Wave network, endpoint=2, command class=COMMAND_CLASS_ALARM, value=255
2019-11-02 17:46:11.382 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 23: Alarm converter processing NOTIFICATION
2019-11-02 17:46:11.384 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 23: Alarm converter NOTIFICATION event is 0, type OnOffType
2019-11-02 17:46:11.386 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 23: Updating channel state zwave:device:5a95239b:node23:alarm_burglar2 to OFF [OnOffType]
2019-11-02 17:46:11.388 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 23: Commands processed 1.
2019-11-02 17:46:11.390 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 23: Checking command org.openhab.binding.zwave.internal.protocol.ZWaveCommandClassPayload@9620c0.
2019-11-02 17:46:11.391 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0

So this one actually switches the Contact to Off

Is there anything wrong with my configuration or with the z-wave events?

Thanks,
Wolfgang

I would guess you would use a rule to control the light? Editing the debug log is not too helpful. The zwave log viewer can help interpret what is happening.

https://www.cd-jackson.com/index.php/openhab/zwave-log-viewer

Your device database item & the manufacturer’s documentation are here.
https://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-list/devicesummary/688

That is easy to solve: have a look at the docs:

https://www.openhab.org/addons/bindings/zwave/thing.html?manufacturer=steinel&file=xledhome2_0_0.html

In the Channels section you can find:

No, it is not, see above.

1 Like