9ha command example – SENA ProBee-ZE20S-HAOL User Manual
Page 77
![background image](/manuals/292726/77/background.png)
ProBee-ZE20S-HAxx User Guide Rev 1.9
77
9
HA Command Example
9.1
Cluster Command for Binding (ProBeeHACI - ProBeeHADL)
Each Smart Energy node can communicate with the other by cluster command. A cluster consists of
server-side cluster and client-side cluster, and both of them have their own commands. If a Home
Automation node has server-side or client-side cluster, the node can send cluster command to other node
that has the other side cluster. Here is an example for sending cluster command.
Example) Check ProBeeHADL node and set as coordinator.
AT+VERSION
# Get ProBee HA Version
HADLv1.x
# ProBeeHADL – Door Lock
OK
# Response
AT+NODETYPE=1
# Set node type as the coordinator
OK
# Response
AT+PANID=1234
# Set PAN ID as 0x1234
OK
# Response
ATZ
# Reset and apply all settings
OK
# Response
Example) Check ProBeeHACI node and set as router.
AT+VERSION
# Get ProBee HA Version
HACIv1.x
# ProBeeHACI – Combined Interface
OK
# Response
AT+NODETYPE=2
# Set node type as the router
OK
# Response
AT+PANID=1234
# Set same PAN ID as coordinator
OK
# Response
ATZ
# Reset and apply all settings
OK
# Response
Make a network by setting ProBeeHADL node to coordinator and setting ProBeeHACI node to router.
Then you can make ProBeeHACI communicate with ProBeeHADL through cluster binding.
Example) Send the ‘Lock’ command in Door Lock cluster from ProBeeHACI node.
AT+DEST=0000,01
# Set Destination node to coordinator
# Coordinator is now ProBeeHADL
AT+LOCK
# Send ‘Lock’ Command to