-
Notifications
You must be signed in to change notification settings - Fork 15
/
device-config-schema.coffee
executable file
·66 lines (66 loc) · 1.78 KB
/
device-config-schema.coffee
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
module.exports = {
title: "max-thermostat device config schemas"
MaxThermostatDevice: {
title: "MaxThermostatDevice config options"
type: "object"
properties:
roomID:
description: "The RoomID - find out with read.php"
type: "integer"
default: 1
deviceNo:
description: "The Device RF No - find out with read.php"
type: "string"
default: ""
comfyTemp:
description: "The defined comfy temperature"
type: "number"
default: 21
ecoTemp:
description: "The defined eco mode temperature"
type: "number"
default: 17
vacTemp:
description: "The defined vacation mode temperature"
type: "number"
default: 14
actTemp:
description: "The actual temperatur"
type: "number"
default: 21
mode:
description: "The mode of the thermostat (auto/manu/boost)"
type: "string"
default: "auto"
battery:
description: "The battery status"
type: "string"
default: "ok"
guiShowModeControl:
description: "Show the mode buttons in the gui"
type: "boolean"
default: true
guiShowPresetControl:
description: "Show the preset temperatures in the gui"
type: "boolean"
default: true
guiShowTemperatueInput:
description: "Show the temperature input spinbox in the gui"
type: "boolean"
default: true
}
MaxContactSensor: {
title: "MaxContactSensor config options"
type: "object"
properties:
deviceNo:
description: "The Device RF adress"
type: "string"
default: ""
}
MaxCube: {
title: "MaxCube config options"
type: "object"
properties: {}
}
}