This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdevice-config-schema.coffee
82 lines (82 loc) · 1.79 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
module.exports = {
title: "Tradfri Devices"
TradfriDimmer: {
title: "Tradfri Dimmer Device"
type: "object"
properties:
address:
description: "Tradfri address"
type: "integer"
transtime:
description: "Tradfri transtime"
type: "integer"
default: 5
},
TradfriGroup: {
title: "Tradfri Dimmer Group"
type: "object"
properties:
address:
description: "Tradfri group address"
type: "integer"
transtime:
description: "Tradfri transtime"
type: "integer"
default: 5
},
TradfriHub: {
title: "Tradfri Gateway Device"
type: "object"
properties:
ntpserver:
description: "Gateway ntp server"
type: "string"
},
TradfriActor: {
title: "Tradfri Remote/MotionSensor"
type: "object"
properties:
address:
description: "Tradfri address"
type: "integer"
},
TradfriPlug: {
title: "Tradfri Smart Wall Plug"
type: "object"
properties:
address:
description: "Tradfri address"
type: "integer"
},
TradfriBlind: {
title: "Tradfri Blind"
type: "object"
properties:
address:
description: "Tradfri address"
type: "integer"
},
TradfriScene: {
title: "Tradfri Scene Group"
type: "object"
properties:
address:
description: "Tradfri group address"
type: "integer"
buttons:
description: "Scenes to display"
type: "array"
default: []
format: "table"
items:
type: "object"
properties:
id:
type: "string"
text:
type: "string"
address:
description: "scene address"
type: "integer"
}
}