-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
131 lines (131 loc) · 4.15 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"pluginAlias": "LoxoneControl",
"pluginType": "platform",
"singular": true,
"customUi": true,
"schema": {
"type": "object",
"additionalProperties": true,
"properties": {
"name": {
"title": "Name",
"type": "string",
"default": "Example Dynamic Platform"
},
"platform": {
"type": "string",
"default": "LoxoneControl"
},
"loxoneMiniServerId": {
"title": "Loxone Miniserver ID",
"type": "string",
"required": true
},
"loxoneUser": {
"title": "Loxone Username",
"type": "string",
"required": true
},
"loxonePassword": {
"title": "Loxone Password",
"type": "string",
"required": true
},
"chromiumPath": {
"title": "Chromium Path",
"type": "string",
"required": false
},
"fanLevels": {
"title": "Levels the fan can be set to, coma separated in the format \"index:levelName\"",
"type": "string",
"default": "0:Aus;1:Stufe 1;2:Stufe 2;3:Stufe 3;4:Stufe 4;5:Hyper Speed;6:Nacht;7:Freecolling"
},
"blindsTimingWindow": {
"title": "Time in seconds from 0-100%, for blinds \"window\"",
"type": "string",
"default": "39"
},
"blindsTimingUpWindow": {
"title": "Time in seconds from 100-0%, for blinds \"window\"",
"type": "string",
"default": "40"
},
"blindsTimingWindowBig": {
"title": "Time in seconds from 0-100%, for blinds \"window-big\"",
"type": "string",
"default": "56"
},
"blindsTimingUpWindowBig": {
"title": "Time in seconds from 100-0%, for blinds \"window-big\"",
"type": "string",
"default": "58"
},
"blindsTimingAwning": {
"title": "Time in seconds from 0-100%, for blinds \"awning\"",
"type": "string",
"default": "20"
},
"blindsTimingUpAwning": {
"title": "Time in seconds from 100-0%, for blinds \"awning\"",
"type": "string",
"default": "23"
},
"devices": {
"type": "array",
"additionalItems": true,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"name": {
"title": "Disply name for homekit",
"type": "string",
"required": true
},
"identifier": {
"title": "Identifier for Loxone",
"type": "string",
"required": true
},
"lightOutlet": {
"title": "Should this device be handled as outlet?",
"type": "boolean",
"condition": {
"functionBody": "return model.devices[arrayIndices].identifier.includes(\"Beleuchtung\");"
}
},
"fanBathroom": {
"title": "Should this device be handled as bathroom fan?",
"type": "boolean",
"condition": {
"functionBody": "return model.devices[arrayIndices].identifier.includes(\"Lüftung\");"
}
},
"fanAddButtons": {
"title": "What additional levels should be available to set? List them coma separated",
"type": "string",
"condition": {
"functionBody": "return model.devices[arrayIndices].identifier.includes(\"Lüftung\");"
}
},
"blindsTiming": {
"title": "One of \"window\", \"window-big\", or \"awning\" or a value in seconds to reach 100%",
"type": "string",
"condition": {
"functionBody": "return model.devices[arrayIndices].identifier.includes(\"Jalousie\");"
}
},
"blindsMaxPosition": {
"title": "Define a maximum (e.g. 80%) that the blinds can be opened",
"type": "string",
"condition": {
"functionBody": "return model.devices[arrayIndices].identifier.includes(\"Jalousie\");"
}
}
}
}
}
}
}
}