Z-Wave DWS01 New Device Setup

You should only need to uninstall the binding using PaperUI, and then to wait 30 seconds and install it again.

If I look in the source on Github, I don’t see this thing - only the hank_dws01_0_0 (this is what you expect, right?), although I’m not 100% sure what the thing type is in your system.

https://github.com/openhab/org.openhab.binding.zwave/search?utf8=✓&q=24259&type=

The other possibility is that this hasn’t flowed through the system yet, although I did change this a few days ago.

Yes, thats what I was expecting to see. upon redownloading the snapshot, it’s now updated as expected per the attached screenshots:


Unfortunately I’m still not seeing channels change as the sensor opens or closes. That may be a different issue though all together?

Please provide a debug log showing the data being received and I’ll have a look.

i’ll confess i dont know how much of the log you need so here’s the whole events and openhab log…i do have the zwave binding on debug. FYI, links auto delete in 48hrs from the host site

https://expirebox.com/download/e147c947e18fe73766f0eb8096b8f492.html

https://expirebox.com/download/1485a3a10b12f8c7140d44a3a71835a8.html

The log doesn’t appear to have any notification messages, so I guess there’s a configuration issue somewhere. I’d double check that the associations are set for starters…

I can echo Mikes comments. The fix to the database has allowed me to re-add the device as the ‘DWS01 Door and Window Sensor’ thing and the parameters that Chris setup are now viewable again.

I have the parameters at their default values, but I am not able to pick off the ‘on’ or ‘off’ signal off the device.

Here are the screenshots of my setup (Default values):

In case you can pick something different out of my log here is a copy:
==> /var/log/openhab2/events.log <==
2017-09-17 13:54:31.884 [vent.ItemStateChangedEvent] - zwave_serial_zstick_f7dddbf0_serial_sof changed from 180 to 181

==> /var/log/openhab2/openhab.log <==

2017-09-17 13:54:31.886 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 27: Application Command Request (ALIVE:DETAILS)
2017-09-17 13:54:31.888 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 27: Incoming command class ALARM
2017-09-17 13:54:31.889 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 27: Received ALARM command V5
2017-09-17 13:54:31.891 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 27: Process NOTIFICATION_REPORT V5
2017-09-17 13:54:31.892 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 27: NOTIFICATION report - 0 = 0, event=23, status=255
2017-09-17 13:54:31.894 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 27: Alarm Type = ACCESS_CONTROL (0)
2017-09-17 13:54:31.896 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveAlarmValueEvent
2017-09-17 13:54:31.897 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 27: Got an event from Z-Wave network: ZWaveAlarmValueEvent
2017-09-17 13:54:31.899 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 27: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 255
2017-09-17 13:54:31.901 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
2017-09-17 13:54:31.903 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter NOTIFICATION event is 23, type OpenClosedType
2017-09-17 13:54:31.904 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter NOTIFICATION 3
2017-09-17 13:54:31.906 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 27: Updating channel state zwave:device:f7dddbf0:node27:sensor_door to CLOSED [OpenClosedType]
2017-09-17 13:54:31.910 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
2017-09-17 13:54:31.911 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 255: Transaction not completed: node address inconsistent.  lastSent=255, incoming=255
==> /var/log/openhab2/events.log <==
2017-09-17 13:54:31.919 [vent.ItemStateChangedEvent] - zwave_device_f7dddbf0_node27_sensor_door changed from OPEN to CLOSED
==> /var/log/openhab2/openhab.log <==
2017-09-17 13:54:32.781 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 10 00 04 00 1B 0A 71 05 00 00 00 FF 06 16 00 00 61 
==> /var/log/openhab2/events.log <==
2017-09-17 13:54:32.785 [vent.ItemStateChangedEvent] - zwave_serial_zstick_f7dddbf0_serial_sof changed from 181 to 182
==> /var/log/openhab2/openhab.log <==
2017-09-17 13:54:32.786 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
2017-09-17 13:54:32.789 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 10 00 04 00 1B 0A 71 05 00 00 00 FF 06 16 00 00 61 
2017-09-17 13:54:32.792 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 10 00 04 00 1B 0A 71 05 00 00 00 FF 06 16 00 00 61 
2017-09-17 13:54:32.795 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 1B 0A 71 05 00 00 00 FF 06 16 00 00 
2017-09-17 13:54:32.796 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 27: Application Command Request (ALIVE:DETAILS)
2017-09-17 13:54:32.798 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 27: Incoming command class ALARM
2017-09-17 13:54:32.799 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 27: Received ALARM command V5
2017-09-17 13:54:32.801 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 27: Process NOTIFICATION_REPORT V5
2017-09-17 13:54:32.802 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 27: NOTIFICATION report - 0 = 0, event=22, status=255
2017-09-17 13:54:32.804 [DEBUG] [.commandclass.ZWaveAlarmCommandClass] - NODE 27: Alarm Type = ACCESS_CONTROL (0)
2017-09-17 13:54:32.805 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveAlarmValueEvent
2017-09-17 13:54:32.807 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 27: Got an event from Z-Wave network: ZWaveAlarmValueEvent
2017-09-17 13:54:32.808 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 27: Got a value event from Z-Wave network, endpoint = 0, command class = ALARM, value = 255
2017-09-17 13:54:32.810 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
2017-09-17 13:54:32.811 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter NOTIFICATION event is 22, type OpenClosedType
2017-09-17 13:54:32.813 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 27: Updating channel state zwave:device:f7dddbf0:node27:sensor_door to OPEN [OpenClosedType]
2017-09-17 13:54:32.816 [DEBUG] [ternal.converter.ZWaveAlarmConverter] - Alarm converter processing NOTIFICATION
2017-09-17 13:54:32.820 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 255: Transaction not completed: node address inconsistent.  lastSent=255, incoming=255
==> /var/log/openhab2/events.log <==
2017-09-17 13:54:32.822 [vent.ItemStateChangedEvent] - zwave_device_f7dddbf0_node27_sensor_door changed from CLOSED to OPEN
==> /var/log/openhab2/openhab.log <==
2017-09-17 13:54:32.866 [DEBUG] [WaveSerialHandler$ZWaveReceiveThread] - Receive Message = 01 09 00 04 00 1B 03 80 03 64 0D 
==> /var/log/openhab2/events.log <==
2017-09-17 13:54:32.874 [vent.ItemStateChangedEvent] - zwave_serial_zstick_f7dddbf0_serial_sof changed from 182 to 183
==> /var/log/openhab2/openhab.log <==
2017-09-17 13:54:32.876 [DEBUG] [ve.internal.protocol.ZWaveController] - Receive queue TAKE: Length=0
2017-09-17 13:54:32.879 [DEBUG] [wave.internal.protocol.SerialMessage] - Assembled message buffer = 01 09 00 04 00 1B 03 80 03 64 0D 
2017-09-17 13:54:32.882 [DEBUG] [ve.internal.protocol.ZWaveController] - Process Message = 01 09 00 04 00 1B 03 80 03 64 0D 
2017-09-17 13:54:32.885 [DEBUG] [ve.internal.protocol.ZWaveController] - Message: class=ApplicationCommandHandler[0x04], type=Request[0x00], priority=High, dest=255, callback=0, payload=00 1B 03 80 03 64 
2017-09-17 13:54:32.886 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 27: Application Command Request (ALIVE:DETAILS)
2017-09-17 13:54:32.888 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 27: Incoming command class BATTERY
2017-09-17 13:54:32.889 [DEBUG] [ommandclass.ZWaveBatteryCommandClass] - NODE 27: Received Battery Request
2017-09-17 13:54:32.890 [DEBUG] [ommandclass.ZWaveBatteryCommandClass] - NODE 27: Battery report value = 100
2017-09-17 13:54:32.892 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent
2017-09-17 13:54:32.893 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 27: Got an event from Z-Wave network: ZWaveCommandClassValueEvent
2017-09-17 13:54:32.895 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 27: Got a value event from Z-Wave network, endpoint = 0, command class = BATTERY, value = 100
2017-09-17 13:54:32.897 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 27: Updating channel state zwave:device:f7dddbf0:node27:battery-level to 100 [DecimalType]
2017-09-17 13:54:32.899 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 255: Transaction not completed: node address inconsistent.  lastSent=255, incoming=255

Looks like it’s working to me!

(please format logs using the </> button - it makes them loads easier to read - I’ve edited your original message).

Hi Chris, thanks for all your assistance on getting this sensor sorted out… The sensors are working as expected now.

For some reason my HABmin wasn’t updating when I was triggering the switch at my desk. I restarted my Raspberry and it is working like it is suppose to.

Great stuff - we got there in the end :slight_smile: .

Glad to hear its working guys. looks like deleting all the xml associations and rediscovering the device fixed it.

Thanks chris!

I just bought the DWS01 from HANK. However, the reference id is 0200:0008 instead of 0201:0008.
I think this is the reason I get the “Device unknown” result.
I am new to openHAB. What should I do?