-
Hi, I'm trying to create a bridgedDevice which includes different type of devices. It works well for some of the device types but I'm facing an issue to implement the thermostat and WindowCovering devices. See below the source code and resulting error. Could you help me to identify what could be the reason or provide an example of configuration for these types of devices ? Thermstat device : Error : WindowCovering device : Error : Thank you very much for your support ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
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 For matter.js you can enable features using ThermostatRequirements.ThermostatServer.with("Heating", "Cooling") This enables the implementation in matter.js. Then BTW if you want to avoid the constant "4" you can use matter.js's enum definition The window covering error is similar... It's saying you can't have a shutter unless you enable |
Beta Was this translation helpful? Give feedback.
-
I am also trying something similar; trying to bridge lennox wifi thermostat and airthings wave air quality sensor .. but i just started today with almost zero clue, It would be a great help if you can share your code/example .. thanks. -g |
Beta Was this translation helpful? Give feedback.
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
andHeating
features to useCoolingAndHeating
forcontrolSequenceOfOperation
. Conformance expression[HEAT & COOL]
is sayingCoolingAndHeating
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.:This enables the implementation in matter.js. Then
CoolingAndHeating
is legal…