-
Notifications
You must be signed in to change notification settings - Fork 0
/
alarm.json
100 lines (100 loc) · 2.14 KB
/
alarm.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
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
{
"wait_time": 3.6,
"when_yellow": 558,
"repeat_last": 2,
"steps": [
{
"sleep": "wait_time",
"range": {
"start": 3,
"stop": 15,
"step": 1
},
"modify": {
"blue": "i"
}
},
{
"sleep": "wait_time",
"range": {
"start": 1,
"stop": 30,
"step": 1
},
"modify": {
"blue": "blue - (i * 2)",
"red": "i",
"green": "i * 0.5"
}
},
{
"sleep": "wait_time",
"transition": {
"red": 45,
"green": 12,
"blue": 8
},
"modify": {
"red": "r",
"green": "g",
"blue": "b"
}
},
{
"sleep": "wait_time",
"range": {
"start": 50,
"stop": 101,
"step": 1
},
"modify": {
"red": "i",
"green": "i * 0.75"
}
},
{
"sleep": 30
},
{
"sleep": "wait_time",
"range": {
"start": 150,
"stop": 151,
"step": 1
},
"modify": {
"red": "i",
"green": "i * 0.75"
}
},
{
"sleep": 3
},
{
"sleep": 0.02,
"range": {
"start": 0,
"stop": 256,
"step": 5
},
"modify": {
"blue": "i",
"red": "i",
"green": "i"
}
},
{
"sleep": 0.02,
"range": {
"start": 255,
"stop": 0,
"step": -5
},
"modify": {
"blue": "i",
"red": "i",
"green": "i"
}
}
]
}