HOME › Forums › Software › Open Source Development › API Example’s for ZBPServer and Harmony line of Gateways › Reply To: API Example’s for ZBPServer and Harmony line of Gateways
Inactive
June 2, 2014 at 8:35 pm
Post count: 259
Examples of API for Zigbee Dimmers:
REQUEST DIMMER LEVEL:
ZBP_Node
Node_ClusterCommand
146
27547
1
8
0
[1,0,0]
8840
STATUS RESPONSE:
Node_ClusterCmdRsp
b2
6b9b
1
8
1
1
[0,0,0,20,level_value_0to_255] [0,0 Attribute ID 0x0000 which was requested, 0 = Success, 10 = Data Type which is 1 byte, level_value_0to_255 = Dimmer value from 0 to 255 ]
1
CHANGE DIMMER LEVEL:
ZBP_Node
Node_ClusterCommand
146
27547
1
8
4 {Command: Move to Level}
[level_value_0to_255,0,0]
8840