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

AC - HeaterCooler cannot be created #183

Open
aryelevin opened this issue Dec 3, 2024 · 5 comments
Open

AC - HeaterCooler cannot be created #183

aryelevin opened this issue Dec 3, 2024 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@aryelevin
Copy link

aryelevin commented Dec 3, 2024

Hi,

I'm using v1.6.5 of this project and I couldn't create an AC device.
It claims it needs Thermostat client cluster which I don't have data on how to create.
In addition, it seems client clusters isn't supported.
Am I missing something?

Thanks in advance

@Luligu
Copy link
Owner

Luligu commented Dec 3, 2024

Hi,
thank you for your interest.
Who claims that it needs a client cluster?

The thermostatDevice rev 3
image
doesn't require any client clusters.

Only Identifiy and Thermostat. all the others are optional.

The client clusters are still not supported by matter.js and btw no controllers support them at the moment.

Check the code in dynamic example plugin if want to see a thermostat. Or in zigbee / shelly plugin if you want to see the 3 different types of thermostat (Auto, Heating only, Cooling only.

@Luligu Luligu self-assigned this Dec 3, 2024
@Luligu Luligu added the question Further information is requested label Dec 3, 2024
@aryelevin
Copy link
Author

Thanks for your response.
I'm talking about heat cool device which is basically air conditioners (not thermostats).
I've implemented it on HomeKit using homebridge, so I'm trying to convert my project and use matterbridge for it.
On DeviceTypes.js line 644 you can see the HEATING_COOLING_UNIT type which do have a required requiredClientClusters for some reason.
Any ideas?

@Luligu
Copy link
Owner

Luligu commented Dec 3, 2024

I suggest you to use matterbridgeDeviceTypes.ts that are updated and all verified.

If I got correctly, you want to create
13.3. Room Air Conditioner
This defines conformance to the Room Air Conditioner device type.
A Room Air Conditioner is a device with the primary function of controlling the air temperature in
a single room

I don't have that deviceType but I can add it if you need.

image

Is absolutely easy... the problem here is that no controller will support it.

Maybe HomeAssistant cause the required clusters are already supported.

This is the required device type definition that you can use like it is. It will be in the next release.

// Remark: may have a temperature sensor and a humidity sensor device.
export const airConditioner = DeviceTypeDefinition({
name: 'MA-airConditioner',
code: 0x72,
deviceClass: DeviceClasses.Simple,
revision: 2,
requiredServerClusters: [Identify.Cluster.id, OnOff.Cluster.id, Thermostat.Cluster.id],
optionalServerClusters: [Groups.Cluster.id, /* Scenes.Cluster.id,*/ FanControl.Cluster.id, ThermostatUserInterfaceConfiguration.Cluster.id, TemperatureMeasurement.Cluster.id, RelativeHumidityMeasurement.Cluster.id],
});

@aryelevin
Copy link
Author

Amazing, I will give it a try.
Apple home does support it. have a look at: https://en.wikipedia.org/wiki/Matter_(standard)
I will report any issues if found.
I really appreciate your quick support.

@aryelevin
Copy link
Author

It doesn't show up on apple, I wonder if the problem is that apple isn't supporting it or its a coding problem...
Any suggestion on how to validate?

@aryelevin aryelevin reopened this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants