Z-Wave JS Multicast

So…this sucks out loud.

I’m trying to turn several switches ON and OFF using multicast…so they all trigger at the same time.

If I don’t use ‘broadcast’ it works…with a slight lag on some of the switches.

As I understand it, BROADCAST is supposed to send the same command to the entire network, and it should work much faster…but when I try to use ‘broadcast’, I’m getting an error calling the service. The command class I’m using (inovelli on/off switches) is 37…and it seems like the broadcast is failing at node 1 because it doesn’t have a command class of 37…well duh, that’s because node 1 is the controller. Why the heck is that happening? Here’s a screenshot:

I don’t know if this is the same as your problem, but i found that multicast has some problems when not all the devices support the same command. This is a problem if you want to turn a bunch of things on/off when some support dimming, for example. Here are the details of what I ran into; https://github.com/home-assistant/core/issues/54631

The fix needed for this is to not check for basic commands, and got added 13 days ago, but I don’t know if it is in HA yet. https://github.com/zwave-js/node-zwave-js/issues/3191

thank you David. This might be exactly my problem. Looks like we’ll have to wait for a resolution.

I tested this again with 2021.11.1 and the latest (0.1.46) Z-Wave JS and still no luck.
Here is what I tried in the developer tool:

service: zwave_js.multicast_set_value
data:
  command_class: '32'  # COMMAND_CLASS_BASIC
  property: targetValue
  endpoint: '1'
  value: 0
target:
  entity_id:
    - light.allrum_track_lights_switch

This should turn off the light, but it just gives an error. If I switch it to COMMAND_CLASS_SWITCH_MULTILEVEL (38) then it works. So not fixed yet.