-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.schema.json
153 lines (153 loc) · 4.59 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"headerDisplay": "Make sure to give set the right IP address for the HUB",
"footerDisplay": "See [homebridge-comelit-hub](https://github.com/madchicken/homebridge-comelit-hub) for more information and instructions.",
"singular": false,
"pluginAlias": "Comelit",
"pluginType": "platform",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Installation name",
"type": "string",
"required": true,
"default": "Comelit"
},
"broker_url": {
"title": "MQTT Broker URL (Optional)",
"Description": "URL of the Comelit HUB on your private network. You can use the Comelit CLI tool to discover it or leave it empty for auto discovery",
"type": "string",
"required": false,
"default": ""
},
"hub_username": {
"title": "MQTT Broker Username",
"type": "string",
"required": false
},
"hub_password": {
"title": "MQTT Broker Password",
"type": "string",
"required": false,
"x-schema-form": {
"type": "password"
}
},
"username": {
"title": "Username",
"description": "Username used to log into Comelit system",
"type": "string",
"required": true,
"default": ""
},
"password": {
"title": "Password",
"description": "Password used to log into Comelit system",
"type": "string",
"required": true,
"default": "",
"x-schema-form": {
"type": "password",
"placeholder": ""
}
},
"blind_opening_time": {
"title": "Time spent by the blind to get fully open from closed position (default 37 seconds)",
"type": "number",
"required": false,
"default": 37
},
"blind_closing_time": {
"title": "Time spent by the blind to get fully closed from opened position (default 35 seconds)",
"type": "number",
"required": false,
"default": 35
},
"keep_alive": {
"title": "Number of milliseconds for keep alive message",
"type": "number",
"required": false,
"default": 120000
},
"avoid_duplicates": {
"title": "Avoid mapping different devices with the same name",
"type": "boolean",
"default": false
},
"use_comelit_blind_timing": {
"title": "Use open/close time configured in Comelit HUB for all standard blinds",
"description": "If this is set to true, the opening and closing time for each blind are read from internal Comelit configuration (you can use official Comelit app to change them). This settings overrides global opening and closing time settings. Does not affect new blinds with position support",
"type": "boolean",
"default": false
},
"hide_lights": {
"title": "Avoid mapping lights",
"type": "boolean",
"default": false
},
"hide_blinds": {
"title": "Avoid mapping blinds",
"type": "boolean",
"default": false
},
"hide_thermostats": {
"title": "Avoid mapping thermostats (along with dehumidifiers)",
"type": "boolean",
"default": false
},
"hide_power_suppliers": {
"title": "Avoid mapping different power supplier devices (controllo carichi)",
"type": "boolean",
"default": false
},
"hide_outlets": {
"title": "Avoid mapping outlets",
"type": "boolean",
"default": false
},
"hide_others": {
"title": "Avoid mapping uncategorized devices",
"type": "boolean",
"default": false
},
"hide_irrigation": {
"title": "Avoid mapping irrigation systems",
"type": "boolean",
"default": false
}
}
},
"layout": [
{
"type": "fieldset",
"expandable": false,
"title": "Main settings",
"items": ["name", "username", "password", "broker_url"]
},
{
"type": "fieldset",
"expandable": false,
"title": "Blinds settings",
"items": ["use_comelit_blind_timing", "blind_opening_time", "blind_closing_time"]
},
{
"type": "fieldset",
"expandable": true,
"expanded": false,
"title": "Advanced settings",
"items": [
"hub_username",
"hub_password",
"keep_alive",
"avoid_duplicates",
"hide_lights",
"hide_blinds",
"hide_thermostats",
"hide_power_suppliers",
"hide_outlets",
"hide_others",
"hide_irrigation"
]
}
]
}