i want to make Coordinator ON/OFF with a Consumer device button.
I will use EFR32MG12 as my Coordinator (Z3light). but i dint want to use another Z3Switch to make this Z3light ON/OFF.
i want to make Z3light on/off using the consumer device button. please let me know how to achieve this, thanking you.
Discussion Forums
Answered
ZigBee and Thread
Answered
If your consumer device supports ZCL ON/OFF cluster client, you can send binding request to it to make it be able to send ON/OFF command to binding destination such as your Z3Light device.
0
Dear,
Before i added same Consumer Switch Device into the Zigbee network with coordinator. now i want use same consumer Switch Device as SWITCH TO on/off the Coordinator.
Before i added the Consumer Switch Device into the network with the help of Factory Reset Button.
As you mentioned i want to send a " binding request to it to make it be able to send ON/OFF command to binding destination such as your Z3Light device(Coordinator)". But now How can i find NodeID of the Consumer Device Switch Device for binding ?
before i made test using Z3Switch there i did binding and i send ZCL ON/OFF Using CLI in simplicity studio V5.
but now for this Consumer Device Switch Device how can i send ZCL ON/OFF cluster client commands to coordinator ?
please let me know, thanking you.
0
When a device join Zigbee network, it will broadcast device announcement which contains node id of joining device. You can receive device announcement in your Z3Light device(Coordinator) to know the node ID of joining device.
0
Dear,
Thanks for the information.
For joining the Consumer Switch Device into the Zigbee network with coordinator i cant able to see the BEACON REQUEST from the Coordinator In Sniffer. even if i have one or two Beacon requests from coordinator there is Permit Association =false.
so i cant able to join the Consumer Switch device into the zigbee network even after the factory reset.
0
Do you use CLI command "plugin network-creator-security open-network" on your Z3Light coordinator to enable permit join of your Zigbee network?
0
Dear,
Thanks for the information. yesnow i used "plugin network-creator-security open-network again. now its accepted request and device sent association request also. so now i understand that whenever i want add new device into the network i need to used open-network command. so coordinator wont sent beacon in between for new devices to join unless if i give again "plugin network-creator-security open-network"command for joining the new device into network.
According the binding command to send from coordinator to consumer Switch device from ZC I NEED TO USE
You can use the following CLI command to get EUI64 address.
zdo ieee [nodeId:2]
Request an ieee address based on a given node id.
nodeId - INT16U - Short address of the device for which a long address is requested
0
Dear,,
I used zdo ieee [nodeId:2] to get the EUI64 address of Consumer devices.
but i am getting error message every time when i used this commandto seethe EUI64 of Consumer device with device announce NodeId.
I try same command to see z3light EUI64 and i got Z3LightSoc_test>Z3LightSoc_test>IEEE Address response: (>)842E14FFFE90698C.
but i cant able to view the EUI64 of Consumer devices with this Node id command, i am getting error message.
please see the below attachment and let me know, thanking you.
I think your Consumer Switch Device doesn’t do polling so the ieee address request command cannot be sent to your Consumer Switch Device. Device announcement also contains EUI address of joining device so you can use it directly.
0
Dear,
Not only Consumer Switch Device and also Sensor Device is not responding for the IEEE [NodeId:2] command to get EUI64 of devices.
As you mentioned i am cant able to see the EUI64 in the Device announcement.
According to the below attachment, is 0X0013 IS THE EUI64 of that Consumer Device ?
please find the attachment and let me know, thanking you.
No, it’s not. Default output doesn’t contains EUI64 address. You can to add print by yourself in device announcement event.
0
Dear,
I didn't understand, can please explain me where i need to add it manual to print the EUI64 of the Consumer Devices ?
where i can find the device announcement event to add it manually ?
Please let me know, thanking you.
0
You can add print in "case END_DEVICE_ANNOUNCE:" of emAfProcessZdo in af-main-common.c. 8 bytes from message[3] to message[10] in "case END_DEVICE_ANNOUNCE:" should stands for EUI64 of joining device.
0
Dear,
As you mentioned i made changes in "case END_DEVICE_ANNOUNCE:" of emAfProcessZdo in af-main-common.c.
i added message[3] to message to [10] , 8 bytes in emberAfZdoPrintln(); of case END_DEVICE_ANNOUNCE.
but still i cant able to get the EUI64 along with DEVICE ANNOUNCE while device joining.
please see the below attachment and let me know, thanking you.
This is again a C programming language issue. You should use 8 %x in your emberAfZdoPrintLn to print UEI64 which is formed by 8 bytes hex data. Please make sure you have fundamental capability on C language first.
using Consumer device in place of Z3switch.
Dear,
i want to make Coordinator ON/OFF with a Consumer device button.
I will use EFR32MG12 as my Coordinator (Z3light). but i dint want to use another Z3Switch to make this Z3light ON/OFF.
i want to make Z3light on/off using the consumer device button. please let me know how to achieve this, thanking you.
Dear,
Before i added same Consumer Switch Device into the Zigbee network with coordinator. now i want use same consumer Switch Device as SWITCH TO on/off the Coordinator.
Before i added the Consumer Switch Device into the network with the help of Factory Reset Button.
As you mentioned i want to send a " binding request to it to make it be able to send ON/OFF command to binding destination such as your Z3Light device(Coordinator)". But now How can i find NodeID of the Consumer Device Switch Device for binding ?
before i made test using Z3Switch there i did binding and i send ZCL ON/OFF Using CLI in simplicity studio V5.
but now for this Consumer Device Switch Device how can i send ZCL ON/OFF cluster client commands to coordinator ?
please let me know, thanking you.
Dear,
Thanks for the information.
For joining the Consumer Switch Device into the Zigbee network with coordinator i cant able to see the BEACON REQUEST from the Coordinator In Sniffer. even if i have one or two Beacon requests from coordinator there is Permit Association =false.
so i cant able to join the Consumer Switch device into the zigbee network even after the factory reset.
Dear,
Thanks for the information. yesnow i used "plugin network-creator-security open-network again. now its accepted request and device sent association request also. so now i understand that whenever i want add new device into the network i need to used open-network command. so coordinator wont sent beacon in between for new devices to join unless if i give again "plugin network-creator-security open-network"command for joining the new device into network.
According the binding command to send from coordinator to consumer Switch device from ZC I NEED TO USE
Example: ZC> zdo bind 0x2834 1 1 0x0006 {000B57FFFE07B174} {000B57FFFE0BC790}
zdo bind (nodeid of switch) 1 1 (cluster on/off) (EUI64 of ZC) (EUI64 of ZE)
Can you please explain me how to find EUI64 of the switch devices for sending binding to switch. thanking you.
You can use the following CLI command to get EUI64 address.
Dear,,
I used zdo ieee [nodeId:2] to get the EUI64 address of Consumer devices.
but i am getting error message every time when i used this commandto seethe EUI64 of Consumer device with device announce NodeId.
I try same command to see z3light EUI64 and i got Z3LightSoc_test>Z3LightSoc_test>IEEE Address response: (>)842E14FFFE90698C.
but i cant able to view the EUI64 of Consumer devices with this Node id command, i am getting error message.
please see the below attachment and let me know, thanking you.
Dear,
Not only Consumer Switch Device and also Sensor Device is not responding for the IEEE [NodeId:2] command to get EUI64 of devices.
As you mentioned i am cant able to see the EUI64 in the Device announcement.
According to the below attachment, is 0X0013 IS THE EUI64 of that Consumer Device ?
please find the attachment and let me know, thanking you.
Dear,
I didn't understand, can please explain me where i need to add it manual to print the EUI64 of the Consumer Devices ?
where i can find the device announcement event to add it manually ?
Please let me know, thanking you.
Dear,
As you mentioned i made changes in "case END_DEVICE_ANNOUNCE:" of emAfProcessZdo in af-main-common.c.
i added message[3] to message to [10] , 8 bytes in emberAfZdoPrintln(); of case END_DEVICE_ANNOUNCE.
but still i cant able to get the EUI64 along with DEVICE ANNOUNCE while device joining.
please see the below attachment and let me know, thanking you.