cancel
Showing results for 
Search instead for 
Did you mean: 

Is Relative humidity measurement cluster available in Zigbee STM32WB stack?

LeoGrany
Associate II

Hello,

I want to implement my own temperature & humidity Zigbee sensor using STM32WB.

I can now send and report temperature using zcl.temp.meas.h.

In the documentation AN5506, I can read that 47 clusters - and among them Relative humidity measurement cluster - are supposed to be available in the STM32WB stack. Unfortunately, in the library that I have, I cannot find Relative humidity measurement cluster.

Is it available somewhere?

Thank you for your support,

Best regards,

Leo

1 ACCEPTED SOLUTION

Accepted Solutions
Remi QUINTIN
ST Employee
5 REPLIES 5
Remi QUINTIN
ST Employee

I can confirm that a "Relative Humidity Measurement" cluster is inded part of the Zigbee library under the Middlewares\ST\STM32_WPAN\zigbee\lib  directory.

In zcl.enum.h :

   ZCL_CLUSTER_MEAS_HUMIDITY = 0x0405,

Hello Rémi,

​Thank you for your answer.

I have seen that the cluster id is available​ in the enumeration.

Unfortunately, I cannot find the implementation in the stack in zcl directory (where the other cluster implementation are).

Where can I find the implementation?

Best regards,

Léo​

Remi QUINTIN
ST Employee

Relative Humidity cluster (0x405) is supported on STM32WB.

Cluster API can be found in zcl.wcm.h

Unfortunately, the Application Note which describes how to use this cluster on STM32WB is not yet released, but it is just a matter of days.

In the meantime, please find hereafter the associated description of the APIs present on STM32WB which can be used in order to activate the Relative Humidity cluster :

For more detail, please refer to ZCL cluster library.

Remi QUINTIN
ST Employee

0693W000008GINqQAO.png

LeoGrany
Associate II

Remi,

Thank you for your answer!

I would have never guessed that the cluster API for relative humidity would be named wcm!

I'm going to try it!

Thank you,

Best regards,

Léo