forked from thomasjacquin/allsky-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcamera_options_RPiHQ.json
527 lines (522 loc) · 11.4 KB
/
camera_options_RPiHQ.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
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
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
[
{
"name":"",
"default":"",
"description":"Daytime settings",
"label":"",
"type":"header",
"advanced":0
},
{
"name":"dayautoexposure",
"default":1,
"description":"Activate to enable daytime auto-exposure.",
"label":"Auto-Exposure",
"type":"checkbox",
"advanced":1
},
{
"name":"dayexposure",
"default":32,
"description":"Time in ms (1000ms = 1 sec, range 1 - 200000 ms)",
"label":"Exposure",
"type":"number",
"advanced":1
},
{
"name":"daybrightness",
"default":50,
"description":"0 to 100. Changes the amount of light in the image. Low value = dark. high value = bright",
"label":"Brightness",
"type":"number",
"advanced":0
},
{
"name":"daydelay",
"default":15000,
"description":"Delay between images during daytime in milliseconds. 1000ms = 1 sec.",
"label":"Delay",
"type":"number",
"advanced":0
},
{
"name":"dayautogain",
"default":1,
"description":"Activate to enable dayime auto-gain.",
"label":"Auto-Gain",
"type":"checkbox",
"advanced":1
},
{
"name":"daygain",
"default":1.0,
"description":"Manually set the gain (light sensitivity).<br>Starts at 1.0. A high value returns a brighter image but more noise too.",
"label":"Gain",
"type":"number",
"advanced":1
},
{
"name":"daybin",
"default":1,
"description":"1 = binning OFF (1x1), 2x2 binning, 4 = 4x4 binning",
"label":"Binning",
"type":"select",
"options": [
{"value": "1", "label": "1x1 binning"},
{"value": "2", "label": "2x2 binning"},
{"value": "4", "label": "4x4 binning"}
],
"advanced":1
},
{
"name":"",
"default":"",
"description":"Nighttime settings",
"label":"",
"type":"header",
"advanced":0
},
{
"name":"nightautoexposure",
"default":1,
"description":"Activate to enable nighttime auto-exposure.",
"label":"Auto-Exposure",
"type":"checkbox",
"advanced":0
},
{
"name":"nightexposure",
"default":20000,
"description":"Time in ms (1000ms = 1 sec, range 1 - 200000 ms)",
"label":"Exposure",
"type":"number",
"advanced":0
},
{
"name":"nightbrightness",
"default":50,
"description":"0 to 100. Changes the amount of light in the image. Low value = dark. high value = bright",
"label":"Brightness",
"type":"number",
"advanced":0
},
{
"name":"nightdelay",
"default":10,
"description":"Delay between images in milliseconds. 1000ms = 1 sec.",
"label":"Delay",
"type":"number",
"advanced":0
},
{
"name":"nightautogain",
"default":1,
"description":"Activate to enable nighttime auto-gain",
"label":"Auto-Gain",
"type":"checkbox",
"advanced":0
},
{
"name":"nightgain",
"default":1.0,
"description":"Light sensitivity. Range: 1 to 16. A high value returns a brighter image but more noise too",
"label":"Gain",
"type":"number",
"advanced":0
},
{
"name":"nightbin",
"default":1,
"description":"1 = binning OFF (1x1), 2x2 binning, 4 = 4x4 binning",
"label":"Binning",
"type":"select",
"options": [
{"value": "1", "label": "1x1 binning"},
{"value": "2", "label": "2x2 binning"},
{"value": "4", "label": "4x4 binning"}
],
"advanced":0
},
{
"name":"",
"default":"",
"description":"Both daytime and nightime settings",
"label":"",
"type":"header",
"advanced":0
},
{
"name":"saturation",
"default":50,
"description":"-100 to 100 on Buster, 0.0 to 2.0 on Bullseye.",
"label":"Saturation",
"type":"text",
"advanced":0
},
{
"name":"awb",
"default":0,
"description":"Auto White Balance",
"label":"AWB",
"type":"checkbox",
"advanced":0
},
{
"name":"wbr",
"default":2.5,
"description":"Red component for the White Balance, range 0.0 - 10.0",
"label":"Red balance",
"type":"text",
"advanced":0
},
{
"name":"wbb",
"default":2.0,
"description":"Blue component for the White Balance, range 0.0 - 10.0",
"label":"Blue balance",
"type":"text",
"advanced":0
},
{
"name":"quality",
"default":95,
"description":"Range for a PNG image: 0-9. Range for a JPG image: 0-100.<br>Higher numbers produce larger, clearer files.",
"label":"Quality",
"type":"number",
"advanced":0
},
{
"name":"width",
"default":0,
"description":"Image width. 0 = max width",
"label":"Width",
"type":"number",
"advanced":0
},
{
"name":"height",
"default":0,
"description":"Image height. 0 = max height",
"label":"Height",
"type":"number",
"advanced":0
},
{
"name":"type",
"default":99,
"description":"Choose between auto, color (RGB24) or grayscale (RAW8 or RAW16 for mono cameras, Y8 for color cameras).<br>16 bits only works with PNG extension. 'auto' is same as RGB24.",
"label":"Image Type",
"type":"select",
"options": [
{"value": 99, "label": "auto"},
{"value": 0, "label": "RAW8"},
{"value": 1, "label": "RGB24"},
{"value": 2, "label": "RAW16"},
{"value": 3, "label": "Y8"}
],
"advanced":1
},
{
"name":"filename",
"default":"image.jpg",
"description":"Extensions allowed: .jpg",
"label":"Filename",
"type":"text",
"advanced":0
},
{
"name":"rotation",
"defualt":0,
"description":"Set image rotation to enable proper orientation, range 0 - 359 degrees",
"label":"Orientation",
"type":"select",
"options": [
{"value": "0", "label": "No rotation"},
{"value": "90", "label": "90 degrees"},
{"value": "180", "label": "180 degrees"},
{"value": "270", "label": "270 degrees"}
],
"advanced":0
},
{
"name":"flip",
"default":0,
"description":"Select a flipping option if you want to reverse the image along an axis",
"label":"Flip",
"type":"select",
"options": [
{"value": "0", "label": "No flip"},
{"value": "1", "label": "Horizontal"},
{"value": "2", "label": "Vertical"},
{"value": "3", "label": "Both"}
],
"advanced":0
},
{
"name":"",
"default":"",
"description":"Image overlay settings",
"label":"",
"type":"header",
"advanced":0
},
{
"name":"showTime",
"default":1,
"description":"Show the current date and time at the top center at the image",
"label":"Show Time",
"type":"checkbox",
"advanced":0
},
{
"name":"timeformat",
"default":"%Y%m%d %H:%M:%S",
"description":"Determines the format of the displayed time. Run 'man 3 strftime' to see the options.",
"label":"Time Format",
"type":"text",
"advanced":0
},
{
"name":"showExposure",
"default":1,
"description":"Activate to display the exposure length on the overlay.<br>If Auto-Exposure is set, '(auto)' will appear after the exposure time.",
"label":"Show Exposure",
"type":"checkbox",
"advanced":0
},
{
"name":"showGain",
"default":0,
"description":"Activate to display the camera gain on the overlay.<br>If Auto-Gain is set, '(auto)' will appear after the gain value.",
"label":"Show Gain",
"type":"checkbox",
"advanced":0
},
{
"name":"showBrightness",
"default":0,
"description":"Activate to display the brightness on the overlay.",
"label":"Show Brightness",
"type":"checkbox",
"advanced":0
},
{
"name":"showMean",
"default":0,
"description":"Activate to display the mean brightness on the overlay.<br>This is mostly for testing.",
"label":"Show Mean Brightness",
"type":"checkbox",
"advanced":1
},
{
"name":"showFocus",
"default":0,
"description":"Activate to display a focus metric to help you focus the camera.",
"label":"Show Focus Metric",
"type":"checkbox",
"advanced":1
},
{
"name":"text",
"default":"",
"description":"Text that appears below the optional time with the same color and size.",
"label":"Text Overlay",
"type":"text",
"advanced":0
},
{
"name":"textlineheight",
"default":80,
"description":"The line height of the text in pixels. If increasing the font size causes the text to overlap then increase this value.",
"label":"Line Height",
"type":"number",
"advanced":0
},
{
"name":"textx",
"default":15,
"description":"Text placement horizontal from LEFT in pixels.",
"label":"Text X",
"type":"number",
"advanced":0
},
{
"name":"texty",
"default":75,
"description":"Text placement vertical from TOP in pixels.",
"label":"Text Y",
"type":"number",
"advanced":0
},
{
"name":"fontname",
"default":"0",
"description":"Font name for the text overlay. Used for both large and small text.",
"label":"Font Name",
"type":"select",
"options": [
{"value": 0, "label": "Simplex"},
{"value": 1, "label": "Plain"},
{"value": 2, "label": "Duplex"},
{"value": 3, "label": "Complex"},
{"value": 4, "label": "Triplex"},
{"value": 5, "label": "Complex Small"},
{"value": 6, "label": "Script Simplex"},
{"value": 7, "label": "Script Complex"}
],
"advanced":0
},
{
"name":"fontcolor",
"default":"255 255 255",
"description":"Blue, Green, and Red (BGR) values of text color. 0 to 255 for each channel.<br>NOTE: When using RAW 16 only the first two values are used i.e., 255 128 0.",
"label":"Font Color",
"type":"text",
"advanced":0
},
{
"name":"smallfontcolor",
"default":"0 0 255",
"description":"BGR value of text color. 0 to 255 for each channel.<br>NOTE: When using RAW 16 only the first two values are used i.e., 255 128 0.",
"label":"Small Font Color",
"type":"text",
"advanced":0
},
{
"name":"fonttype",
"default":0,
"description":"Choose between smooth font lines (antialiased), 8-pixel, or 4 pixel connectivity (harder edges).",
"label":"Font Smoothness",
"type":"select",
"options": [
{"value": 0, "label": "Antialiased"},
{"value": 1, "label": "8 connected"},
{"value": 2, "label": "4 connected"}
],
"advanced":0
},
{
"name":"fontsize",
"default":7,
"description":"Text Font Size. The time, if displayed, will use this size; other text displayed will be about 20% smaller.",
"label":"Font Size",
"type":"number",
"advanced":0
},
{
"name":"fontline",
"default":1,
"description":"Text Font Line Thickness.",
"label":"Font Weight",
"type":"number",
"advanced":0
},
{
"name":"outlinefont",
"default":0,
"description":"Adds a black outline to the text overlay to improve contrast.",
"label":"Use Outline Font",
"type":"checkbox",
"advanced":0
},
{
"name":"temptype",
"default":"C",
"description":"Unit(s) to display temperature in.",
"label":"Temperature Units",
"type":"select",
"options": [
{"value": "C", "label": "Celcius"},
{"value": "F", "label": "Fahrenheit"},
{"value": "B", "label": "Both"}
],
"advanced":0
},
{
"name":"background",
"default":0,
"description":"Background annotation text color in gray scale value 0 (black) - 255 (white)",
"label":"Background Color",
"type":"number",
"advanced":0
},
{
"name":"",
"default":"",
"description":"Other settings",
"label":"",
"type":"header",
"advanced":0
},
{
"name":"notificationimages",
"default":1,
"description":"Activate to display notification images, e.g., 'Camera is off during the day'.",
"label":"Notification Images",
"type":"checkbox",
"advanced":0
},
{
"name":"latitude",
"default":"60.7N",
"description":"Latitude of the camera. Needs a number (0 to 90) and direction (N or S). Ex: 60.7N",
"label":"Latitude",
"type":"text",
"advanced":0
},
{
"name":"longitude",
"default":"135.05W",
"description":"Longitude of the camera. Needs a number (0 to 180) and direction (E or W). Ex: 135.05W",
"label":"Longitude",
"type":"text",
"advanced":0
},
{
"name":"angle",
"default":"-6",
"description":"Altitude of the sun in degrees relative to the horizon at which to start/stop capture",
"label":"Angle",
"type":"text",
"advanced":0
},
{
"name":"debuglevel",
"default":0,
"description":"Debug level, 0 is lowest level.",
"label":"Debug Level",
"type":"select",
"options": [
{"value": "0", "label": "0"},
{"value": "1", "label": "1"},
{"value": "2", "label": "2"},
{"value": "3", "label": "3"},
{"value": "4", "label": "4"}
],
"advanced":0
},
{
"name":"darkframe",
"default":0,
"description":"Capture dark frames",
"label":"Capture Dark Frames",
"type":"checkbox",
"advanced":0
},
{
"name":"locale",
"default":"en_US.UTF-8",
"description":"Your locale, used to determine what the thousands and decimal separators are.<br>Type 'locale' at a command prompt to see your choices (use the LC_NUMERIC entry).",
"label":"Locale",
"type":"text",
"advanced":0
},
{
"name":"alwaysshowadvanced",
"default":0,
"description":"Activate to always show the advanced options.",
"label":"Always Show Advanced",
"type":"checkbox",
"advanced":1
}
]