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 5 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 @@ -1656,6 +1656,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

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

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

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

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

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
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 octet_string previousScheduleHandle = 0;
octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional octet_string previousPresetHandle = 0;
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 @@ -5519,6 +5519,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

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

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

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

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

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
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 octet_string previousScheduleHandle = 0;
octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional octet_string previousPresetHandle = 0;
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 @@ -3931,6 +3931,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

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

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

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

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

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
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 octet_string previousScheduleHandle = 0;
octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional octet_string previousPresetHandle = 0;
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 @@ -1579,6 +1579,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

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

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

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

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

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
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 octet_string previousScheduleHandle = 0;
octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional octet_string previousPresetHandle = 0;
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 @@ -1875,6 +1875,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

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

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

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

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

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
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 octet_string previousScheduleHandle = 0;
octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional octet_string previousPresetHandle = 0;
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
42 changes: 42 additions & 0 deletions examples/chef/devices/rootnode_heatpump_87ivjRAECh.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2138,6 +2138,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

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

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

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

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

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
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 octet_string previousScheduleHandle = 0;
octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional octet_string previousPresetHandle = 0;
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 @@ -1519,6 +1519,7 @@ cluster Thermostat = 513 {
kLocalTemperatureNotExposed = 0x40;
kMatterScheduleConfiguration = 0x80;
kPresets = 0x100;
kEvents = 0x200;
}

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

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

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

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

info event SetpointChange = 3 {
SystemModeEnum systemMode = 0;
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 octet_string previousScheduleHandle = 0;
octet_string currentScheduleHandle = 1;
}

info event ActivePresetChange = 7 {
optional octet_string previousPresetHandle = 0;
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