-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample_config.yaml
230 lines (223 loc) · 6.35 KB
/
sample_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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
light:
- platform: ct_hs_artnet_led
# ip: lumenradio.home.arpa
ip: bb0eb1af-artdmx-merger
port: 6454
universe: 0
intended_fade_fps: 60
check_fps: 240
resend_universe_every_secs: 20
home_assistant_state_update_frequency_secs: 1
default_color_temp_kelvin: 4000
default_transition_secs: 0
entities:
- name: Test
type: astera
channel: 1
- name: Kelvin
type: kelvin
channel: 8
- name: Balcony Ceiling Left
type: astera
channel: 101
- name: Balcony Ceiling Right
type: astera
channel: 108
- name: Bathroom Bath
type: astera
channel: 115
- name: Bathroom Shower
type: astera
channel: 122
- name: Bedroom Chandelier 1
type: astera
channel: 129
- name: Bedroom Chandelier 2
type: astera
channel: 136
- name: Bedroom Chandelier 3
type: astera
channel: 143
- name: Bedroom Chandelier 4
type: astera
channel: 150
- name: Bedroom Chandelier 5
type: astera
channel: 157
- name: Bedroom Floor Lamp Corridor
type: astera
channel: 164
- name: Bedroom Floor Lamp Couch
type: astera
channel: 171
- name: Bedroom Floor Lamp Wall
type: astera
channel: 178
- name: Living Room Chandelier 1
type: astera
channel: 185
- name: Living Room Chandelier 2
type: astera
channel: 192
- name: Living Room Chandelier 3
type: astera
channel: 199
- name: Living Room Chandelier 4
type: astera
channel: 206
- name: Living Room Corridor Floor Lamp
type: astera
channel: 213
- name: Living Room Window Floor Lamp
type: astera
channel: 220
- name: Second Bathroom Shower
type: astera
channel: 227
- name: Second Bedroom Chandelier 1
type: astera
channel: 234
- name: Second Bedroom Chandelier 2
type: astera
channel: 241
- name: Second Bedroom Chandelier 3
type: astera
channel: 248
- name: Second Bedroom Chandelier 4
type: astera
channel: 255
- name: Second Bedroom Chandelier 5
type: astera
channel: 262
- name: Living Room TV Wall Left
channel: 269
type: aputure
- name: Living Room TV Wall Right
channel: 274
type: aputure
- name: Bedroom Bed Left
channel: 279
type: aputure
- name: Bedroom Bed Right
channel: 284
type: aputure
- name: Bedroom Closet Left
type: astera
channel: 400
- name: Bedroom Closet Right
type: astera
channel: 407
- name: Entryway Closet
type: astera
channel: 414
- name: Second Bedroom Closet
type: astera
channel: 421
- name: Utility Closet
type: astera
channel: 428
types:
# 92: D16 CCT GM H SAT (PIXEL = 1; STROBE = OFF)
# https://astera-led.com/wp-content/uploads/FP5_NYX_Bulb_DMX_Profiles_V1.pdf
#
# Used for Astera NYX, Titan tube and Helios tube.
- name: astera
min_color_temp_kelvin: 1750
max_color_temp_kelvin: 9910
channels:
- type: brightness
bytes: 2
endianness: "big"
- type: color_temp_kelvin
- type: constant # g/m point
value: 0
- type: hue
bytes: 2
endianness: "big"
- type: saturation
# Based on observations to match the AsteraApp saturation.
# Otherwise, the color becomes saturated too quickly.
# https://docs.google.com/spreadsheets/d/14SnfmF436rOzdZdsKhBCxaw766vX2DFV6Sj8Bg6a96U/edit?usp=sharing
correction_polynomial:
- 0
- -0.0586
- 0.0267
- -0.000565
- 0.00000406
# Mode 5: HSI
# https://www.aputure.com/wp-content/uploads/2022/07/MT-Pro-DMX-Profile-Specification-V1.2.pdf
#
# Used for Aputure MT Pro.
- name: aputure
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 10000
channels:
- type: brightness
- type: hue
- type: saturation
# Based on observations to match the AsteraApp saturation.
# This is only a small correction.
# https://docs.google.com/spreadsheets/d/14SnfmF436rOzdZdsKhBCxaw766vX2DFV6Sj8Bg6a96U/edit#gid=1840347992
correction_polynomial:
- -1.82
- 0.909
- -0.00846
- 0.000115
- -0.000000175
- type: color_temp_kelvin
offset: 11
- type: constant # strobe
value: 0
- name: kelvin
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 20000
channels:
- type: brightness
bytes: 2
endianness: "big"
# Output type: Constant - same light output at different color temperatures.
- type: constant
value: 0
- type: hue
bytes: 2
endianness: "big"
- type: saturation
bytes: 2
endianness: "big"
offset: 1
# HSI Colorspace = Device
- type: constant
value: 0
- type: color_temp_kelvin
bytes: 2
endianness: "big"
# - type: brightness
# bytes: 2
# endianness: "big"
# # Tint = Neutral
# - type: constant
# value: 0
# - type: constant
# value: 0
# # Technically crossfade. Not sure it works.
# - type: saturation
# bytes: 2
# endianness: "big"
# - type: hue
# bytes: 2
# endianness: "big"
# # Saturation = 100%
# - type: constant
# value: 0
# - type: constant
# value: 0
# - type: brightness
# bytes: 2
# endianness: "big"
# offset: 21845
# # HSI Colorspace = Device
# - type: constant
# value: 0
# # HSI Device Whitepoint = 2800K
# - type: constant
# value: 0