How to use Zigbee clusters that are not proposed in the nRF Connect SDK

Hi support team,

Short version:
How can I include "Analog Value" or "Analog Output" or "Multistate Output" Zigbee clusters in my app? I could not find any of them in the include files.

Long version:
I started developing an application, and up to now, I've been able to implement the Basic, the Switch, the Occupancy and the Temperature Measurement clusters.
For the purpose of pushing some settings to device, I tried to add the "Analog Value" cluster, but could not find any definition of it like we can find into the Temperature Measurement files for instance (ncs\v2.3.0\nrfxlib\zboss\production\include\zcl\zb_zcl_temp_measurement.h).
The same apply with "Analog Output" and "Multistate Output".

Are those clusters unsupported in nRF Connect SDK, or did I miss some obvious thing?

Thank you for your answer.

Gerard

  • We are short staffed this week due to Public Holidays in Norway. We will be back on Monday 22nd and hope to be able to answer all incoming requests within a couple of days, depending on the backlog. I am sorry for the inconvenience.

    Best regards,

    Vidar

  • Hi Gerard,

    Are those clusters unsupported in nRF Connect SDK, or did I miss some obvious thing?

    These clusters have not been added to the ZBOSS Zigbee stack. You can see a full list of supported clusters in ZCL clusters in our documentation.

    If you want to use other clusters than those already implemented, you need to implement them yourself. For this, I recommend looking at files for clusters that are implemented and use them as a starting point. You can find the header and source files under zboss/production/include/zcl and zboss/production/src/zcl.

    Best regards,
    Marte

  • Hi Marte,

    Thank you for your answer, even if I'm really disappointed by this lack of support in your implementation.

    In the doc, it is said that "The Zigbee stack includes all mandatory features of the Zigbee 3.0 specification" in "Implemented features paragraph" (developer.nordicsemi.com/.../zigbee_features.html).
    So, I may have a misunderstanding of what is mandatory or not in the Zigbee 3.0 specification…

    I also thought about trying to implement myself the missing stuff, but I preferred to ask before, and also, I was not sure if those clusters are not implemented into the nRF Connect SDK interface to Zigbee ZBOSS Stack (like we can see in the header and code files you mentioned) or in the Zigbee stack itself…

    Best regards,
    Gerard

  • Hey Gerard,

    I've also been trying to get Zigbee clusters onto my devices.

    How do you know which clusters are mandatory for devices that don't fit into the lighting or occupancy categories?

    This doc outlines which clusters each device type must have, and optionally can have, but the Analog Value, Analog Output and Multistate Output clusters aren't mentioned. As far as I can tell, which clusters are mandatory depends on the device type.
    ZigBee Lighting & Occupancy Device Specification Version 1.0

    However, you may have luck searching this document. It lists all the possible Zigbee clusters, including the 3 you're interested in, but it only lists which commands are mandatory within the cluster, not which clusters are mandatory for any chipset to support. But I could be wrong, and maybe it will help you.
    Zigbee Cluster Library Specification Revision 8

    I'm not sure what Nordic means by supporting all "mandatory" clusters, because as I mentioned in the first part of this post, I think that's dependent on the device. But I could be wrong and I'd really like to know if I am.

  • Hi,

    You are correct that which clusters are mandatory depends on the device type. In our stack, the most common clusters are implemented, and additional clusters can be implemented.

    Our Zigbee stack includes all mandatory features of the Zigbee 3.0 specification.

    Best regards,
    Marte

Related