You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was debugging adding a device to a group (a zbminil2 that needs a firmware update), and I had a thought: from what I remembered, groups worked fine with the device back when I used a RaspBee II, and no longer worked when I changed my network to a zstack adapter.
I had a ConBee II handy, along with a zzh! stick, so I figured let's compare and see.
The group add command appears to succeed. But, if you look at the response frame, the zbminil2 is sending 0xc3 (unsupported cluster).
With zstack, a timeout error is surfaced and the device is not added to the group.
With the conbee II, no timeout error is surfaced and the device is added to the group (even though it's not actually functional).
My best guess is that the deconzAdapter.ts file should handle this case. However, at this point the frame hasn't been decoded yet and it feels odd to look deeply into the payload:
thrownewError(`no response received (${zclFrame.header.transactionSequenceNumber}) ${error}`);
}
The total hack solution would be to put something like this in, and it totally works preventing the device from being added to the group database. Of course, I'm sure this breaks other cases where the payload doesn't line up:
if (response.data.at(4) == 0xc3) {
throw new Error("UNSUPPORTED_CLUSTER");
}
Anyways, I'm not going to work on this more because I only use the deconz adapter for testing and sniffing. But hopefully this helps someone else fix this, or at least answers why a device appears to be added to a group but is not working!
The text was updated successfully, but these errors were encountered:
I was debugging adding a device to a group (a zbminil2 that needs a firmware update), and I had a thought: from what I remembered, groups worked fine with the device back when I used a RaspBee II, and no longer worked when I changed my network to a zstack adapter.
I had a ConBee II handy, along with a zzh! stick, so I figured let's compare and see.
0xc3
(unsupported cluster).Here is the block where zstack throws the error:
zigbee-herdsman/src/controller/model/endpoint.ts
Lines 948 to 963 in eb5b89c
My best guess is that the deconzAdapter.ts file should handle this case. However, at this point the frame hasn't been decoded yet and it feels odd to look deeply into the payload:
zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts
Lines 457 to 476 in eb5b89c
The total hack solution would be to put something like this in, and it totally works preventing the device from being added to the group database. Of course, I'm sure this breaks other cases where the payload doesn't line up:
Anyways, I'm not going to work on this more because I only use the deconz adapter for testing and sniffing. But hopefully this helps someone else fix this, or at least answers why a device appears to be added to a group but is not working!
The text was updated successfully, but these errors were encountered: