-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjarvisConfig.py
108 lines (108 loc) · 2.31 KB
/
jarvisConfig.py
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
conf = {
"topics":{
"mood_light":{
"topic":"nightlightChain",
"type":"onechannel"
},
"light":{
"topic":"nightlightChain",
"type":"onechannel"
},
"ambient_light":{
"topic":"ambiLight",
"type":"rgb"
},
"heater":{
"topic":"heizung",
"type":"heater"
},
"zoe":{
"topic":"zoeRainbow",
"type":"zoe"
},
"all_light":{
"topic":"fullLight",
"type":"rgb"
},
"licht":{
"topic":"fullLight",
"type":"rgb"
},
"lichterkette":{
"topic":"nightlightChain",
"type":"onechannel"
},
"ambilight":{
"topic":"ambiLight",
"type":"rgb"
},
"hintergrundbeleuchtung":{
"topic":"ambiLight",
"type":"rgb"
},
"alles_licht":{
"topic":"fullLight",
"type":"rgb"
},
"heizung":{
"topic":"heizung",
"type":"heater"
},
"sechseck":{
"topic":"zoeRainbow",
"type":"zoe"
},
"hauptlicht":{
"topic":"mainLight",
"type":"toggle"
}
},
"types":{
"toggle":{
"an":1,
"aus":0
},
"onechannel":{
"on":100,
"off":0,
"an":100,
"aus":0,
"50":50,
"10":10,
"5":5,
"0":0
},
"rgb":{
"on":0xffffff,
"off":0x000000,
"red":0xff0000,
"blue":0x0000ff,
"green":0x00ff00,
"an":0xffffff,
"aus":0x000000,
"rot":0xff0000,
"blau":0x0000ff,
"grün":0x00ff00,
"50":0x707070,
"100":0xffffff,
"10":0x1f1f1f,
"5":0x0f0f0f
},
"heater":{
"on":20,
"off":0,
"0":0,
"19":19,
"20":20,
"21":21,
"an":20,
"aus":0,
},
"zoe":{
"on":1,
"off":0,
"an":1,
"aus":0
}
}
}