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

Add custom attribute ID to thermostat cluster list

Hi All,

I am working on nRF52840 and using SDK 3.0. A developing product that uses a thermostat cluster.

I want to add a few custom ID's to the thermostat "enum zb_zcl_thermostat_attr_e" list. And it is okay for me to alter the SDK file. So I tried to add 5 IDs to the list.

custom Id  that I included in list,

    /**thermostat trv mode id**/
  ZB_ZCL_ATTR_THERMOSTAT_TRV_MODE_ID  = 0x0048,
 
  /**Radiator valve position id**/
  ZB_ZCL_ATTR_THERMOSTAT_VALVE_ID     = 0x0049,

 /**thermostat error id**/
  ZB_ZCL_ATTR_THERMOSTAT_ERROR_ID     = 0x004a,

  /**thermostat current setpoint id**/
  ZB_ZCL_ATTR_THERMOSTAT_CURRENT_SETPOINT_ID  = 0x0050,

  /**thermostat host flags  id**/
  ZB_ZCL_ATTR_THERMOSTAT_HOST_FLAGS_ID  = 0x0050,

And, I have once Zigbee Gateway and Gateway has software GUI which shows all enabled attributes list.

Below is the attached code. Please check the zb_zcl_thermostat.h file and let me know what I did wrong or what else to enable along with this.

I am new to this development. I went through all the nRF documents but the documents are not clear explanations of how to do this.

And I am stuck here last 3days, I need urgent help to solve this.

Radiator_nRF_v0.9.0 (2).zip

Thanks in adavance

Regards,

Rohit

Related