Skip to content
Discussion options

You must be logged in to vote

Ok, so in fact Matter specification wise it is allowed when the attribute IDs are in the Vendor specific number areas as discussed above.
To do that in matter.js (and I never did exactly this till now!) you need to ideally create a class extending the OnOffServer class and then you need to:
1.) Adjust the OnOff Tlv Schema
2.) Adjust the internal class schema

And in both add this attribute.

Right now both would be needed. We work on simplifying this but we are not yet there (in fact we already have ways to enhance the internal "state" of a cluster but this only works for "non-matter relevant" data. So for the time being it would be like that.

I do not have a ready to use example but some p…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@Apollon77
Comment options

@Apollon77
Comment options

@masaki-sugitani
Comment options

@Apollon77
Comment options

Answer selected by masaki-sugitani
@masaki-sugitani
Comment options

@Apollon77
Comment options

@masaki-sugitani
Comment options

@Apollon77
Comment options

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