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

Feature/thermostat events xml ### Testing #36909

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ cluster ActivatedCarbonFilterMonitoring = 114 {

/** An interface for configuring and controlling the functionality of a thermostat. */
cluster Thermostat = 513 {
revision 7;
revision 9;

enum ACCapacityFormatEnum : enum8 {
kBTUh = 0;
Expand Down Expand Up @@ -1679,6 +1679,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

bitmap HVACSystemTypeBitmap : bitmap8 {
Expand Down Expand Up @@ -1787,6 +1788,47 @@ cluster Thermostat = 513 {
nullable temperature coolSetpoint = 2;
}

info event SystemModeChange = 0 {
optional SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

info event LocalTemperatureChange = 1 {
nullable temperature currentLocalTemperature = 0;
}

info event OccupancyChange = 2 {
optional OccupancyBitmap previousOccupancy = 0;
OccupancyBitmap currentOccupancy = 1;
}

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
optional OccupancyBitmap occupancy = 1;
optional temperature previousSetpoint = 2;
temperature currentSetpoint = 3;
}

info event RunningStateChange = 4 {
optional RelayStateBitmap previousRunningState = 0;
RelayStateBitmap currentRunningState = 1;
}

info event RunningModeChange = 5 {
optional ThermostatRunningModeEnum previousRunningMode = 0;
ThermostatRunningModeEnum currentRunningMode = 1;
}

info event ActiveScheduleChange = 6 {
optional nullable octet_string previousScheduleHandle = 0;
nullable octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional nullable octet_string previousPresetHandle = 0;
nullable octet_string currentPresetHandle = 1;
}

readonly attribute nullable temperature localTemperature = 0;
readonly attribute optional nullable temperature outdoorTemperature = 1;
readonly attribute optional OccupancyBitmap occupancy = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5424,7 +5424,7 @@ cluster PumpConfigurationAndControl = 512 {

/** An interface for configuring and controlling the functionality of a thermostat. */
cluster Thermostat = 513 {
revision 7;
revision 9;

enum ACCapacityFormatEnum : enum8 {
kBTUh = 0;
Expand Down Expand Up @@ -5542,6 +5542,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

bitmap HVACSystemTypeBitmap : bitmap8 {
Expand Down Expand Up @@ -5650,6 +5651,47 @@ cluster Thermostat = 513 {
nullable temperature coolSetpoint = 2;
}

info event SystemModeChange = 0 {
optional SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

info event LocalTemperatureChange = 1 {
nullable temperature currentLocalTemperature = 0;
}

info event OccupancyChange = 2 {
optional OccupancyBitmap previousOccupancy = 0;
OccupancyBitmap currentOccupancy = 1;
}

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
optional OccupancyBitmap occupancy = 1;
optional temperature previousSetpoint = 2;
temperature currentSetpoint = 3;
}

info event RunningStateChange = 4 {
optional RelayStateBitmap previousRunningState = 0;
RelayStateBitmap currentRunningState = 1;
}

info event RunningModeChange = 5 {
optional ThermostatRunningModeEnum previousRunningMode = 0;
ThermostatRunningModeEnum currentRunningMode = 1;
}

info event ActiveScheduleChange = 6 {
optional nullable octet_string previousScheduleHandle = 0;
nullable octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional nullable octet_string previousPresetHandle = 0;
nullable octet_string currentPresetHandle = 1;
}

readonly attribute nullable temperature localTemperature = 0;
readonly attribute optional nullable temperature outdoorTemperature = 1;
readonly attribute optional OccupancyBitmap occupancy = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3836,7 +3836,7 @@ cluster PumpConfigurationAndControl = 512 {

/** An interface for configuring and controlling the functionality of a thermostat. */
cluster Thermostat = 513 {
revision 7;
revision 9;

enum ACCapacityFormatEnum : enum8 {
kBTUh = 0;
Expand Down Expand Up @@ -3954,6 +3954,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

bitmap HVACSystemTypeBitmap : bitmap8 {
Expand Down Expand Up @@ -4062,6 +4063,47 @@ cluster Thermostat = 513 {
nullable temperature coolSetpoint = 2;
}

info event SystemModeChange = 0 {
optional SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

info event LocalTemperatureChange = 1 {
nullable temperature currentLocalTemperature = 0;
}

info event OccupancyChange = 2 {
optional OccupancyBitmap previousOccupancy = 0;
OccupancyBitmap currentOccupancy = 1;
}

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
optional OccupancyBitmap occupancy = 1;
optional temperature previousSetpoint = 2;
temperature currentSetpoint = 3;
}

info event RunningStateChange = 4 {
optional RelayStateBitmap previousRunningState = 0;
RelayStateBitmap currentRunningState = 1;
}

info event RunningModeChange = 5 {
optional ThermostatRunningModeEnum previousRunningMode = 0;
ThermostatRunningModeEnum currentRunningMode = 1;
}

info event ActiveScheduleChange = 6 {
optional nullable octet_string previousScheduleHandle = 0;
nullable octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional nullable octet_string previousPresetHandle = 0;
nullable octet_string currentPresetHandle = 1;
}

readonly attribute nullable temperature localTemperature = 0;
readonly attribute optional nullable temperature outdoorTemperature = 1;
readonly attribute optional OccupancyBitmap occupancy = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ cluster ActivatedCarbonFilterMonitoring = 114 {

/** An interface for configuring and controlling the functionality of a thermostat. */
cluster Thermostat = 513 {
revision 7;
revision 9;

enum ACCapacityFormatEnum : enum8 {
kBTUh = 0;
Expand Down Expand Up @@ -1602,6 +1602,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

bitmap HVACSystemTypeBitmap : bitmap8 {
Expand Down Expand Up @@ -1710,6 +1711,47 @@ cluster Thermostat = 513 {
nullable temperature coolSetpoint = 2;
}

info event SystemModeChange = 0 {
optional SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

info event LocalTemperatureChange = 1 {
nullable temperature currentLocalTemperature = 0;
}

info event OccupancyChange = 2 {
optional OccupancyBitmap previousOccupancy = 0;
OccupancyBitmap currentOccupancy = 1;
}

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
optional OccupancyBitmap occupancy = 1;
optional temperature previousSetpoint = 2;
temperature currentSetpoint = 3;
}

info event RunningStateChange = 4 {
optional RelayStateBitmap previousRunningState = 0;
RelayStateBitmap currentRunningState = 1;
}

info event RunningModeChange = 5 {
optional ThermostatRunningModeEnum previousRunningMode = 0;
ThermostatRunningModeEnum currentRunningMode = 1;
}

info event ActiveScheduleChange = 6 {
optional nullable octet_string previousScheduleHandle = 0;
nullable octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional nullable octet_string previousPresetHandle = 0;
nullable octet_string currentPresetHandle = 1;
}

readonly attribute nullable temperature localTemperature = 0;
readonly attribute optional nullable temperature outdoorTemperature = 1;
readonly attribute optional OccupancyBitmap occupancy = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,7 @@ cluster FixedLabel = 64 {

/** An interface for configuring and controlling the functionality of a thermostat. */
cluster Thermostat = 513 {
revision 7;
revision 9;

enum ACCapacityFormatEnum : enum8 {
kBTUh = 0;
Expand Down Expand Up @@ -1898,6 +1898,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

bitmap HVACSystemTypeBitmap : bitmap8 {
Expand Down Expand Up @@ -2006,6 +2007,47 @@ cluster Thermostat = 513 {
nullable temperature coolSetpoint = 2;
}

info event SystemModeChange = 0 {
optional SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

info event LocalTemperatureChange = 1 {
nullable temperature currentLocalTemperature = 0;
}

info event OccupancyChange = 2 {
optional OccupancyBitmap previousOccupancy = 0;
OccupancyBitmap currentOccupancy = 1;
}

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
optional OccupancyBitmap occupancy = 1;
optional temperature previousSetpoint = 2;
temperature currentSetpoint = 3;
}

info event RunningStateChange = 4 {
optional RelayStateBitmap previousRunningState = 0;
RelayStateBitmap currentRunningState = 1;
}

info event RunningModeChange = 5 {
optional ThermostatRunningModeEnum previousRunningMode = 0;
ThermostatRunningModeEnum currentRunningMode = 1;
}

info event ActiveScheduleChange = 6 {
optional nullable octet_string previousScheduleHandle = 0;
nullable octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional nullable octet_string previousPresetHandle = 0;
nullable octet_string currentPresetHandle = 1;
}

readonly attribute nullable temperature localTemperature = 0;
readonly attribute optional nullable temperature outdoorTemperature = 1;
readonly attribute optional OccupancyBitmap occupancy = 2;
Expand Down
44 changes: 43 additions & 1 deletion examples/chef/devices/rootnode_heatpump_87ivjRAECh.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2043,7 +2043,7 @@ provisional cluster DeviceEnergyManagementMode = 159 {

/** An interface for configuring and controlling the functionality of a thermostat. */
cluster Thermostat = 513 {
revision 7;
revision 9;

enum ACCapacityFormatEnum : enum8 {
kBTUh = 0;
Expand Down Expand Up @@ -2161,6 +2161,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

bitmap HVACSystemTypeBitmap : bitmap8 {
Expand Down Expand Up @@ -2269,6 +2270,47 @@ cluster Thermostat = 513 {
nullable temperature coolSetpoint = 2;
}

info event SystemModeChange = 0 {
optional SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

info event LocalTemperatureChange = 1 {
nullable temperature currentLocalTemperature = 0;
}

info event OccupancyChange = 2 {
optional OccupancyBitmap previousOccupancy = 0;
OccupancyBitmap currentOccupancy = 1;
}

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
optional OccupancyBitmap occupancy = 1;
optional temperature previousSetpoint = 2;
temperature currentSetpoint = 3;
}

info event RunningStateChange = 4 {
optional RelayStateBitmap previousRunningState = 0;
RelayStateBitmap currentRunningState = 1;
}

info event RunningModeChange = 5 {
optional ThermostatRunningModeEnum previousRunningMode = 0;
ThermostatRunningModeEnum currentRunningMode = 1;
}

info event ActiveScheduleChange = 6 {
optional nullable octet_string previousScheduleHandle = 0;
nullable octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional nullable octet_string previousPresetHandle = 0;
nullable octet_string currentPresetHandle = 1;
}

readonly attribute nullable temperature localTemperature = 0;
readonly attribute optional nullable temperature outdoorTemperature = 1;
readonly attribute optional OccupancyBitmap occupancy = 2;
Expand Down
Loading
Loading