Skip to content

Implementation of thermostat and WindowCovering in a bridgedDevice #996

Answered by lauckhart
elausys asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @elausys. The error messages are cryptic here but the "conformance" expressions indicate the problem...

Matter conformance defines what you can do based on the features enabled on a cluster... So for example, for the thermostat cluster you need to enable Cooling and Heating features to use CoolingAndHeating for controlSequenceOfOperation. Conformance expression [HEAT & COOL] is saying CoolingAndHeating is allowed only if both cooling and heating are enabled.

For matter.js you can enable features using with on the behavior classes. So e.g.:

    ThermostatRequirements.ThermostatServer.with("Heating", "Cooling")

This enables the implementation in matter.js. Then CoolingAndHeating is legal…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@Lovewife228
Comment options

@elausys
Comment options

Answer selected by Apollon77
Comment options

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

@singh-io
Comment options

@Lovewife228
Comment options

@singh-io
Comment options

@JimBuzbee
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
6 participants