2021-02-13 09:59 AM
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
Solved! Go to Solution.
2021-02-16 05:11 AM
2021-02-15 06:20 AM
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,
2021-02-15 08:53 AM
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
2021-02-16 05:08 AM
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.
2021-02-16 05:11 AM
2021-02-16 05:17 AM
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