forked from codyc1515/homebridge-sma-inverter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.schema.json
104 lines (104 loc) · 4.02 KB
/
config.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"pluginAlias": "SMAHomeManager",
"pluginType": "platform",
"singular": true,
"headerDisplay": "⚠️ For the best experience, follow the <a href=\"#SMAHomeManager-recommendations\">recommendations</a>.",
"footerDisplay": "<h6 id=\"SMAHomeManager-recommendations\">Recommendations</h6><ol><li>run this plugin in an isolated child bridge <sup>because the SMA Home Manager broadcasts energy flow updates <em>every second!</em></sup></li><li>place this plugin's accessories in an \"Energy\" or \"Electricity\" room in, in a \"Utilities\" zone (you can put a \"Climate\" room in this zone too, for ventilation, heating and cooling).</li><li>Use the Eve, Home+ or Controller app to create energy-related automations (Apple's Home app does not support this).</li></ol>",
"schema": {
"type": "object",
"properties": {
"signals": {
"title": "Energy Signals",
"type": "object",
"properties": {
"offGrid": {
"title": "Off Grid",
"type": "boolean",
"default": true,
"description": "When 0 W is imported from the grid for the past minute."
},
"noSun": {
"title": "No Sun",
"type": "boolean",
"default": true,
"description": "When 0 W is produced during the past 15 minutes."
},
"highImport": {
"title": "High Grid Import",
"type": "boolean",
"default": false,
"description": "When the 15 minute mean import is >2500 W. Some distribution network operators charge extra to reduce peak load on their infrastructure. Use this signal to apply peak load shaving.<br><small>For example <a href=\"https://www.energyaustralia.com.au/home/electricity-and-gas/compare-electricity-and-gas-plans/tariffs\">\"demand tariff or capacity charge\" in Australia</a> (30 min window during peak hours), <a href=\"https://www.fluvius.be/nl/thema/factuur-en-tarieven/capaciteitstarief/gezinnen-en-kleine-ondernemingen/wat-is-het\">\"capacity tariff\" in Belgium</a> (≥ 2.5 kW in any 15 min window).</small>"
}
}
},
"surplusSignals": {
"title": "PV Surplus Signals",
"description": "Avoid exporting solar energy to the grid: consume it yourself, whenever the necessary surplus is available!<br><small>Note: order matters: the surplus signals will be evaluated from first to last.</small>",
"type": "array",
"items": {
"title": "PV Surplus Signal",
"type": "object",
"properties": {
"label": {
"title": "Label",
"type": "string"
},
"watts": {
"title": "Watts",
"type": "integer"
},
"minutes": {
"title": "Minutes",
"type": "integer"
}
}
}
}
}
},
"layout": [
{
"type": "fieldset",
"title": "Energy Signals",
"expandable": true,
"expanded": false,
"items": [
"signals.offGrid",
"signals.noSun",
"signals.highImport",
{
"title": "PV Surplus Signals",
"key": "surplusSignals",
"type": "array",
"items": [
{
"type": "div",
"displayFlex": true,
"flex-direction": "row",
"items": [
{
"key": "surplusSignals[].label",
"flex": "1 1 200px",
"notitle": true,
"placeholder": "Label"
},
{
"key": "surplusSignals[].watts",
"flex": "4 4 50px",
"notitle": true,
"placeholder": "Watts"
},
{
"key": "surplusSignals[].minutes",
"flex": "4 4 50px",
"notitle": true,
"placeholder": "Minutes"
}
]
}
]
}
]
}
]
}