Multicast Missing

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
freemanXfofrever
Posts: 6
Joined: 09 Sep 2020 07:45

Multicast Missing

Post by freemanXfofrever »

i am using multicast commands to control scene of same type of two-channel lighting devices, respectively are "all on" and "all off". Therefore every time i triggered "all on/ all off " ,two multicast data should be sent , one is "multicast all on/off of channel 1 lighting" and the other is ""multicast all on/off of channel 2 lighting"

However, i found that not every time both of the two multicast command can be sent from the Z-wave dongle, sometimes one of the multicast commands is missing, and i have checked by viewing the Z-wave traffic in using Zniffer.

In addition, i have checked the SDK part of the gateway(controller), it has received all acknowledgements of two multicast sent data from the Z-wave dongle, but the dongle is still missing in sending out one of the two multicast commands to devices.
piet66
Posts: 277
Joined: 04 Feb 2017 17:00

Re: Multicast Missing

Post by piet66 »

I have not understood your problem in all details.

But I want to point out that there's still an issue with ZNiffer. It has the effect, that packages may be missing because they were overwritten by subsequent packages.
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me(327) ZW0700 7.21.00 07.42/17367041 1025/257
Z-Way version v4.1.2 from 2023-10-18 03:34:26 +0300
freemanXfofrever
Posts: 6
Joined: 09 Sep 2020 07:45

Re: Multicast Missing

Post by freemanXfofrever »

My question is, why did the Z-wave dongle miss the sending of multicast controlling command to devices ? but the SDK of the controller has already received the acknowledgement of that multicast controlling data from the Z-wave dongle.

Normal Case:
{ SDK of controller >> Zwave Dongle Device} ( sending multicast data)

{ SDK of controller << Zwave Dongle Device} ( receiving ack from the Zwave dongle)

{ SDK of controller Zwave Dongle >> Device} ( sending multicast command to devices , can check with Zniffer)



Multicast Missing Case:
{ SDK of controller >> Zwave Dongle Device} ( sending multicast data)

{ SDK of controller << Zwave Dongle Device} ( receiving ack from the Zwave dongle)

{ SDK of controller Zwave Dongle Device} ( no sending of multicast command to devices, can check with Zniffer)
piet66
Posts: 277
Joined: 04 Feb 2017 17:00

Re: Multicast Missing

Post by piet66 »

And the last step is missing: { SDK of controller Zwave Dongle Device} ( no sending of multicast command to devices, can check with Zniffer)?

You can't trust ZNiffer. Can you prove this in another way?
Raspberry Pi 3 Model B Rev 1.2
Raspbian GNU/Linux 10 (buster, 32bit)
RaZberry by Z-Wave.Me(327) ZW0700 7.21.00 07.42/17367041 1025/257
Z-Way version v4.1.2 from 2023-10-18 03:34:26 +0300
freemanXfofrever
Posts: 6
Joined: 09 Sep 2020 07:45

Re: Multicast Missing

Post by freemanXfofrever »

Everytime the Zniffier did not show one of the multicast commands, the lighting channels of the multicast group did not turn on/off.. At first, i may question it as the miss capturing of Zniffer, but i have tried for many times ( around 80 times) . if the Zniffer missed the capturing of the multicast commands in the Zwave traffic, the lighting channels should not every time not responding, but the lighting channels actually did not respond all the time when the command missed in Zniffer viewing. Therefore, i can confirm the dongle did not send the missing multicast commands to devices.
freemanXfofrever
Posts: 6
Joined: 09 Sep 2020 07:45

Re: Multicast Missing

Post by freemanXfofrever »

My question is, why did the Z-wave dongle miss the sending of multicast controlling command to devices ? but the SDK of the controller has already received the acknowledgement of that multicast controlling data from the Z-wave dongle.

Normal Case:
{ SDK of controller >> Zwave Dongle Device} ( sending multicast data)

{ SDK of controller << Zwave Dongle Device} ( receiving ack from the Zwave dongle)

{ SDK of controller Zwave Dongle >> Device} ( sending multicast command to devices , can check with Zniffer)



Multicast Missing Case:
{ SDK of controller >> Zwave Dongle Device} ( sending multicast data)

{ SDK of controller << Zwave Dongle Device} ( receiving ack from the Zwave dongle)

{ SDK of controller Zwave Dongle Device} ( no sending of multicast command to devices, can check with Zniffer)
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Multicast Missing

Post by PoltoS »

What s/w are you using? This question is certainly about Z-Wave Serial API and not about Z-Wave.Me products.

Anyway, there are multiple options to SendDataMilti that control this behaviour. You can instruct confirmation to be received only after all singlecast followup messages received. Or you can get it afte multicast is sent. This is all desccribed in the Serial API.
Post Reply