Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zigbee Groups & Scenes #64

Open
jnwllm opened this issue Feb 11, 2021 · 1 comment
Open

Zigbee Groups & Scenes #64

jnwllm opened this issue Feb 11, 2021 · 1 comment

Comments

@jnwllm
Copy link

jnwllm commented Feb 11, 2021

Is it / can it be made possible to support Zigbee Groups & Scenes with the upgraded zigbee engine in v5?

See chapter H3.6 & 3.7 of https://zigbeealliance.org/wp-content/uploads/2019/12/07-5123-06-zigbee-cluster-library-specification.pdf for more info.

@mhaid
Copy link
Contributor

mhaid commented Mar 9, 2021

It is possible to use the Groups and Scenes cluster. The current cluster implementation can be found under lib/clusters/scenes.js & lib/clusters/groups.js.

Not sure whether you are new to creating Homey apps with ZigBee integration, but if you are please refere to this documentation. For my taste, some parts of the documentation should be expanded, but it still provides a good overview :)

If you want to send commands to the device or read device attributes, you can do it just like you would with any other cluster.
Unfortunately, the scenes-cluster isn't yet fully implemented. But you can of course submit a pull request. Or you could also just create a custom cluster in your app (see docs).

If you want to receive commands from the device you should create a BoundCluster. Here is a bit of documentation about it.
Regarding the not yet fully implemented scenes cluster: Here aplies the same. Either submit a pull request with the cluster implementation or create a custom cluster yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants