Closed tcharp38 closed 3 years ago
Can you clarify which firmware version you are using ? But here is how I decode your frame :
8120 0008 05 0AA73E02000100 3C MsgType: 8120 Len: 0008 CRC: 05 Payload: 0AA73E02000100 LQI 3C
Decoding Payload (I think that is the payload below firmware 31d , as 31d get also information on the attribute) Sqn: 0A SrcNwkId: A73E SrcEp: 02 Cluster: 0001 Status: 00
FYI, here are the Config Reporting from the HUe HUB
"0001": {"Attributes": { "0021": {"DataType": "20", "MinInterval":"1C20", "MaxInterval":"1C20", "TimeOut":"0FFF","Change":"00"}}},
Pour ce qui est de #240 c'est en rapport avec les Philips Hue Bulbs qui effectivement ne supportent pas le Cfg Rpt et nécessite donc du polling direct
Hi Pipiche FW is 3.1d no doubt but this "corrupted" case is not the usual one.
Examples from the same trace from the same EQ:
[2021-05-05 06:55:18] Reçu: "81200008050AA73E020001003C" [2021-05-05 06:55:20] Reçu: "8120000A8A0DA73E02040200008D3C"
So I'm receiving both formats !
But I realize now that I may get this "too short response" with other equipments too, Sonoff SNZB-02 for instance. So finally not linked to Hue.
[2021-05-05 11:05:44] Reçu: "81200008B86370930104020096" [2021-05-05 11:05:49] Reçu: "81200008BE687093010001009C" 8120 = type 0008 = len BE = crc 68 = sqn 7093 = addr 01 = ep 0001 = clust 00 <<<< ???? 9C = lqi
From the code, there are 2 possibilities to get teh Configure Reporting Reponse E_ZCL_CBET_REPORT_ATTRIBUTES_CONFIGURE_RESPONSE and E_ZCL_CBET_REPORT_INDIVIDUAL_ATTRIBUTES_CONFIGURE_RESPONSE
So in the case you are reporting the byte you are questioning is as I mentioned earlier the status https://github.com/fairecasoimeme/ZiGate/blob/master/Module%20Radio/Firmware/src/ZiGate/Source/ZigbeeNodeControlBridge/app_zcl_event_handler.c#L661
Ok then 2 questions:
if the lenght of the payload is 7 bytes, this is E_ZCL_CBET_REPORT_ATTRIBUTES_CONFIGURE_RESPONSE, if the lenght is greater than 7 bytes then it is E_ZCL_CBET_REPORT_ATTRIBUTES_CONFIGURE_RESPONSE
At least this is how we do in the Domoticz-Zigate plugin. I don't think there is other ways. I also beleive that you get the E_ZCL_CBET_REPORT_ATTRIBUTES_CONFIGURE_RESPONSE when you do a Config. Reporting only on 1 attrribute, and you get the E_ZCL_CBET_REPORT_ATTRIBUTES_CONFIGURE_RESPONSE when you do the configure reporting on several attributes
As a summary, 8120 response can have 2 formats
I see that even if always "single" attribute report config, returned format is the one or the other, from the same equipment.
Closing this issue but doc require update to clarify this. Thanks pipiche.
Hi guys, I'm facing an incomplete response trying to configure battery reporting on Hue motion sensor (SML002).
I've found this issue https://github.com/fairecasoimeme/ZiGate/issues/240 but could not understand if same pb or not. If "not supported" by Hue, I would expect a status telling it but still with a correct structure.
Any clues ? Thanks