-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathconfig.schema.json
156 lines (156 loc) · 4.94 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
154
155
156
{
"pluginAlias": "Tesla",
"pluginType": "accessory",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "name",
"type": "string",
"required": true,
"default": "Model S"
},
"vin": {
"title": "VIN",
"type": "string",
"required": true,
"default": ""
},
"refreshToken": {
"title": "Tesla API Refresh Token",
"type": "string",
"required": true,
"default": "",
"description": "Read the <a href='https://github.com/nfarina/homebridge-tesla'>documentation</a> to learn how to get a refresh token."
},
"prefix": {
"title": "Services Prefix",
"type": "string",
"default": "",
"description": "Prefix for all services. Useful if you have multiple Tesla vehicles. Example: 'Climate' becomes 'Model S Climate'."
},
"waitMinutes": {
"title": "Time in minutes to wait for the car to wake up (default is 1 minute)",
"type": "integer",
"default": 1,
"maximum": 10,
"minimum": 1,
"description": "Default is one (1) minute"
},
"vehicleLock": {
"title": "Car Doors",
"type": "boolean",
"default": true,
"description": "Example: 'Unlock the Car Doors'"
},
"trunk": {
"title": "Trunk",
"type": "boolean",
"default": true,
"description": "Example: 'Open the Trunk'"
},
"frontTrunk": {
"title": "Front Trunk",
"type": "boolean",
"default": true,
"description": "Example: 'Open the Front Trunk'"
},
"sentryMode": {
"title": "Sentry Mode",
"type": "boolean",
"default": true,
"description": "Example: 'Turn on Sentry Mode'"
},
"chargeLimit": {
"title": "Charge Limit",
"type": "boolean",
"default": false,
"description": "Example: 'Set the Charge Limit to 80%'. NOTE: Will appear in HomeKit as a Light bulb! There's no other way to do it."
},
"chargeLevel": {
"title": "Charge Level",
"type": "boolean",
"default": false,
"description": "Creates a read-only light bulb representing the current battery level. Useful for automations. NOTE: Will appear in HomeKit as a Light bulb! There's no other way to do it."
},
"climate": {
"title": "Climate",
"type": "boolean",
"default": true,
"description": "Example: 'Set the Climate to 72'"
},
"climateSwitch": {
"title": "Climate Switch",
"type": "boolean",
"default": false,
"description": "If on, climate will be controlled by a switch instead of a thermostat. NOTE: This will not allow you to set a temperature."
},
"steeringWheelHeater": {
"title": "Steering Wheel Heater",
"type": "boolean",
"default": false,
"description": "Example: 'Turn on the Steering Wheel Heater'"
},
"defrost": {
"title": "Defrost",
"type": "boolean",
"default": false,
"description": "Example: 'Turn on the Defrost'"
},
"celsius": {
"title": "Use Celsius",
"type": "boolean",
"default": false,
"description": "Uses celsius for degrees in supported services"
},
"chargePort": {
"title": "Charge Port",
"type": "boolean",
"default": false,
"description": "Example: 'Open the Charge Port'"
},
"charger": {
"title": "Charger",
"type": "boolean",
"default": false,
"description": "Example: 'Turn on the Charger' to begin charging the car"
},
"chargingAmps": {
"title": "Charging Amps",
"type": "boolean",
"default": false,
"description": "Example: 'Set the Charging amps to 24'. NOTE: Will appear in HomeKit as a Light bulb! There's no other way to do it."
},
"starter": {
"title": "Starter",
"type": "boolean",
"default": false,
"description": "Example: 'Turn on the Starter' to enable keyless driving"
},
"homeLink": {
"title": "Homelink",
"type": "boolean",
"default": false,
"description": "Example: 'Open Homelink' to open the garage door (requires latitude and longitude set)"
},
"latitude": {
"title": "Latitude",
"type": "string",
"default": "",
"description": "Latitude of your Homelink device. Required if Homelink is enabled."
},
"longitude": {
"title": "Longitude",
"type": "string",
"default": "",
"description": "Longitude of your Homelink device. Required if Homelink is enabled."
},
"china": {
"title": "Use China Authentication Servers",
"type": "boolean",
"default": false,
"description": "Experimental flag for users in China."
}
}
}
}