Developing with ZBOSS for Zigbee

Typedefs

typedef enum zb_zcl_price_tariff_resolution_period_e zb_zcl_price_tariff_resolution_period_t
 TariffResolutionPeriod attribute values More...
 
typedef enum zb_zcl_price_co2_unit_e zb_zcl_price_co2_unit_t
 CO2Unit attribute values More...
 

Enumerations

enum  zb_zcl_price_set_tariff_information_e {
  ZB_ZCL_ATTR_PRICE_SRV_TARIFF_LABEL = ZB_ZCL_ATTR_SET_WITH_ATTR_ID(ZB_ZCL_PRICE_SET_TARIFF_INFORMATION, 0x10), ZB_ZCL_ATTR_PRICE_SRV_NUMBER_OF_PRICE_TIERS_IN_USE, ZB_ZCL_ATTR_PRICE_SRV_NUMBER_OF_BLOCK_THRESHOLDS_IN_USE, ZB_ZCL_ATTR_PRICE_SRV_TIER_BLOCK_MODE,
  ZB_ZCL_ATTR_PRICE_SRV_UNIT_OF_MEASURE = ZB_ZCL_ATTR_SET_WITH_ATTR_ID(ZB_ZCL_PRICE_SET_TARIFF_INFORMATION, 0x15), ZB_ZCL_ATTR_PRICE_SRV_CURRENCY, ZB_ZCL_ATTR_PRICE_SRV_PRICE_TRAILING_DIGIT, ZB_ZCL_ATTR_PRICE_SRV_TARIFF_RESOLUTION_PERIOD = ZB_ZCL_ATTR_SET_WITH_ATTR_ID(ZB_ZCL_PRICE_SET_TARIFF_INFORMATION, 0x19),
  ZB_ZCL_ATTR_PRICE_SRV_CO2 = ZB_ZCL_ATTR_SET_WITH_ATTR_ID(ZB_ZCL_PRICE_SET_TARIFF_INFORMATION, 0x20), ZB_ZCL_ATTR_PRICE_SRV_CO2_UNIT, ZB_ZCL_ATTR_PRICE_SRV_CO2_TRAILING_DIGIT
}
 Tariff Information (Delivered) Attributes Set. More...
 
enum  zb_zcl_price_tariff_resolution_period_e { ZB_ZCL_ATTR_PRICE_TARIFF_RESOLUTION_PERIOD_NOT_DEFINED = 0x00, ZB_ZCL_ATTR_PRICE_TARIFF_RESOLUTION_PERIOD_BLOCK_PERIOD, ZB_ZCL_ATTR_PRICE_TARIFF_RESOLUTION_PERIOD_1DAY }
 TariffResolutionPeriod attribute values More...
 
enum  zb_zcl_price_co2_unit_e { ZB_ZCL_ATTR_PRICE_CO2_UNIT_KG_PER_KWH = 0x01, ZB_ZCL_ATTR_PRICE_CO2_UNIT_KG_PER_GALLON_OF_GASOLINE = 0x02, ZB_ZCL_ATTR_PRICE_CO2_UNIT_KG_PER_THERM_OF_NATURAL_GAS = 0x03 }
 CO2Unit attribute values More...
 

Detailed Description

This set of attributes represents items that are associated with a particular Price Tariff.

Note
The terms tier and rate are used interchangeably here, but do define the same thing.

Typedef Documentation

◆ zb_zcl_price_co2_unit_t

CO2Unit attribute values

See also
SE spec, Table D-83.
ZB_ZCL_ATTR_PRICE_SRV_CO2_UNIT

◆ zb_zcl_price_tariff_resolution_period_t

TariffResolutionPeriod attribute values

See also
SE spec, Table D-107
ZB_ZCL_ATTR_PRICE_SRV_TARIFF_RESOLUTION_PERIOD

Enumeration Type Documentation

◆ zb_zcl_price_co2_unit_e

CO2Unit attribute values

See also
SE spec, Table D-83.
ZB_ZCL_ATTR_PRICE_SRV_CO2_UNIT
Enumerator
ZB_ZCL_ATTR_PRICE_CO2_UNIT_KG_PER_KWH 

kg per kWh

ZB_ZCL_ATTR_PRICE_CO2_UNIT_KG_PER_GALLON_OF_GASOLINE 

kg per Gallon of Gasoline

ZB_ZCL_ATTR_PRICE_CO2_UNIT_KG_PER_THERM_OF_NATURAL_GAS 

kg per Therm of Natural Gas

◆ zb_zcl_price_set_tariff_information_e

Tariff Information (Delivered) Attributes Set.

See also
SE spec, D.4.2.2.7
Enumerator
ZB_ZCL_ATTR_PRICE_SRV_TARIFF_LABEL 

The TariffLabel attribute provides a method for utilities to assign a label to an entire set of tariff information.

ZB_ZCL_ATTR_PRICE_SRV_NUMBER_OF_PRICE_TIERS_IN_USE 

An 8-bit integer which indicates the number of price tiers used while this tariff is active.

ZB_ZCL_ATTR_PRICE_SRV_NUMBER_OF_BLOCK_THRESHOLDS_IN_USE 

An 8-bit integer which indicates the total number of block thresholds used in the currently active tariff.

ZB_ZCL_ATTR_PRICE_SRV_TIER_BLOCK_MODE 

An 8-bit enumeration indicating how the mixed TOU / Block charging is to be applied.

ZB_ZCL_ATTR_PRICE_SRV_UNIT_OF_MEASURE 

An 8-bit enumeration identifying the base unit of measure.

ZB_ZCL_ATTR_PRICE_SRV_CURRENCY 

An unsigned 16-bit integer containing identifying information concerning the local unit of currency used in the Price cluster.

ZB_ZCL_ATTR_PRICE_SRV_PRICE_TRAILING_DIGIT 

An 8-bit BitMap used to determine where the decimal point is located for prices provided in the Standing Charge attribute and the Price Matrix command.

ZB_ZCL_ATTR_PRICE_SRV_TARIFF_RESOLUTION_PERIOD 

An 8-bit enumeration identifying the resolution period for Block Tariff.

ZB_ZCL_ATTR_PRICE_SRV_CO2 

Used to calculate the amount of carbon dioxide (CO2) produced from energy use.

ZB_ZCL_ATTR_PRICE_SRV_CO2_UNIT 

This attribute is an 8-bit enumeration which defines the unit for the CO2 attribute.

ZB_ZCL_ATTR_PRICE_SRV_CO2_TRAILING_DIGIT 

An 8-bit Bit-Map used to determine where the decimal point is located in the CO2 attribute.

◆ zb_zcl_price_tariff_resolution_period_e

TariffResolutionPeriod attribute values

See also
SE spec, Table D-107
ZB_ZCL_ATTR_PRICE_SRV_TARIFF_RESOLUTION_PERIOD
Enumerator
ZB_ZCL_ATTR_PRICE_TARIFF_RESOLUTION_PERIOD_NOT_DEFINED 

Not defined

ZB_ZCL_ATTR_PRICE_TARIFF_RESOLUTION_PERIOD_BLOCK_PERIOD 

Block Period

ZB_ZCL_ATTR_PRICE_TARIFF_RESOLUTION_PERIOD_1DAY 

1 Day