Part Number: CC2652R
Other Parts Discussed in Thread: SYSCONFIG,
I need to develop a scenario in Zigbee so I had a scenario switch on how to get the switch data from the Zigbee switches its possible to get it...!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Karthick,
For the AF_REGISTER attributes, EndPoint can be any value between 0 and 0xFF other than the reserved 0x00 (ZDO) or 0xF2 (GP). Several depend on the application, like AppProfID can be 0x0104/ZCL_HA_PROFILE_ID for Home Automation, AppDeviceID would be 0x0100/ZCL_DEVICEID_ON_OFF_LIGHT for a on/off light, AppDevVer is whatever value you choose. LatencyReq is an option that can be left as default. If you want this ZNP endpoint to be the Scene server than you would increment AppNumInClusters and add 0x0005/ZCL_CLUSTER_ID_GENERAL_SCENES to the AppInClusterList.
You can reference the zcl[sample_project]_SimpleDesc from zcl_[sample_project]_data.c of example projects like the light or temperature sensor for typical examples of AF_REGISTER attributes, or better yet view how zcl_config.c is generated by SysConfig after setting Scenes as an Optional Server Cluster under the Zigbee Application Endpoint menu. Also search similar usage instances on the E2E: e2e.ti.com/search
Regards,
Ryan
Thank you Yikai chan, it's working.
I have a doubt, can create a scene using scenario switch and Zigbee on/off module standalone without Zigbee hub
ok, help me how to do it standalone and how can create a scene using scenario switch and multiple Zigbee on/off modules in z tool
What do you mean "create a scene using scenario switch and multiple Zigbee on/off modules in z tool"?
You can try to add your Zigbee on/off modules in z tool to the same group (by using ZDO_EXT_ADD_GROUP ) and then send scene control command with group cast from your scenario switch.

For example device 1, 2, and 3 belong to the same group and you can use group id: 1. device 4 and 5 belong to another group and you can use group id: 2.
No, I don't but you can try to use script in https://sunmaysky.blogspot.com/2015/10/setup-zigbee-ha-coordinator-with-ti.html to revise for your case.
If you are further interested in ZCL development using the ZNP then it may be worthwhile to consider more advanced host interfaces than Z-Tool, such as zigbee2mqtt.
Regards,
Ryan