This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ID of Window Covering Device wrong

Hi,

I'm using the Home Automation profile of the Zigbee protocol and, in particular, I'm developing the Window Covering Device, present in the SDK "nRF5_SDK_for_Thread_and_Zigbee_v3.1.0": from specification (as shown in the photo) the ID corresponding to this device is 0x0202 while, in the file zb_ha_device_config.h, I see that it has this ID: 0x0060.

Was it an oversight or is it a choice made by you?


Best regards,

Raffaela

Parents
  • Hello Raffaela,

    According to the ZCL specification, the identifier of the window covering cluster is 0x0102 (0x0202 may be a typo). You can find this in zb_zcl_common.h on line 175:

    ZB_ZCL_CLUSTER_ID_WINDOW_COVERING = 0x0102,       /**< Window covering cluster identifier. */

    I am not sure what exactly the

    ZB_HA_WINDOW_COVERING_DEVICE_ID     = 0x0060,

    is used for. I believe it is some internal IDs for the SDK. 

    Best regards,

    Edvin

  • Hi Edvin,

    The ID that I ask can't be a internal IDs for the SDK because is the ID of the Device and the ID of the Device are specified by the table that I sent before. The ID also is used here:

    #define ZB_ZCL_DECLARE_WINDOW_COVERING_SIMPLE_DESC(ep_name, ep_id, in_clust_num, out_clust_num) \
      ZB_DECLARE_SIMPLE_DESC(in_clust_num, out_clust_num);                                          \
      ZB_AF_SIMPLE_DESC_TYPE(in_clust_num, out_clust_num) simple_desc_##ep_name =                   \
      {                                                                                             \
        ep_id,                                                                                      \
        ZB_AF_HA_PROFILE_ID,                                                                        \
        ZB_HA_WINDOW_COVERING_DEVICE_ID,                                                            \
        ZB_HA_DEVICE_VER_WINDOW_COVERING,                                                           \
        0,                                                                                          \
        in_clust_num,                                                                               \
        out_clust_num,                                                                              \
        {                                                                                           \
          ZB_ZCL_CLUSTER_ID_BASIC,                                                                  \
          ZB_ZCL_CLUSTER_ID_IDENTIFY,                                                               \
          ZB_ZCL_CLUSTER_ID_WINDOW_COVERING,                                                        \
    	    ZB_ZCL_CLUSTER_ID_SCENES,                                                                 \
          ZB_ZCL_CLUSTER_ID_GROUPS                                                                  \
        }                                                                                           \
      }

    it is important that it is consistent with the Home Automation specification. Right?

    The ID cluster is correct.

    Thank you and best regards,

    Raffaela

  • Hi Raffaela,

    This seems to be a bug. I'll open a ticket internally with the stack vendor to see what is their take. Note, however, that Zigbee 3.0, which the stack is compatible with, dropped former profiles such as Home Automation.

    Previously device id was used to identify the device type. However with Zigbee 3.0 this should not be used in favor of matching input and output clusters. In other words if the clusters for window covering device are there then it's probably a window covering device.

Reply Children
Related