nRF5 SDK for Thread and Zigbee v1.0.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ZCL Thermostat cluster

Functions

zb_void_t zb_zcl_thermostat_init ()
 

Thermostat cluster attributes

enum  zb_zcl_thermostat_attr_e {
  ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_ID = 0x0000, ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_CALIBRATION_ID = 0x0010, ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_COOLING_SETPOINT_ID = 0x0011, ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_HEATING_SETPOINT_ID = 0x0012,
  ZB_ZCL_ATTR_THERMOSTAT_UNOCCUPIED_COOLING_SETPOINT_ID = 0x0013, ZB_ZCL_ATTR_THERMOSTAT_UNOCCUPIED_HEATING_SETPOINT_ID = 0x0014, ZB_ZCL_ATTR_THERMOSTAT_CONTROL_SEQUENCE_OF_OPERATION_ID = 0x001b, ZB_ZCL_ATTR_THERMOSTAT_SYSTEM_MODE_ID = 0x001c,
  ZB_ZCL_ATTR_THERMOSTAT_AC_LOUVER_POSITION_ID = 0x0045
}
 Thermostat cluster attribute identifiers. More...
 
enum  zb_zcl_thermostat_control_sequence_of_operation_e {
  ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_COOLING_ONLY = 0x00, ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_COOLING_WITH_REHEAT = 0x01, ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_HEATING_ONLY = 0x02, ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_HEATING_WITH_REHEAT = 0x03,
  ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_COOLING_AND_HEATING_4_PIPES = 0x04, ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_COOLING_AND_HEATING_4_PIPES_WITH_REHEAT = 0x05, ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_RESERVED = 0x06
}
 Values for Control Sequence Of Operation attribute,. More...
 
enum  zb_zcl_thermostat_system_mode_e {
  ZB_ZCL_THERMOSTAT_SYSTEM_MODE_OFF = 0x00, ZB_ZCL_THERMOSTAT_SYSTEM_MODE_AUTO = 0x01, ZB_ZCL_THERMOSTAT_SYSTEM_MODE_COOL = 0x03, ZB_ZCL_THERMOSTAT_SYSTEM_MODE_HEAT = 0x04,
  ZB_ZCL_THERMOSTAT_SYSTEM_MODE_EMERGENCY_HEATING = 0x05, ZB_ZCL_THERMOSTAT_SYSTEM_MODE_PRECOOLING = 0x06, ZB_ZCL_THERMOSTAT_SYSTEM_MODE_FAN_ONLY = 0x07, ZB_ZCL_THERMOSTAT_SYSTEM_MODE_RESERVED = 0X08
}
 Values for System Mode attribute,. More...
 
enum  zb_zcl_thermostat_ac_louver_position_e {
  ZB_ZCL_THERMOSTAT_LOUVER_FULLY_CLOSED = 0x01, ZB_ZCL_THERMOSTAT_LOUVER_FULLY_OPENED = 0x02, ZB_ZCL_THERMOSTAT_LOUVER_QUARTER_OPEN = 0x03, ZB_ZCL_THERMOSTAT_LOUVER_HALF_OPEN = 0x04,
  ZB_ZCL_THERMOSTAT_LOUVER_THREE_QUARTERS_OPEN = 0x05
}
 Values for AC Louver position attribute.
 
#define ZB_ZCL_THERMOSTAT_LOCAL_TEMPERATURE_MIN_VALUE   0x954d
 Min value for Local Temperature attribute.
 
#define ZB_ZCL_THERMOSTAT_LOCAL_TEMPERATURE_MAX_VALUE   0x7fff
 Max value for Local Temperature attribute.
 
#define ZB_ZCL_THERMOSTAT_LOCAL_TEMPERATURE_INVALID   0x8000
 Invalid value for Local Temperature attribute.
 
#define ZB_ZCL_THERMOSTAT_LOCAL_TEMPERATURE_CALIBRATION_MIN_VALUE   0xe7
 Min value for Local Temperature Calibration attribute.
 
#define ZB_ZCL_THERMOSTAT_LOCAL_TEMPERATURE_CALIBRATION_MAX_VALUE   0x19
 Max value for Local Temperature Calibration attribute.
 
#define ZB_ZCL_THERMOSTAT_OCCUPIED_COOLING_SETPOINT_DEFAULT_VALUE   0x0a28
 Default value for Occupied Cooling Setpoint attribute.
 
#define ZB_ZCL_THERMOSTAT_OCCUPIED_COOLING_SETPOINT_MIN_VALUE   0x954d
 Min value for Occupied Cooling Setpoint attribute.
 
#define ZB_ZCL_THERMOSTAT_OCCUPIED_COOLING_SETPOINT_MAX_VALUE   0x7fff
 Max value for Occupied Cooling Setpoint attribute.
 
#define ZB_ZCL_THERMOSTAT_OCCUPIED_HEATING_SETPOINT_DEFAULT_VALUE   0x07d0
 Default value for Occupied Heating Setpoint attribute.
 
#define ZB_ZCL_THERMOSTAT_OCCUPIED_HEATING_SETPOINT_MIN_VALUE   0x954d
 Min value for Occupied Heating Setpoint attribute.
 
#define ZB_ZCL_THERMOSTAT_OCCUPIED_HEATING_SETPOINT_MAX_VALUE   0x7fff
 Max value for Occupied Heating Setpoint attribute.
 
#define ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_DEFAULT_VALUE   0x04
 Default value for Control Sequence Of Operation attribute.
 
#define ZB_ZCL_THERMOSTAT_CONTROL_SYSTEM_MODE_DEFAULT_VALUE   0x01
 Default value for System Mode attribute.
 

Thermostat cluster commands

enum  zb_zcl_thermostat_cmd_e { ZB_ZCL_CMD_THERMOSTAT_SETPOINT_RAISE_LOWER = 0x00 }
 Thermostat cluster command identifiers. More...
 

Detailed Description

Enumeration Type Documentation

Thermostat cluster attribute identifiers.

See also
ZCL spec, subclause 6.3.2.2
Enumerator
ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_ID 

Local Temperature attribute.

ZB_ZCL_ATTR_THERMOSTAT_LOCAL_TEMPERATURE_CALIBRATION_ID 

Local Temperature Calibration.

ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_COOLING_SETPOINT_ID 

Occupied Cooling Setpoint attribute.

ZB_ZCL_ATTR_THERMOSTAT_OCCUPIED_HEATING_SETPOINT_ID 

Occupied Heating Setpoint attribute.

ZB_ZCL_ATTR_THERMOSTAT_UNOCCUPIED_COOLING_SETPOINT_ID 

Unoccupied Cooling Setpoint attribute.

ZB_ZCL_ATTR_THERMOSTAT_UNOCCUPIED_HEATING_SETPOINT_ID 

Unoccupied Heating Setpoint attribute.

ZB_ZCL_ATTR_THERMOSTAT_CONTROL_SEQUENCE_OF_OPERATION_ID 

Control Sequence Of Operation attribute.

ZB_ZCL_ATTR_THERMOSTAT_SYSTEM_MODE_ID 

System Mode attribute.

ZB_ZCL_ATTR_THERMOSTAT_AC_LOUVER_POSITION_ID 

AC Louver position attribute.

Thermostat cluster command identifiers.

See also
ZCL spec, subclause 6.3.2.3
Enumerator
ZB_ZCL_CMD_THERMOSTAT_SETPOINT_RAISE_LOWER 

Setpoint Raise/Lower command

Values for Control Sequence Of Operation attribute,.

See also
ZCL spec, subclause 6.4.2.2.1
Enumerator
ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_COOLING_ONLY 

Cooling Only value

ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_COOLING_WITH_REHEAT 

Cooling With Reheat value

ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_HEATING_ONLY 

Heating Only value

ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_HEATING_WITH_REHEAT 

Heating With Reheat value

ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_COOLING_AND_HEATING_4_PIPES 

Cooling and Heating 4-pipes value

ZB_ZCL_THERMOSTAT_CONTROL_SEQ_OF_OPERATION_COOLING_AND_HEATING_4_PIPES_WITH_REHEAT 

Cooling and Heating 4-pipes with Reheat value

Values for System Mode attribute,.

See also
ZCL spec, subclause 6.4.2.2.1
Enumerator
ZB_ZCL_THERMOSTAT_SYSTEM_MODE_OFF 

Off value

ZB_ZCL_THERMOSTAT_SYSTEM_MODE_AUTO 

Auto value

ZB_ZCL_THERMOSTAT_SYSTEM_MODE_COOL 

Cool value

ZB_ZCL_THERMOSTAT_SYSTEM_MODE_HEAT 

Heat value

ZB_ZCL_THERMOSTAT_SYSTEM_MODE_EMERGENCY_HEATING 

Emergency Heating value

ZB_ZCL_THERMOSTAT_SYSTEM_MODE_PRECOOLING 

Precooling value

ZB_ZCL_THERMOSTAT_SYSTEM_MODE_FAN_ONLY 

Fan Only value

ZB_ZCL_THERMOSTAT_SYSTEM_MODE_RESERVED 

Unknown system mode value

Function Documentation

zb_void_t zb_zcl_thermostat_init ( )

Thermostat initialization function initialize setpoint mode, shedule table