-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
54 lines (53 loc) · 1.09 KB
/
config.js
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
var devices = [
{
name = 'lamp',
id = '5744c52e-d6d2-4887-bb10-24e20ad4e6f3',
type = 'LED',
vendor = 'BML',
model = 'SPYDR-1200',
dimmable = 'true',
dimPort = 'P9_14'
powerPort = 'P8_14'
},
{
name = 'fan',
id = '273a2448-eaed-4b49-b026-79ea335ccdaf',
type = 'in-line',
vendor = 'Prima Klima',
model = 'PK125-EC',
dimmable = 'true',
dimPort = 'P8_13'
powerPort = 'P8_12'
},
{
name = 'dht',
id = '13ef5c15-1c5f-4a97-b2ed-7534eb6d4e24',
pin = 'P9_23'
},
{
name = 'lamp',
id = 'a3370a84-2aac-4f4c-9399-c6c4ac681175',
type = 'LED',
vendor = 'BML',
model = 'SPYDR-600',
dimmable = 'true',
dimPort = 'P9_14'
powerPort = 'P8_16'
},
]
var relays = [
{
pin: 'P8_8',
color: 'red',
id: 1,
volts: 237,
ainPin: 'P9_35'
},
{
pin: 'P8_9',
color: 'blue',
id: 2,
volts:237,
ainPin: ''
}
]