Hello, I have a question about how to operate on multiple Zigbee devices simultaneously. I am currently developing a hub to control and retrieve data from home appliances that support the Zigbee protocol. This hub is equipped with nRF5340 and has Flash firmware built with nRF Connect SDK.
I am now trying to figure out how to operate multiple devices as simultaneously as possible. (The reason is to improve the UX).
For example, let's say I have 10 Hue lights in a room and I want to turn on some or all of these lights as simultaneously as possible.
Also, suppose that which lights are turned on is variable.
The first solution would be to send commands one at a time to each of the lights you want to manipulate (execute "zcl cmd" one at a time). However, this method will cause a time lag before all the lights to be operated are turned on.
The second solution is to assign the same Group ID to the devices and use Group cast, which does not cause a time lag compared to the first solution but complicates Group management because which lights to turn on is variable.
Is there any other way other than the above two?
For example, "zcl cmd" can only send one command for one device, but is it possible to define a shell that sends multiple commands for multiple devices?
I may be asking a strange question as I have little experience in development using the nRF5340, but any information you can give me would be appreciated.