-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapex.yaml
384 lines (301 loc) · 6.64 KB
/
apex.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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
#
# New Config Format places device parameters inside a hierarchy
#
# Apex expects a JVC projector to be connected by IP
# Add the appropriate IP address for your setup
jvc_pj:
ip: '192.168.10.202'
port: 20554
# Apex receives HDR program mode information from the Vertex2 via a serial connection.
# This parameter is generally expected, add the correct USB Serial device name
hdfury_serial:
device: '/dev/ttyUSB0'
# if you don't want the apex-shell functionality then comment out the following
apex_shell:
_ignore: True
# if you are controlling a hdfury (vertex2) device via IP, uncomment the following
# and add the corret parameters
# hdfury_generic:
# ip: 'vertex2-28.local'
# port: 2220
# if you are controlling an onkyo device that supports ISCP, uncomment the following
# and add the correct parameters
# onkyo_iscp:
# ip: '192.168.10.165'
# port: 60128
# if you want to enable Apex's Net Control functionality, uncomment the following
# and add an appropriate secret and port
# netcontrol:
# port: 12345
# secret: 'secret'
# if you want Apex to listen for key presses (which are expected to indirectly be IR codes)
# then uncomment the following and add the appropriate parameter
# keys:
# device: '/dev/input/event0'
#
# keymap
#
# the keymap tells Apex how to map key presses to profiles.
# the expectation is that your Linux system is configured to map IR values to key presses.
# however, you can trigger these using a real keyboard too
#
keymap:
KEY_F1:
profile: profilePowerOn
KEY_F2:
profile: profilePowerOff
KEY_1:
profile: profileHDMI1
KEY_2:
profile: profileHDMI2
#
# profiles
#
# profiles are a sequence of 1 or more commands
# this section defines the various profiles
# some profiles are used internally by apex while others can be custom created by the user
#
profiles:
#
# Apex Core Profiles
# Profile names beginning with _APEX_ have specific meaning and should not be removed
# However, you are more than welcone to change the contents of the profile
# Although you probably only want to add steps after the initial apex-pm operation
#
_APEX_PMFilm:
- op: apex-pm
data: '00'
_APEX_PMCinema:
- op: apex-pm
data: '01'
_APEX_PMAnimation:
- op: apex-pm
data: '02'
_APEX_PMNatural:
- op: apex-pm
data: '03'
_APEX_PMHDR10:
- op: apex-pm
data: '04'
_APEX_PMTHX:
- op: apex-pm
data: '06'
_APEX_PMFrameAdaptHDR:
- op: apex-pm
data: '0B'
_APEX_PMUser1:
- op: apex-pm
data: '0C'
_APEX_PMUser2:
- op: apex-pm
data: '0D'
_APEX_PMUser3:
- op: apex-pm
data: '0E'
_APEX_PMUser4:
- op: apex-pm
data: '0F'
_APEX_PMUser5:
- op: apex-pm
data: '10'
_APEX_PMUser6:
- op: apex-pm
data: '11'
_APEX_PMHLG:
- op: apex-pm
data: '14'
_APEX_PMPanaPQ:
- op: apex-pm
data: '16'
#
# Sample Profile with potentially useful commands
# Do not activate this profile or else it is going to run a ton of commands you certainly do not want
# Rather, use these commands in your own profiles!
# the individual operations exist as examples of what you can use in your own profiles
#
sampleProfile_DoNotActivate:
# HDMI1
- op: raw
cmd: IP
data: '6'
# HDMI2
- op: raw
cmd: IP
data: '7'
# Contrast to value zero (change numeric parameter for other values)
- op: raw
cmd: PMCN
numeric: 0
# Brightness to value zero (change numeric parameter for other values)
- op: raw
cmd: PMBR
numeric: 0
# Intelligent Lens Aperture (Dynamic Iris) Off
- op: raw
cmd: PMDI
data: '0'
# Intelligent Lens Aperture (Dynamic Iris) Auto1
- op: raw
cmd: PMDI
data: '1'
# Intelligent Lens Aperture (Dynamic Iris) Auto2
- op: raw
cmd: PMDI
data: '2'
# Aperture to 0 (change numeric parameter for other values, cannot be in auto mode when performed)
- op: raw
cmd: PMLA
numeric: 0
# Lamp Power Normal
- op: raw
cmd: PMLP
data: '0'
# Lamp Power High
- op: raw
cmd: PMLP
data: '1'
# Load Lens Memory 1 (for other memory, chance data to be slot minus 1)
- op: raw
cmd: INML
data: '0'
# Gamma Normal
- op: raw
cmd: PMGT
data: '0'
# Gamma A
- op: raw
cmd: PMGT
data: '1'
# Gamma B
- op: raw
cmd: PMGT
data: '2'
# Gamma C
- op: raw
cmd: PMGT
data: '3'
# Gamma Custom 1
- op: raw
cmd: PMGT
data: '4'
# Gamma Custom 2
- op: raw
cmd: PMGT
data: '5'
# Gamma Custom 3
- op: raw
cmd: PMGT
data: '6'
# Gamma D
- op: raw
cmd: PMGT
data: '7'
# Gamma Film1
- op: raw
cmd: PMGT
data: 'A'
# Gamma Film2
- op: raw
cmd: PMGT
data: 'B'
# Mask Switch Custom 1
- op: raw
cmd: ISMA
data: '0'
# Mask Switch Custom 2
- op: raw
cmd: ISMA
data: '1'
# Mask Switch Custom 3
- op: raw
cmd: ISMA
data: '3'
# Mask Switch Off
- op: raw
cmd: ISMA
data: '2'
# Picture Mode Film
- op: apex-pm
data: '00'
# Picture Mode Cinema
- op: apex-pm
data: '01'
# Picture Mode Animation
- op: apex-pm
data: '02'
# Picture Mode Natural
- op: apex-pm
data: '03'
# Picture Mode THX
- op: apex-pm
data: '06'
# Picture Mode User1
- op: apex-pm
data: '0C'
# Picture Mode User2
- op: apex-pm
data: '0D'
# Picture Mode User3
- op: apex-pm
data: '0E'
# Picture Mode User4
- op: apex-pm
data: '0F'
# Picture Mode User5
- op: apex-pm
data: '10'
# Picture Mode User6
- op: apex-pm
data: '11'
# Move lens one notch upward
- op: raw
cmd: IN1U
data: ''
# Move lens one notch downward
- op: raw
cmd: IN1D
data: ''
# Move lens one notch left
- op: raw
cmd: IN1L
data: ''
# Move lens one notch right
- op: raw
cmd: IN1R
data: ''
# enable apex-hdfurymode as follow
- op: apex-hdfurymode
data: 'follow'
# set apex-hdfurymode to ignore
- op: apex-hdfurymode
data: 'ignore'
# enable the ongammad profile switch
- op: apex-ongammad
data: 'profileTestSelectGammaCustom1'
# disable the ongammad profile switch
- op: apex-ongammad
data: ''
#
# Standard simple (1 operation) profiles included by Apex
# These can have any name and perform any steps you want
#
# Apex Smart Power On
profilePowerOn:
- op: apex-power
data: 'on'
# Apex Smart Power Off
profilePowerOff:
- op: apex-power
data: 'off'
# Select HDMI1 and use HDFury follow mode
profileHDMI1:
- op: apex-hdfurymode
data: 'follow'
- op: apex-hdmi
data: '1'
# Select HDMI2 and use HDFury ignore mode
profileHDMI2:
- op: apex-hdfurymode
data: 'ignore'
- op: apex-hdmi
data: '2'