Z-Wave JS error when including/excluding Duwi wall transmitter

Hello everyone,

My house has a hallway with a light switch at one end but not at the other. I have purchased and installed a FIBARO built-in switch behind the existing light switch, and have purchased a Duwi ZW BJ WS to use as a wireless Z-wave switch controlling the light from the other end of the hallway (manual: https://doc.eedomus.com/files/Duewi_ZW_WS.pdf)

The Duwi wall switch is second hand, but I can’t get it to work. I’ve tried excluding before including. When Z-wave JS is set to exclusion and I press up button three times on the device, I get an error:

The logs:

2024-02-04 19:47:53.215 WARNING (MainThread) [homeassistant.setup] Setup of bluetooth is taking over 10 seconds.
2024-02-04 19:49:45.663 INFO (MainThread) [homeassistant.components.zwave_js] Enabling zwave-js-server logging
2024-02-04 19:49:45.680 WARNING (MainThread) [homeassistant.components.zwave_js] Server logging is set to LogLevel.INFO and is currently less verbose than library logging, setting server log level to DEBUG to match
2024-02-04 19:49:45.682 DEBUG (MainThread) [zwave_js_server] Publishing message:
{'command': 'driver.update_log_config',
 'config': {'level': 'debug'},
 'messageId': 'cc36ac59b7b44b2abe68b335ddd66558'}

2024-02-04 19:49:45.701 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"driver","event":"log config updated","config":{"enabled":true,"level":"debug","logToFile":false,"maxFiles":7,"filename":"/config/zwave_%DATE%.log","forceConsole":true}}}', extra='')

2024-02-04 19:49:45.705 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"cc36ac59b7b44b2abe68b335ddd66558","result":{}}', extra='')

2024-02-04 19:49:45.706 DEBUG (MainThread) [zwave_js_server] Publishing message:
{'command': 'start_listening_logs',
 'messageId': '7f6e88687cce4624a63c838794ab89e2'}

2024-02-04 19:49:45.765 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"7f6e88687cce4624a63c838794ab89e2","result":{}}', extra='')

2024-02-04 19:49:45.766 INFO (MainThread) [homeassistant.components.zwave_js] Zwave-js-server logging is enabled
2024-02-04 19:49:50.196 DEBUG (MainThread) [zwave_js_server] Publishing message:
{'command': 'controller.get_state',
 'messageId': 'd0b61bdc0859403881b1d327daea510e'}

2024-02-04 19:49:50.200 DEBUG (MainThread) [zwave_js_server] Publishing message:
{'command': 'driver.is_statistics_enabled',
 'messageId': '50f6e1de296649abb9879da2668b82a5'}

2024-02-04 19:49:50.206 DEBUG (MainThread) [zwave_js_server] Publishing message:
{'command': 'controller.get_provisioning_entries',
 'messageId': '692b7fa56e8d45a2a098e966af37dbbe'}

2024-02-04 19:49:50.216 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"d0b61bdc0859403881b1d327daea510e","result":{"state":{"type":1,"homeId":4188632982,"ownNodeId":1,"isUsingHomeIdFromOtherNetwork":false,"isSISPresent":true,"wasRealPrimary":true,"manufacturerId":134,"productType":1,"productId":90,"supportedFunctionTypes":[2,3,4,5,6,7,8,9,16,17,18,19,20,21,22,23,24,28,32,33,34,35,36,39,41,42,43,44,45,65,66,68,69,70,71,72,73,74,75,76,77,80,81,83,84,85,86,87,94,96,97,98,99,102,103,128,144,146,147,152,180,182,183,184,185,186,189,190,191,210,211,212,238,239],"sucNodeId":1,"supportsTimers":false,"statistics":{"messagesTX":10,"messagesRX":19,"messagesDroppedRX":0,"NAK":0,"CAN":0,"timeoutACK":0,"timeoutResponse":0,"timeoutCallback":0,"messagesDroppedTX":0},"inclusionState":0,"sdkVersion":"6.51.10","firmwareVersion":"1.1","isPrimary":true,"isSUC":true,"nodeType":0,"status":0,"isRebuildingRoutes":false}}}', extra='')

2024-02-04 19:49:50.224 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"50f6e1de296649abb9879da2668b82a5","result":{"statisticsEnabled":false}}', extra='')

2024-02-04 19:49:50.229 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"692b7fa56e8d45a2a098e966af37dbbe","result":{"entries":[]}}', extra='')

2024-02-04 19:49:55.126 DEBUG (MainThread) [zwave_js_server] Publishing message:
{'command': 'controller.begin_exclusion',
 'messageId': '25b6c49e88874d28863e8dbe88960332'}

2024-02-04 19:49:55.145 INFO (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.139Z:
2024-02-04T18:49:55.139Z CNTRLR   starting exclusion process...
2024-02-04 19:49:55.163 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.160Z:
2024-02-04T18:49:55.160Z DRIVER   all queues busy
2024-02-04 19:49:55.189 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.180Z:
2024-02-04T18:49:55.180Z SERIAL » 0x0105004bc10676                                                     (7 bytes)
2024-02-04 19:49:55.202 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.196Z:
2024-02-04T18:49:55.196Z DRIVER » [REQ] [RemoveNodeFromNetwork]
                                    payload: 0xc106
2024-02-04 19:49:55.214 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.210Z:
2024-02-04T18:49:55.210Z SERIAL « [ACK]                                                                   (0x06)
2024-02-04 19:49:55.222 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.219Z:
2024-02-04T18:49:55.219Z SERIAL « 0x0107004b06010000b4                                                 (9 bytes)
2024-02-04 19:49:55.226 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"controller","event":"statistics updated","statistics":{"messagesTX":10,"messagesRX":20,"messagesDroppedRX":0,"NAK":0,"CAN":0,"timeoutACK":0,"timeoutResponse":0,"timeoutCallback":0,"messagesDroppedTX":0}}}', extra='')

2024-02-04 19:49:55.233 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.225Z:
2024-02-04T18:49:55.225Z SERIAL » [ACK]                                                                   (0x06)
2024-02-04 19:49:55.239 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.232Z:
2024-02-04T18:49:55.232Z DRIVER « [REQ] [RemoveNodeFromNetwork]
                                    payload: 0x06010000
2024-02-04 19:49:55.251 INFO (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.247Z:
2024-02-04T18:49:55.247Z CNTRLR   The controller is now ready to remove nodes
2024-02-04 19:49:55.254 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"controller","event":"exclusion started"}}', extra='')

2024-02-04 19:49:55.256 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"result","success":true,"messageId":"25b6c49e88874d28863e8dbe88960332","result":{"success":true}}', extra='')

2024-02-04 19:49:55.265 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:49:55.257Z:
2024-02-04T18:49:55.257Z DRIVER   all queues idle
2024-02-04 19:49:55.476 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"controller","event":"statistics updated","statistics":{"messagesTX":11,"messagesRX":20,"messagesDroppedRX":0,"NAK":0,"CAN":0,"timeoutACK":0,"timeoutResponse":0,"timeoutCallback":0,"messagesDroppedTX":0}}}', extra='')

2024-02-04 19:50:04.462 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:04.456Z:
2024-02-04T18:50:04.456Z SERIAL « 0x0107004b06020000b7                                                 (9 bytes)
2024-02-04 19:50:04.466 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"controller","event":"statistics updated","statistics":{"messagesTX":11,"messagesRX":21,"messagesDroppedRX":0,"NAK":0,"CAN":0,"timeoutACK":0,"timeoutResponse":0,"timeoutCallback":0,"messagesDroppedTX":0}}}', extra='')

2024-02-04 19:50:04.472 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:04.462Z:
2024-02-04T18:50:04.462Z SERIAL » [ACK]                                                                   (0x06)
2024-02-04 19:50:04.474 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:04.468Z:
2024-02-04T18:50:04.468Z DRIVER « [REQ] [RemoveNodeFromNetwork]
                                    payload: 0x06020000
2024-02-04 19:50:04.482 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:04.476Z:
2024-02-04T18:50:04.476Z DRIVER   handling request RemoveNodeFromNetwork (75)
2024-02-04 19:50:04.487 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:04.479Z:
2024-02-04T18:50:04.479Z DRIVER     1 handler registered!
2024-02-04 19:50:04.490 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:04.482Z:
2024-02-04T18:50:04.482Z DRIVER     invoking handler #0
2024-02-04 19:50:04.492 INFO (MainThread) [zwave_js_server.server] 2024-02-04T18:50:04.488Z:
2024-02-04T18:50:04.488Z CNTRLR   handling remove node request (status = NodeFound)
2024-02-04 19:50:05.093 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.088Z:
2024-02-04T18:50:05.088Z SERIAL « 0x0107004b06071500a7                                                 (9 bytes)
2024-02-04 19:50:05.098 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"controller","event":"statistics updated","statistics":{"messagesTX":11,"messagesRX":22,"messagesDroppedRX":0,"NAK":0,"CAN":0,"timeoutACK":0,"timeoutResponse":0,"timeoutCallback":0,"messagesDroppedTX":0}}}', extra='')

2024-02-04 19:50:05.106 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.097Z:
2024-02-04T18:50:05.097Z SERIAL » [ACK]                                                                   (0x06)
2024-02-04 19:50:05.112 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.105Z:
2024-02-04T18:50:05.105Z DRIVER « [REQ] [RemoveNodeFromNetwork]
                                    payload: 0x06071500
2024-02-04 19:50:05.119 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.109Z:
2024-02-04T18:50:05.109Z DRIVER   handling request RemoveNodeFromNetwork (75)
2024-02-04 19:50:05.121 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.112Z:
2024-02-04T18:50:05.112Z DRIVER     1 handler registered!
2024-02-04 19:50:05.127 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.115Z:
2024-02-04T18:50:05.115Z DRIVER     invoking handler #0
2024-02-04 19:50:05.130 INFO (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.118Z:
2024-02-04T18:50:05.118Z CNTRLR   handling remove node request (status = Failed)
2024-02-04 19:50:05.135 ERROR (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.121Z:
2024-02-04T18:50:05.121Z CNTRLR   Removing the node failed
2024-02-04 19:50:05.137 DEBUG (MainThread) [zwave_js_server] Received message:
WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"event","event":{"source":"controller","event":"exclusion failed"}}', extra='')

2024-02-04 19:50:05.139 INFO (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.126Z:
2024-02-04T18:50:05.126Z CNTRLR   stopping exclusion process...
2024-02-04 19:50:05.145 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.138Z:
2024-02-04T18:50:05.138Z DRIVER   all queues busy
2024-02-04 19:50:05.152 DEBUG (MainThread) [zwave_js_server] Publishing message:
{'command': 'controller.stop_exclusion',
 'messageId': '68b11f8072ec4cc291b77fccc11af35d'}

2024-02-04 19:50:05.162 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.155Z:
2024-02-04T18:50:05.155Z SERIAL » 0x0105004bc50773                                                     (7 bytes)
2024-02-04 19:50:05.173 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.162Z:
2024-02-04T18:50:05.162Z DRIVER » [REQ] [RemoveNodeFromNetwork]
                                    payload: 0xc507
2024-02-04 19:50:05.185 DEBUG (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.180Z:
2024-02-04T18:50:05.180Z SERIAL « [ACK]                                                                   (0x06)
2024-02-04 19:50:05.194 INFO (MainThread) [zwave_js_server.server] 2024-02-04T18:50:05.191Z:
2024-02-04T18:50:05.191Z CNTRLR   stopping exclusion process...

Any ideas what I could do to make this work?

Thanks a lot for helping me learn!

Mark

The error may be because that device is not part of your network so you can’t exclude it. Try factory resetting the device, then try including it.

1 Like

After excluding, the device still cannot be included properly. The device interview just fails. After that I just get a “Node” with no useful parameters:

I also discovered that this device is actually not listed in the Z-Wave JS device database, so that probably explains it?

So I’ve decided to take my loss and look for a device that is listed, probably a heatit push button or something.

Thanks for replying!