5. Zigbee Interface
The thermostat provides 3 zigbee application endpoints:
Endpoint
Profile
Application
0(0x00)
1(0x01)
2(0x02)
242(0xF2)
0x0000(ZDP)
0x0104(HA)
0x0104(HA)
0xA1E0(GP)
ZigBee Device Object (ZDO) – standard management features
Device ID is 0x0301(Thermostat ).
Device ID is 0x0007(OTA).
Device ID is 0x0021(GreenPower).
5.1 Application Endpoint #0 –ZigBee Device Object
• Application profile Id 0x0000
• Application device Id 0x0000
• Supports all mandatory clusters
5.2 Application Endpoint #1 –Thermostat
meanwhile the
value
of
attribute
Occupancy
(0x0002)
of Thermostat
(0x0201) is 0. It means the Away Mode
is activated, and the thermostat UI will display
.
2) if the gateway send command to modify the attribute SystemMode(0x001c)
of Thermostat
(0x0201), the
thermostat will quit Away Mode. Meanwhile the value of attribute
Occupancy
(0x0002)
of Thermostat
(0x0201) is 1.
3) The proprietary attribute 0x2002(Manufacturer Code=0x1224) of the cluster 0x0201 can be modified to
configure whether it is away mode or at home.
Note: Away Mode uses attribute UnOccupiedHeatingSetpoint to set temperature.
Other modes uses attribute OccupiedHeatingSetpoint to set temperature.
Cluster
supported
Description
0x0000
server
Basic
Provides basic information about the device, such as the manufacturer ID,
vendor and model name, stack profile, ZCL version, production date,
hardware revision etc. Allows a factory reset of attributes, without the device
leaving the network.
0x0003
server
Identify
Allows to put the endpoint into identify mode. Useful for identifying/locating
devices and required for Finding & Binding.
0x0004
server
Groups
Allows adding this endpoint to one or more groups. Afterwards the endpoint
can be addressed using the group address. This is also a prerequisite for
scenes. You may also query group membership and delete group
associations.
0x0005
server
Scenes
Allows storing one or more scenes per group, where each scene consists of a
pre-set on/off state value. You may either store the current values as a
scene, or provide scene settings when adding a scene, or delete scenes.
0x0201
server
Thermostat
0x0702
server
Simple Meter
0x0b04
server
Electrical Measurement
Measuring power, voltage, current
0x0009
server
Alarm
Device related alarm
0x0406
client
Occupancy Sensing
5.2.1 Basic -0x0000 (Server)
Attributes supported:
0x0002
INT8U ,
read-only
StackVersion
0x0003
INT8U ,
read-only
HWVersion
Hardware version 1
0x0004
string,
read-only
ManufacturerName
“Sunricher”
0x0005
string,
read-only
ModelIdentifier
“Zg9092”
0x0006
string,
read-only
DateCode
NULL
0x0007
ENUM8,
read-only
PowerSource
Device power supply, fixed value 0x01 Mains (single phase)
0x0008
ENUM8,
read-only
GenericDevice-Class
0XFF
0x0009
ENUM8,
read-only
GenericDevice-Type
0XFF
0x000A
octstr
read-only
ProductCode
00
0x000B
string,
read-only
ProductURL
NULL
0x4000
string,
read-only
Sw build id
6.9.1.0_r4
Command supported:
Command
Description
0x00
Reset to Factory Defaults Command
On receipt of this command, the device resets all the attributes of all its
clusters to their factory defaults. Note that networking functionality, bindings,
groups, or other persistent data are not affected by this command.
5.2.2 Scenes 0x0005 (Server)
Attributes supported:
Attribute
Type
Description
0x0000
int8u,
read-only
SceneCount
Holds the total number of scenes (across all groups) currently stored on the
device.
0x0001
int8u,
read-only
CurrentScene
If the SceneValid attribute is true, this attribute, together with the
CurrentGroup attribute,indicates the currently active scene.
0x0002
int16u,
read-only
CurrentGroup
If the SceneValid attribute is true, this attribute, together with the
CurrentScene attribute,indicates the currently active scene.
0x000a
client
Time
0x0001
INT8U ,
read-only
ApplicationVersion
This is the firmware version number of the application
Attribute
Type
Description
0x0000
INT8U,
read-only
ZCLVersion
0x03