Skip to content

Commit

Permalink
Added the codegen for the thermostat cluster events
Browse files Browse the repository at this point in the history
  • Loading branch information
drempelg committed Dec 19, 2024
1 parent bde3911 commit 880c50d
Show file tree
Hide file tree
Showing 52 changed files with 4,290 additions and 4 deletions.
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 {
SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

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

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

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

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

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

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

info event ActivePresetChange = 7 {
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 {
SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

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

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

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

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

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

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

info event ActivePresetChange = 7 {
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 {
SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

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

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

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

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

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

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

info event ActivePresetChange = 7 {
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 {
SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

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

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

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

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

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

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

info event ActivePresetChange = 7 {
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 {
SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

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

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

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

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

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

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

info event ActivePresetChange = 7 {
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 {
SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

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

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

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

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

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

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

info event ActivePresetChange = 7 {
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 {
SystemModeEnum previousSystemMode = 0;
SystemModeEnum currentSystemMode = 1;
}

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

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

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

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

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

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

info event ActivePresetChange = 7 {
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

0 comments on commit 880c50d

Please sign in to comment.