Skip to content

Commit

Permalink
[example] Enabled all attributes for the PCC server cluster in the pu…
Browse files Browse the repository at this point in the history
…mp-app (#10487)

* * Enabled all attributes for the PCC server cluster in the pump-app
* Moved LevelControl cluster from endpoint 0 to endpoint 1

* Regen

* Regen from zap file.

* Regen again due to wrongly generated files for lightning-app

* Restyled by autopep8

Co-authored-by: Anders Bang Poulsen <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
3 people authored and pull[bot] committed Nov 9, 2021
1 parent a3f6016 commit 71064b3
Show file tree
Hide file tree
Showing 2 changed files with 359 additions and 59 deletions.
277 changes: 266 additions & 11 deletions examples/pump-app/pump-common/pump-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@
"mfgCode": null,
"define": "LEVEL_CONTROL_CLUSTER",
"side": "server",
"enabled": 1,
"enabled": 0,
"commands": [],
"attributes": [
{
Expand Down Expand Up @@ -4626,7 +4626,7 @@
"mfgCode": null,
"define": "LEVEL_CONTROL_CLUSTER",
"side": "server",
"enabled": 0,
"enabled": 1,
"commands": [],
"attributes": [
{
Expand Down Expand Up @@ -4948,7 +4948,7 @@
"commands": [],
"attributes": [
{
"name": "max pressure",
"name": "MaxPressure",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -4963,7 +4963,7 @@
"reportableChange": 0
},
{
"name": "max speed",
"name": "MaxSpeed",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -4978,7 +4978,7 @@
"reportableChange": 0
},
{
"name": "max flow",
"name": "MaxFlow",
"code": 2,
"mfgCode": null,
"side": "server",
Expand All @@ -4993,11 +4993,161 @@
"reportableChange": 0
},
{
"name": "pump status",
"name": "MinConstPressure",
"code": 3,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MaxConstPressure",
"code": 4,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MinCompPressure",
"code": 5,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MaxCompPressure",
"code": 6,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MinConstSpeed",
"code": 7,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MaxConstSpeed",
"code": 8,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MinConstFlow",
"code": 9,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MaxConstFlow",
"code": 10,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MinConstTemp",
"code": 11,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MaxConstTemp",
"code": 12,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "PumpStatus",
"code": 16,
"mfgCode": null,
"side": "server",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand All @@ -5008,7 +5158,7 @@
"reportableChange": 0
},
{
"name": "effective operation mode",
"name": "EffectiveOperationMode",
"code": 17,
"mfgCode": null,
"side": "server",
Expand All @@ -5023,7 +5173,7 @@
"reportableChange": 0
},
{
"name": "effective control mode",
"name": "EffectiveControlMode",
"code": 18,
"mfgCode": null,
"side": "server",
Expand All @@ -5038,7 +5188,7 @@
"reportableChange": 0
},
{
"name": "capacity",
"name": "Capacity",
"code": 19,
"mfgCode": null,
"side": "server",
Expand All @@ -5053,7 +5203,67 @@
"reportableChange": 0
},
{
"name": "operation mode",
"name": "Speed",
"code": 20,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "LifetimeRunningHours",
"code": 21,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x000000",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "Power",
"code": 22,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "LifetimeEnergyConsumed",
"code": 23,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00000000",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "OperationMode",
"code": 32,
"mfgCode": null,
"side": "server",
Expand All @@ -5067,6 +5277,51 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "ControlMode",
"code": 33,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0x00",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "AlarmMask",
"code": 34,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "FeatureMap",
"code": 65532,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down
Loading

0 comments on commit 71064b3

Please sign in to comment.