Skip to content
Discussion options

You must be logged in to vote

The answer provided in the issue you linked to is still valid: the examples use an example on-off cluster, that does not really toggle a physical pin on the device.

In the meantime, the support for the on-off cluster has evolved though so there is now something called "hooks" (an OnOffHooks trait for the on-off cluster), that you might want to implement instead of the complete OnOff cluster so that you can toggle your blinky.

Here's one demo that toggles a LED for "real": https://github.com/hicklin/rs-matter-rgb-lamp (EDIT: this demo is a bit more complex though, as it drives an RGB led).

As for the overall support for app clusters in rs-matter, check this

Finally, if you are targeting th…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by n8henrie
Comment options

You must be logged in to vote
1 reply
@ivmarkov
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants