Is there a way to retrieve a list of all Zigbee groups, defined on the the hub, from withing an edge driver?
My use case is for Scene switch/remote with multiple buttons, that supports both Scene and Normal operation modes.
For Scene mode, I’d like to provide a user with a list of all available groups to choose from. The user will select a group by name and the driver will translate that name into Zigbee group ID.
So, basically, I’m looking at a way to receive a list of pairs, where each element in the list is a name and id.
Thanks
I don’t think it will be implemented as ST supports Zwave and cloud devices , and has its own Scene engine . Unfortunately it’s not executed locally but we hope for the best
There has been some previous discussion of Zigbee group management with Edge Drivers.
See the following threads.
@lmullineux has implemented this in an edge driver
And there was a brief discussion here:
2 Likes
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
4
It’s possible that ST will provide native support for this in future with the EDGE driver architecture being able to support default handlers which can be handled by the hub without explicit support from drivers, thus opening up the possibility that the functionality can be bridged between zwave and zigbee and done locally.
Zwave groups and Zigbee groups are very different constructs.
Zwave association groups are just a list that the trigger device keeps for itself of the Target device IDs that it is allowed to send messages to without going through the hub. So one particular light switch might be in group 2 for motion sensor A and group 4 for motion sensor B, and the light switch would never know it was in either group. Just the sensors would.
Zigbee groups are addressing constructs. A specific target device knows if it is in a group, and which group that is. It can only be in one group. Group 2 is the same for the entire network. A group message can be sent and it goes to all the devices on the network, with each device checking to see if the address is for the one and only one group that it is in. If so, it acts on it, if not, it ignores it.
So a Zwave network can have as many different “group 2” ‘s as it has devices that are capable of direct association, and the membership of each group 2 might be a different set of devices.
A zigbee network has only one “group 2” for the whole network.
So they aren’t really ideas that you can combine, they have very different functionality.
Tagging @garrett.kranz just because he likes stuff like this.