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

Update to zyaml a7ed4a1ff2cae4d43f5f3531dba2bf1258d8e696 #29

Merged
merged 1 commit into from
Oct 28, 2023
Merged
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
6 changes: 6 additions & 0 deletions cluster/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"hemtjan.st/zcl"
"hemtjan.st/zcl/cluster/closures"
"hemtjan.st/zcl/cluster/general"
"hemtjan.st/zcl/cluster/hvac"
"hemtjan.st/zcl/cluster/ias"
"hemtjan.st/zcl/cluster/ikea"
"hemtjan.st/zcl/cluster/lighting"
Expand Down Expand Up @@ -39,6 +40,11 @@ var Clusters = map[zcl.ClusterID]zcl.Cluster{
general.PowerConfigurationID: general.PowerConfigurationCluster,
general.ScenesID: general.ScenesCluster,
general.TimeID: general.TimeCluster,
hvac.DehumidificationControlID: hvac.DehumidificationControlCluster,
hvac.FanControlID: hvac.FanControlCluster,
hvac.PumpConfigurationAndControlID: hvac.PumpConfigurationAndControlCluster,
hvac.ThermostatID: hvac.ThermostatCluster,
hvac.ThermostatUiConfigurationID: hvac.ThermostatUiConfigurationCluster,
ias.IasZoneID: ias.IasZoneCluster,
ikea.IkeaAirQualityID: ikea.IkeaAirQualityCluster,
lighting.BallastConfigurationID: lighting.BallastConfigurationCluster,
Expand Down
2,012 changes: 2,012 additions & 0 deletions cluster/all.ts

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions cluster/hvac/0200_pump_configuration_and_control.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package hvac

import "hemtjan.st/zcl"

// PumpConfigurationAndControl
const PumpConfigurationAndControlID zcl.ClusterID = 512

var PumpConfigurationAndControlCluster = zcl.Cluster{
Name: "Pump Configuration and Control",
ServerCmd: map[zcl.CommandID]func() zcl.Command{},
ClientCmd: map[zcl.CommandID]func() zcl.Command{},
ServerAttr: map[zcl.AttrID]func() zcl.Attr{
MaxPressureAttr: func() zcl.Attr { return new(MaxPressure) },
MaxSpeedAttr: func() zcl.Attr { return new(MaxSpeed) },
MaxFlowAttr: func() zcl.Attr { return new(MaxFlow) },
MinConstPressureAttr: func() zcl.Attr { return new(MinConstPressure) },
MaxConstPressureAttr: func() zcl.Attr { return new(MaxConstPressure) },
MinCompPressureAttr: func() zcl.Attr { return new(MinCompPressure) },
MaxCompPressureAttr: func() zcl.Attr { return new(MaxCompPressure) },
MinConstSpeedAttr: func() zcl.Attr { return new(MinConstSpeed) },
MaxConstSpeedAttr: func() zcl.Attr { return new(MaxConstSpeed) },
MinConstFlowAttr: func() zcl.Attr { return new(MinConstFlow) },
MaxConstFlowAttr: func() zcl.Attr { return new(MaxConstFlow) },
MinConstTempAttr: func() zcl.Attr { return new(MinConstTemp) },
MaxConstTempAttr: func() zcl.Attr { return new(MaxConstTemp) },
PumpStatusAttr: func() zcl.Attr { return new(PumpStatus) },
EffectiveOperationModeAttr: func() zcl.Attr { return new(EffectiveOperationMode) },
EffectiveControlModeAttr: func() zcl.Attr { return new(EffectiveControlMode) },
CapacityAttr: func() zcl.Attr { return new(Capacity) },
SpeedAttr: func() zcl.Attr { return new(Speed) },
LifetimeRunningHoursAttr: func() zcl.Attr { return new(LifetimeRunningHours) },
PowerAttr: func() zcl.Attr { return new(Power) },
LifetimeEnergyConsumedAttr: func() zcl.Attr { return new(LifetimeEnergyConsumed) },
OperationModeAttr: func() zcl.Attr { return new(OperationMode) },
ControlModeAttr: func() zcl.Attr { return new(ControlMode) },
PumpAlarmMaskAttr: func() zcl.Attr { return new(PumpAlarmMask) },
},
ClientAttr: map[zcl.AttrID]func() zcl.Attr{},
SceneAttr: []zcl.AttrID{},
}
Loading