forked from el/homebridge-heater-thermostat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.json
29 lines (25 loc) · 1.69 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
{
"pluginAlias": "HeaterThermostat",
"pluginType": "accessory",
"headerDisplay": "Homebridge heater thermostat",
"singular": true,
"schema": {
"title": "Homebridge heater thermostat",
"type": "object",
"properties": {
"name": { "type": "string", "title": "Name", "required": true },
"relayPin": { "default": 21, "type": "integer", "title": "Relay GPIO Pin" },
"invert": { "default": false, "type": "boolean", "title": " Invert Relay Position" },
"dhtSensorType": { "default": 22, "enum": [ 11, 22 ], "type": "integer", "title": "DHT Sensor Type" },
"temperatureSensorPin": { "default": 4, "type": "integer", "title": "Temperature Sensor GPIO Pin" },
"temperatureThreshold": { "default": 0, "type": "double", "title": "Temperature Threshold" },
"maxTemperature": { "default": 28, "type": "integer", "title": "Max Temperature" },
"minTemperature": { "default": 12, "type": "integer", "title": "Min Temperature" },
"minimumOnOffTime": { "default": 120000, "description": "in milliseconds","type": "integer", "title": "Minimum On-Off Time" },
"temperatureCheckInterval": { "default": 10000, "description": "in milliseconds", "type": "integer", "title": "Temperature Check Interval" },
"targetTemperature": { "default": 23, "type": "integer", "title": "Default target temperature" },
"heatingThresholdTemperature": { "default": 18, "type": "integer", "title": "Heating threshold temperature" },
"coolingThresholdTemperature": { "default": 24, "type": "integer", "title": "Cooling threshold temperature" }
}
}
}