Skip to main content
LeoGrany
Associate II
February 13, 2021
Solved

Is Relative humidity measurement cluster available in Zigbee STM32WB stack?

  • February 13, 2021
  • 4 replies
  • 1950 views

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

This topic has been closed for replies.
Best answer by Remi QUINTIN

0693W000008GINqQAO.png

4 replies

Remi QUINTIN
Technical Moderator
February 15, 2021

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,

LeoGrany
LeoGranyAuthor
Associate II
February 15, 2021

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
Technical Moderator
February 16, 2021

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
Remi QUINTINBest answer
Technical Moderator
February 16, 2021

0693W000008GINqQAO.png

LeoGrany
LeoGranyAuthor
Associate II
February 16, 2021

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