-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
config.schema.json
143 lines (143 loc) · 5.1 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
{
"pluginAlias": "Daikin-Local",
"pluginType": "accessory",
"schema": {
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string",
"required": true,
"default": "Daikin Livingroom"
},
"apiroute": {
"title": "URI of the WIFI controller.",
"description": "Should be in the format of: http://aaa.bbb.ccc.ddd or https://aaa.bbb.ccc.ddd",
"type": "string",
"required": true,
"default": "http://192.168.1.33",
"format": "uri"
},
"temperature_unit": {
"title": "Define Temperature Unit",
"type": "string",
"required": true,
"default": "C",
"oneOf": [{"title": "Fahrenheit", "enum": ["F"]},
{"title": "Celsius", "enum": ["C"]}]
},
"uuid": {
"title": "Client UUID token if needed",
"description": "Should be a 32 digit hex string. Most Daikin devices do not need a UUID token. Read the documentation: https://github.com/cbrandlehner/homebridge-daikin-local#httpsregistered-client-support",
"type": "string",
"required": false
},
"system": {
"type": "string",
"title": "Default Daikin device or Skyfi-model?",
"description": "Try with Default first before choosing the Skyfi-option. Consult the documentation for more information.",
"enum": [ "Default", "Skyfi" ],
"default": "Default",
"required": true
},
"OpenSSL3": {
"title": "OpenSSL3 support",
"description": "Use new OpenSSL3 SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION option",
"type": "boolean",
"default": false
},
"swingMode": {
"title": "Swing mode",
"description": "Apple Home allows to enable OSCILLATE. However most Daikin ACs support different swing modes. This setting allows to choose the swing-mode used if oscillation is enabled.",
"type": "string",
"default": "1",
"required": true,
"oneOf": [
{ "title": "Vertical Swing (default)", "enum": ["1"] },
{ "title": "Horizontal Swing", "enum": ["2"] },
{ "title": "3D Swing", "enum": ["3"] }
]
},
"disableFan": {
"title": "Fan disabled",
"description": "Whether to have both AC and Fan or only AC",
"type": "boolean",
"default": false
},
"fanMode": {
"title": "Fan mode",
"description": "If in DRY-mode, switching on the FAN in Apple-Home will start the AC in dry mode. If in FAN-mode, it will only activate the FAN.",
"type": "string",
"default": "FAN",
"required": true,
"oneOf": [
{ "title": "FAN", "enum": ["FAN"] },
{ "title": "DRY", "enum": ["DRY"] }
]
},
"fanPowerMode": {
"title": "Fan power mode",
"description": "Should Fan power only affect the fan or complete device.",
"type": "string",
"default": "FAN only",
"required": true,
"enum": [ "FAN only", "Complete Device" ]
},
"fanName": {
"title": "FAN name",
"description": "The name of the fan. Only applies if the FAN has not been disabled.",
"type": "string",
"required": true,
"default": "Livingroom FAN"
},
"defaultMode": {
"title": "Default operation mode",
"description": "When turning on the Daikin device in HomeBridge using a single-tap, the default operation mode will be applied. The Daikin-Auto-mode does not match Apple-Homekit - so it is advised to use either COOL- or HEAT-mode if possible.",
"type": "string",
"default": "3",
"oneOf": [
{ "title": "Auto", "enum": ["1"] },
{ "title": "Cool (default)", "enum": ["3"] },
{ "title": "Heat", "enum": ["4"] }
],
"required": true
},
"enableHumiditySensor": {
"title": "Humidity sensor enabled",
"description": "Enables humidity sensor if present in Daikin device.",
"type": "boolean",
"default": false
},
"enableTemperatureSensor": {
"title": "Temperature sensor enabled",
"description": "Enables temperature sensor in HomeKit.",
"type": "boolean",
"default": false
},
"response": {
"title": "Response",
"description": "Timeout in milliseconds for the device to start responding. Default: 2000 (2 seconds).",
"type": "integer",
"default": 2000,
"minimum": 2000,
"maximum": 8000
},
"deadline": {
"title": "Deadline",
"description": "Timeout in milliseconds for the device to complete a response. Default: 60000 (one minute).",
"type": "integer",
"default": 60000,
"minimum": 10000,
"maximum": 60000
},
"retries": {
"title": "Retries",
"description": "The plugin can retry to reconnect in case of a connection problem. Default: 5.",
"type": "integer",
"default": 5,
"minimum": 0,
"maximum": 10
}
}
}
}