FYI: When I woke up, I was still not allowed to reply to this thread. Hopefully it’s just a first day thing?
You’ve reached the maximum number of replies a new user can create on their first day. Please wait 5 hours before trying again.
OK. I distinctly remember seeing one version of the XML where the Lifeline section was named before the device was added to the DB, and another where it wasn’t. I’m not sure if there were other differences. It may have been different between the two sensors — I added one to my network later than the other, and it’s possible that OH hadn’t finished interrogating it — and apparently I picked the less-populated file. I should’ve just uploaded both! But if you’re confident that nothing is missing from the one I provided other than the names, SGTM.
I don’t know where to get this build (that’s why I asked how to try it, above). I’ve only been using OH for about a week . I checked the Releases page on GitHub and didn’t see anything new.
Here’s my current issue. If the sensor sees motion and debug logging is turned on, I see this in the log:
2018-10-29 09:40:26.748 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 0F 00 04 00 07 09 71 05 00 00 00 FF 07 08 00 7E
2018-10-29 09:40:26.754 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=ApplicationCommandHandler[4], type=Request[0], dest=7, callback=0, payload=00 07 09 71 05 00 00 00 FF 07 08 00
2018-10-29 09:40:26.757 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=ApplicationCommandHandler[4], type=Request[0], dest=7, callback=0, payload=00 07 09 71 05 00 00 00 FF 07 08 00
2018-10-29 09:40:26.759 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2018-10-29 09:40:26.760 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 7: Application Command Request (ALIVE:DONE)
2018-10-29 09:40:26.763 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 7: resetResendCount initComplete=true isDead=false
2018-10-29 09:40:26.765 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 7: Incoming command class COMMAND_CLASS_ALARM, endpoint 0
2018-10-29 09:40:26.767 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 7: SECURITY NOT required on COMMAND_CLASS_ALARM
2018-10-29 09:40:26.769 [DEBUG] [tocol.commandclass.ZWaveCommandClass] - NODE 7: Received COMMAND_CLASS_ALARM V8 NOTIFICATION_REPORT
2018-10-29 09:40:26.771 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 7: NOTIFICATION report - 0 = 0, event=8, status=255, plen=0
2018-10-29 09:40:26.773 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 7: Alarm Type = BURGLAR (0)
2018-10-29 09:40:26.776 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 7: Got an event from Z-Wave network: ZWaveAlarmValueEvent
2018-10-29 09:40:26.778 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 7: Got a value event from Z-Wave network, endpoint = 0, command class = COMMAND_CLASS_ALARM, value = 255
2018-10-29 09:40:26.781 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 7: Alarm converter processing NOTIFICATION
2018-10-29 09:40:26.787 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 7: Alarm converter NOTIFICATION event is 8, type OnOffType
2018-10-29 09:40:26.790 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 7: Commands processed 1.
2018-10-29 09:40:26.792 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 7: Checking command org.openhab.binding.zwave.internal.protocol.ZWaveCommandClassPayload@5f9942.
2018-10-29 09:40:26.794 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0
But, no events appear in /rest/events
. I have items set up for each of the thing’s channels. When the motion timeout is hit, I see this in my debug log:
2018-10-29 09:40:37.760 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 10 00 04 00 07 0A 71 05 00 00 00 FF 07 00 01 08 63
2018-10-29 09:40:37.766 [DEBUG] [nal.protocol.ZWaveTransactionManager] - processReceiveMessage input 0<>128 : Message: class=ApplicationCommandHandler[4], type=Request[0], dest=7, callback=0, payload=00 07 0A 71 05 00 00 00 FF 07 00 01 08
2018-10-29 09:40:37.770 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Received msg (0): Message: class=ApplicationCommandHandler[4], type=Request[0], dest=7, callback=0, payload=00 07 0A 71 05 00 00 00 FF 07 00 01 08
2018-10-29 09:40:37.772 [DEBUG] [nal.protocol.ZWaveTransactionManager] - lastTransaction null
2018-10-29 09:40:37.774 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 7: Application Command Request (ALIVE:DONE)
2018-10-29 09:40:37.776 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 7: resetResendCount initComplete=true isDead=false
2018-10-29 09:40:37.779 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 7: Incoming command class COMMAND_CLASS_ALARM, endpoint 0
2018-10-29 09:40:37.781 [DEBUG] [ng.zwave.internal.protocol.ZWaveNode] - NODE 7: SECURITY NOT required on COMMAND_CLASS_ALARM
2018-10-29 09:40:37.784 [DEBUG] [tocol.commandclass.ZWaveCommandClass] - NODE 7: Received COMMAND_CLASS_ALARM V8 NOTIFICATION_REPORT
2018-10-29 09:40:37.786 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 7: NOTIFICATION report - 0 = 0, event=0, status=255, plen=1
2018-10-29 09:40:37.789 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 7: Alarm Type = BURGLAR (0)
2018-10-29 09:40:37.791 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 7: Got an event from Z-Wave network: ZWaveAlarmValueEvent
2018-10-29 09:40:37.794 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 7: Got a value event from Z-Wave network, endpoint = 0, command class = COMMAND_CLASS_ALARM, value = 255
2018-10-29 09:40:37.796 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 7: Alarm converter processing NOTIFICATION
2018-10-29 09:40:37.799 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - NODE 7: Alarm converter NOTIFICATION event is 0, type OnOffType
2018-10-29 09:40:37.801 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 7: Updating channel state zwave:device:512:node7:alarm_burglar to OFF [OnOffType]
2018-10-29 09:40:37.807 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 7: Commands processed 1.
2018-10-29 09:40:37.809 [DEBUG] [nal.protocol.ZWaveTransactionManager] - NODE 7: Checking command org.openhab.binding.zwave.internal.protocol.ZWaveCommandClassPayload@ed38f2.
2018-10-29 09:40:37.811 [DEBUG] [nal.protocol.ZWaveTransactionManager] - Transaction completed - outstandingTransactions 0
And, in /rest/events
, I do see something:
data: {"topic":"smarthome/items/TriSensor1_AlarmBurglar/state","payload":"{\"type\":\"OnOff\",\"value\":\"OFF\"}","type":"ItemStateEvent"}
I only ever see OFF
events, it never changes to ON
. I can turn on binary sensor reporting, but I have a hunch that it would use somewhat more power than consuming the already-sent notifications. Any idea why the ON
side isn’t being picked up?