-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
executable file
·179 lines (165 loc) · 3.86 KB
/
config.yaml
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# Your local subnet IP for the smart bulb. Usually you can find this info from your router.
Devices:
Kitchen: "10.75.100.137"
LivingRoom: "10.75.100.133"
LivingRoomAux: "10.75.100.134"
DiningRoom: "10.75.100.136"
OfficeTop: "10.75.100.141"
Office2: "10.75.100.142"
Office3: "10.75.100.144"
Porch: "10.75.100.146"
PatioStrings: "10.75.100.129"
# [Hue, Saturation] values
# See https://web.cs.uni-paderborn.de/cgvb/colormaster/web/color-systems/hsv.html
Colors:
Red: [0, 75]
Blue: [159, 75]
Orange: [12,85]
Green: [129, 75]
Violet: [307, 75]
# One-time routines should have start times only
# Continuous routines should have an end
# For Sunrise schedules, you can use Sunrise or Sunset and
# then +/- a float in hours to offset, if desired.
Schedules:
BeforeSunset:
Start: Sunset-2.25
End:
Sunset:
Start: Sunset
End:
AfterSunset:
Start: Sunset+1
End:
LateNight:
Start: Sunrise-5
End:
Sunrise:
Start: Sunrise
End:
StartWorkday:
Start: '08:30'
End:
Overnight:
Start: Sunset
End: Sunrise
Routines:
- Schedule: StartWorkday
Devices:
OfficeTop:
Type: power_on
Colors: []
Brightness: 90
Interval: 7
Office2:
Type: power_on
Colors: []
Brightness: 80
Interval: 7
Office3:
Type: power_on
Colors: []
Brightness: 100
Interval: 7
- Schedule: BeforeSunset
Devices:
Kitchen:
Type: power_on
Colors: []
Brightness: 40
Interval: 15
LivingRoom:
Type: power_on
Colors: []
Brightness: 20
Interval: 15
LivingRoomAux:
Type: power_on
Colors: []
Brightness: 75
Interval: 15
DiningRoom:
Type: set_brightness
Colors: []
Brightness: 40
Interval: 10
- Schedule: Sunset
Devices:
Porch:
Type: power_on
Colors: []
Brightness: 100
Interval: 7
Kitchen:
Type: set_brightness
Colors: []
Brightness: 20
Interval: 10
LivingRoom:
Type: set_brightness
Colors: []
Brightness: 5
Interval: 10
LivingRoomAux:
Type: set_brightness
Colors: []
Brightness: 60
Interval: 10
OfficeTop:
Type: set_brightness
Colors: []
Brightness: 20
Interval: 7
Office2:
Type: set_brightness
Colors: []
Brightness: 10
Interval: 7
Office3:
Type: set_brightness
Colors: []
Brightness: 35
Interval: 7
- Schedule: LateNight
Devices:
Porch:
Type: set_brightness
Colors: []
Brightness: 25
Interval: 10
LivingRoomAux:
Type: set_brightness
Colors: []
Brightness: 35
Interval: 10
- Schedule: Sunrise
Devices:
Porch:
Type: power_off
Colors: []
Brightness:
Interval: 10
LivingRoomAux:
Type: power_off
Colors: []
Brightness:
Interval: 10
# Example of a continuous/siren routine that rotates three lights
# independent of each other but in parallel.
# - Schedule: Schedule2
# Devices:
# OfficeTop:
# Type: smooth_rotate
# Colors: [Violet, Red, Blue, Orange]
# Brightness: 80
# Interval: 1
# Office2:
# Type: smooth_rotate
# Colors: [Orange, Violet, Red, Blue]
# Brightness: 80
# Interval: 1
# Office3:
# Type: smooth_rotate
# Colors: [Blue, Orange, Violet, Red]
# Brightness: 80
# Interval: 1