question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[question] Adding device is not discovering which device is being used

See original GitHub issue

I’m trying to add a zooz 4-in-1 sensor. It’s adding fine but there are a few errors in the log. The device is communicating properly (motion shows in the log as expected) but the device name is not discovered.

I’ve included, then excluded, then included again the device. No change. I’ve also restarted the program.

Do I need to add to the device database like in openzwave times or is there something else going on?

Let me know if I can add any more helpful information. I could increase the log level if needed. Hardware: -zooz controller -zwavejs2mqtt pulled from github today, installed with npm -running on raspberry pi 4

Logs when including the device:

  z2m:Zwave Secure inclusion started +14s
  z2m:Zwave Success zwave api call startInclusion true +1ms
  z2m:Zwave Inclusion stopped +2s
  z2m:Zwave Node 6: added +240ms
  z2m:Zwave Node added 6 +1ms
  z2m:Zwave Node 6 is awake +9ms
  z2m:Zwave Node 6: value added: 114-0-manufacturerId => 634 +466ms
  z2m:Zwave Node 6: value added: 114-0-productType => 8225 +1ms
  z2m:Zwave Node 6: value added: 114-0-productId => 8449 +1ms
  z2m:Zwave Node 6: value added: 134-0-libraryType => 3 +190ms
  z2m:Zwave Node 6: value added: 134-0-protocolVersion => 4.54 +3ms
  z2m:Zwave Node 6: value added: 134-0-firmwareVersions => [ '32.2' ] +1ms
16:10:57.380 CNTRLR   [Node 006] did not respond after 1/3 attempts. Scheduling next try in 500 ms.
  z2m:Zwave Node 6: value added: 94-0-zwavePlusVersion => 1 +4s
  z2m:Zwave Node 6: value added: 94-0-nodeType => 0 +1ms
  z2m:Zwave Node 6: value added: 94-0-roleType => 6 +1ms
  z2m:Zwave Node 6: value added: 94-0-installerIcon => 3079 +0ms
  z2m:Zwave Node 6: value added: 94-0-userIcon => 3079 +1ms
  z2m:Zwave Node 6: value added: 128-0-level => 100 +181ms
  z2m:Zwave Node 6: value added: 128-0-isLow => false +1ms
  z2m:Zwave Node 6: metadata updated: 132-0-wakeUpInterval +161ms
  z2m:Zwave Node 6: value added: 132-0-wakeUpInterval => 43200 +160ms
  z2m:Zwave Node 6: value added: 132-0-controllerNodeId => 255 +2ms
  z2m:Zwave Node 6: metadata updated: 49-0-Air temperature +611ms
  z2m:Zwave Node 6: value added: 49-0-Air temperature => 27.32 +1ms
  z2m:Zwave Node 6: metadata updated: 49-0-Illuminance +322ms
  z2m:Zwave Node 6: value added: 49-0-Illuminance => 100 +1ms
16:11:01.848 CNTRLR   [Node 006] did not respond after 1/3 attempts. Scheduling next try in 500 ms.
  z2m:Zwave Node 6: metadata updated: 49-0-Humidity +3s
  z2m:Zwave Node 6: value added: 49-0-Humidity => 49.22 +1ms
  z2m:Zwave Node 6: metadata updated: 112-0-1 +7ms
  z2m:Zwave Node 6: metadata updated: 112-0-2 +2ms
  z2m:Zwave Node 6: metadata updated: 112-0-3 +3ms
  z2m:Zwave Node 6: metadata updated: 112-0-4 +1ms
  z2m:Zwave Node 6: metadata updated: 112-0-5 +4ms
  z2m:Zwave Node 6: metadata updated: 112-0-6 +1ms
  z2m:Zwave Node 6: metadata updated: 112-0-7 +1ms
  z2m:Zwave Node 6: value added: 112-0-1 => 1 +162ms
  z2m:Zwave Node 6: value added: 112-0-2 => 10 +160ms
  z2m:Zwave Node 6: value added: 112-0-3 => 10 +165ms
  z2m:Zwave Node 6: value added: 112-0-4 => 10 +164ms
  z2m:Zwave Node 6: value added: 112-0-5 => 15 +167ms
  z2m:Zwave Node 6: value added: 112-0-6 => 3 +164ms
  z2m:Zwave Node 6: value added: 112-0-7 => 4 +163ms
16:11:05.290 DRIVER   Could not assemble partial CCs because the payload is invalid. Dropping them.
16:11:06.822 CNTRLR   [Node 006] did not respond after 1/3 attempts. Scheduling next try in 500 ms.
16:11:07.492 DRIVER   Could not assemble partial CCs because the payload is invalid. Dropping them.
16:11:09.025 CNTRLR   [Node 006] did not respond after 2/3 attempts. Scheduling next try in 500 ms.
16:11:09.693 DRIVER   Could not assemble partial CCs because the payload is invalid. Dropping them.
16:11:11.229 CNTRLR   [Node 006] Interview attempt 1/5 failed, retrying in 5000 ms...
  z2m:Zwave Node 6: value updated: 128-0-level 100 => 100 +13s
  z2m:Zwave Node 6: value updated: 128-0-isLow false => false +1ms
  z2m:Zwave Node 6: value updated: 132-0-wakeUpInterval 43200 => 43200 +170ms
  z2m:Zwave Node 6: value updated: 132-0-controllerNodeId 255 => 1 +1ms
  z2m:Zwave Node 6: metadata updated: 49-0-Air temperature +161ms
  z2m:Zwave Node 6: value updated: 49-0-Air temperature 27.32 => 27.32 +1ms
  z2m:Zwave Node 6: metadata updated: 49-0-Illuminance +160ms
  z2m:Zwave Node 6: value updated: 49-0-Illuminance 100 => 100 +1ms
  z2m:Zwave Node 6: metadata updated: 49-0-Humidity +161ms
  z2m:Zwave Node 6: value updated: 49-0-Humidity 49.22 => 49.22 +1ms
  z2m:Zwave Node 6: metadata updated: 112-0-1 +6ms
  z2m:Zwave Node 6: metadata updated: 112-0-2 +1ms
  z2m:Zwave Node 6: metadata updated: 112-0-3 +1ms
  z2m:Zwave Node 6: metadata updated: 112-0-4 +1ms
  z2m:Zwave Node 6: metadata updated: 112-0-5 +1ms
  z2m:Zwave Node 6: metadata updated: 112-0-6 +1ms
  z2m:Zwave Node 6: metadata updated: 112-0-7 +0ms
  z2m:Zwave Node 6: value updated: 112-0-1 1 => 1 +170ms
  z2m:Zwave Node 6: value updated: 112-0-2 10 => 10 +164ms
  z2m:Zwave Node 6: value updated: 112-0-3 10 => 10 +158ms
  z2m:Zwave Node 6: value updated: 112-0-4 10 => 10 +154ms
  z2m:Zwave Node 6: value updated: 112-0-5 15 => 15 +154ms
  z2m:Zwave Node 6: value updated: 112-0-6 3 => 3 +168ms
  z2m:Zwave Node 6: value updated: 112-0-7 4 => 4 +158ms
16:11:21.099 CNTRLR   [Node 006] did not respond after 1/3 attempts. Scheduling next try in 500 ms.
16:11:21.765 DRIVER   Could not assemble partial CCs because the payload is invalid. Dropping them.
16:11:23.296 CNTRLR   [Node 006] did not respond after 2/3 attempts. Scheduling next try in 500 ms.
16:11:24.037 DRIVER   Could not assemble partial CCs because the payload is invalid. Dropping them.
16:11:25.492 CNTRLR   [Node 006] Interview attempt 2/5 failed, retrying in 10000 ms...
  z2m:Zwave Node 6 is now asleep +16s

Control panel screenshot: Screen Shot 2020-11-10 at 4 15 19 PM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
crxportercommented, Nov 16, 2020

Confirming this is fixed with my zwavejs2mqtt pull today.

Thanks again!

1reaction
AlCalzonecommented, Nov 13, 2020

https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b mentions some more nice tricks (e.g. choosing node version).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10 not detecting Bluetooth device
Method 1: Run the Hardware and Devices Troubleshooter. 1. Press Windows Key > type "Troubleshoot" > Click Troubleshoot > Under Find and fix ......
Read more >
If you can't connect a Bluetooth accessory to your iPhone or iPad
You can't connect any Bluetooth accessories with your device. The accessory manufacturer confirmed that your accessory is working correctly.
Read more >
Bluetooth's not working in Windows 10/11: How to fix?
1. Try adding the Bluetooth device again. 2. Reinstall your Bluetooth device and updating the drivers. 3. Run the hardware and devices troubleshooter....
Read more >
How to Fix Bluetooth Pairing Problems - Techlicious
Can't connect two devices? Try these 16 tips to solve your Bluetooth pairing problems.
Read more >
Bluetooth Device Not Working On Windows 10 FIX [Tutorial]
Windows could not start the Bluetooth Support Service. Bluetooth device not found please verify that your Bluetooth is properly connected ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found