generated from homebridge/homebridge-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.schema.json
127 lines (127 loc) · 4.65 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
{
"pluginAlias": "CarrierInfinity",
"pluginType": "platform",
"singular": true,
"schema": {
"type": "object",
"properties": {
"username": {
"title": "Username",
"type": "string",
"required": true,
"default": ""
},
"password": {
"title": "Password",
"type": "string",
"required": true,
"default": ""
},
"holdBehavior": {
"title": "Hold Behavior",
"type": "string",
"default": "forever",
"oneOf": [
{ "title": "Until Next Scheduled Activity", "enum": ["activity"] },
{ "title": "For X Hours", "enum": ["for_x"] },
{ "title": "Until Time X", "enum": ["until_x"] },
{ "title": "Indefinitely", "enum": ["forever"] }
],
"required": true
},
"holdArgument": {
"title": "Hold Argument",
"type": "string",
"placeholder": "HH:MM",
"pattern": "^[0-2][0-9]:[0-5][0-9]$",
"condition": {
"functionBody": "return model.holdBehavior.endsWith('_x');"
}
},
"showOutdoorTemperatureSensor": {
"title": "Show Outdoor Temperature Sensors",
"type": "boolean",
"default": false,
"required": true
},
"showFanControl": {
"title": "Show Fan Control",
"type": "boolean",
"default": false,
"required": true
},
"showIndoorHumiditySensors": {
"title": "Show Thermostat Humidity as Discrete Sensor",
"type": "boolean",
"default": false,
"required": true
},
"showZoneComfortActivityControls": {
"title": "Show Per-Zone Touch-n-Go Switches [beta]",
"type": "boolean",
"default": false,
"required": true
}
}
},
"layout": [
{
"type": "fieldset",
"title": "Account Login",
"items": [
{
"type": "help",
"helpvalue": "<h5>Credentials</h5><em class='primary-text'>Enter the credentials for your Infinity Touch / Evolution Connex / Ion Comfort account that is linked to your thermostat.</em>"
},
"username",
"password",
{
"type": "help",
"helpvalue": "<h5>Don't have an account?</h5>If you have not already done so, you need to create an account and link it to your thermostat. You can create an account at these links: </em><ul><li><a href='https://www.myinfinitytouch.carrier.com/Account/Register'>Carrier Infinity</a></li><li><a href='https://www.myevolutionconnex.bryant.com/Account/Register'>Bryant Evolution</a></li><li><a href='https://www.ioncomfort.com/Account/Register'>ICP Brands Ion</a> (including Airquest, Arcoaire, Comfortmaker, Day&Night, Heil, Keeprite, Tempstar)</li></ul>"
}
]
},
{
"type": "fieldset",
"title": "Thermostats",
"items": [
{
"type": "help",
"helpvalue": "<h5>Hold Behavior</h5><em class='primary-text'>Control how changes made via HomeKit interact with the activity schedules of your thermostat. <a href='https://github.com/grivkees/homebridge-carrier-infinity/wiki/Configuration#hold-behavior'>More details</a>.</em>"
},
"holdBehavior",
"holdArgument",
{
"type": "help",
"helpvalue": "<h5>Temperature Control</h5><em class='primary-text'>Temperature and mode controls for your thermostats are always shown.</em>"
},
{
"type": "help",
"helpvalue": "<h5>Activity Control</h5><em class='primary-text'>Show Touch-n-Go controls for comfort activities and manual holds.</em>"
},
"showZoneComfortActivityControls",
{
"type": "help",
"helpvalue": "<h5>Fan Control</h5><em class='primary-text'>The Fan control is a slider with the following steps: <ol start=0><li>Auto (0%)</li><li>Always On Low (33%)</li><li>Always On Medium (66%)</li><li>Always On High (100%)</li></ol><a href='https://github.com/grivkees/homebridge-carrier-infinity/wiki/Configuration#fan-control'>More details</a>.</em>"
},
"showFanControl"
]
},
{
"type": "fieldset",
"title": "Sensors",
"items": [
{
"type": "help",
"helpvalue": "<em class='primary-text'>Show additional environmental sensors in HomeKit.</em>"
},
"showOutdoorTemperatureSensor",
{
"type": "help",
"helpvalue": "<em class='primary-text'>Show the thermostat's environmental sensors as discete sensors in HomeKit (as opposed to only being shown as part of the thermostat accessory in HomeKit).</em>"
},
"showIndoorHumiditySensors"
]
}
]
}