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.

Multicast commands from zwavejs2mqtt not working

See original GitHub issue

Checklist:

  • I am not using HomeAssistant. Or: a developer has told me to come here.
  • I am not using ZWaveJS2MQTT. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem was not mentioned there.

Describe the bug

Sending a multicast command to zwavejs2mqtt results in a timeout of the command and all communication with the nodes included in the command getting queued until the timeout occurs.

Device information

Which device(s) is/are affected (make/model)? Zooz Zen 22 and Nortek PD300Z-2 What are the node IDs? 4 and 5

Did you change anything?

  • Yes: (please describe)
  • No

Did this use to work before?

  • Don’t know, this is a new device
  • No, it never worked anywhere
  • Yes, in: (specify application with versions)

How are you using node-zwave-js

  • zwavejs2mqtt (latest) docker image
  • zwavejs2mqtt (dev) docker image
  • zwavejs2mqtt Manual Docker build
    • node-zwave-js branch:
    • zwavejs2mqtt branch:
  • ioBroker.zwave2 adapter
  • HomeAssistant version XYZ
  • Pkg
  • Manual Docker build
    • node-zwave-js branch:
    • zwavejs2mqtt branch:
  • node-red-contrib-zwave-js
    • Module version (double click node):
  • Manually built (as described in the docs)
  • Other:

To Reproduce

Steps to reproduce the behavior:

  1. Publish following data to zwave/_CLIENTS/ZWAVE_GATEWAY-zwavejs2mqtt/multicast/set

{ “nodes”: [ 4, 5 ], “commandClass”: 38, “property”: “targetValue”, “value”: 33 }

Additional context

I thought the issue might be related to the one node supporting SupervisionCC, and the other not, but I tried sending commands to two nodes that both do not support SupervisionCC and saw the exact same behavior. I did change the light states individually on the two nodes in the log file so that can be seen working.

Logfile: zwavejs_1.log

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
AlCalzonecommented, Mar 30, 2021

The command is being sent and we get confirmation from the stick, so I’d say it’s very unlikely that zwave-js is messing up here.

0reactions
AlCalzonecommented, Mar 30, 2021

Fix is up at #2194

Read more comments on GitHub >

github_iconTop Results From Across the Web

[feat] Send multicast when triggering multiple devices #2320
Is it possible to send multicast messages to the devices automatically, if zwavejs2mqtt detects the same command to multiple devices?
Read more >
Ok, Zwave_JS has multicast, now how do I use it? - Z-Wave
Here's how I figured that out from the zwavejs2mqtt web UI: when you ... It will issue a Stop Level Change command which...
Read more >
Zwave Multicast - #16 by bcopeland - Built-In Apps and Drivers
They have multicast Zwave support already, but we found out it does not work for Configuration Set commands (which I need to set...
Read more >
Instant Notifications All Switches Using Multicast on HA
I only have Red Dimmers installed so these setting may not work for their on/off switches. They would probably need a few different...
Read more >
node-red-contrib-zwave-js
Filter node for handling incoming messages from your devices; Factory node for simplifying the formatting of outgoing messages; Multicast command support; And ...
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