forked from thomasjacquin/allsky-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
camera_options_ZWO.json
604 lines (596 loc) · 14.7 KB
/
camera_options_ZWO.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
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
[
{
"name":"",
"default":"",
"description":"Daytime settings",
"label":"",
"type":"header",
"advanced":0
},
{
"name":"dayautoexposure",
"default":1,
"description":"Activate to enable daytime auto-exposure.<br>NOTE: since daytime exposures are short, there is no daytime max auto-exposure.",
"label":"Auto-Exposure",
"type":"checkbox",
"advanced":1
},
{
"name":"dayexposure",
"default":0.5,
"description":"Daytime manual exposure time in ms (1000ms = 1 sec). Can be a fraction.<br>If using auto-exposure, this number is used as a starting point.",
"label":"Manual Exposure",
"type":"text",
"advanced":1
},
{
"name":"daybrightness",
"default":100,
"description":"50 - 160. Changes the amount of light in the image.<br>Low value = dark; high value = bright. Only works with auto-exposure.",
"label":"Auto-Exposure Brightness",
"type":"number",
"advanced":0
},
{
"name":"daydelay",
"default":5000,
"description":"Delay between daytime images in milliseconds. 1000ms = 1 sec.",
"label":"Delay",
"type":"number",
"advanced":0
},
{
"name":"daybin",
"default":1,
"description":"1 = binning OFF (1x1), 2 = 2x2 binning, 4 = 4x4 binning.<br>Check available binning modes for your camera.",
"label":"Binning",
"type":"select",
"options": [
{"value": 1, "label": "1x1"},
{"value": 2, "label": "2x2"},
{"value": 4, "label": "4x4"}
],
"advanced":1
},
{
"name":"",
"default":"",
"description":"Nightime settings",
"label":"",
"type":"header",
"advanced":0
},
{
"name":"nightautoexposure",
"default":1,
"description":"Activate to enable nightime auto-exposure.",
"label":"Auto-Exposure",
"type":"checkbox",
"advanced":0
},
{
"name":"nightmaxexposure",
"default":20000,
"description":"Maximum nightime auto-exposure time in ms (1000ms = 1 sec).<br>Only applies if 'Auto-Exposure' is enabled.",
"label":"Max Auto-Exposure",
"type":"number",
"advanced":0
},
{
"name":"nightexposure",
"default":10000,
"description":"Manual nightime exposure time in ms (1000ms = 1 sec).<br>If using auto-exposure, this number is used as a starting point.",
"label":"Manual Exposure",
"type":"number",
"advanced":0
},
{
"name":"nightbrightness",
"default":100,
"description":"50 - 160. Changes the amount of light in the image.<br>Low value = dark; high value = bright. Only works with auto-exposure.",
"label":"Auto-Exposure Brightness",
"type":"number",
"advanced":0
},
{
"name":"nightdelay",
"default":10,
"description":"Delay between nighttime images in milliseconds (1000ms = 1 sec).",
"label":"Delay",
"type":"number",
"advanced":0
},
{
"name":"nightautogain",
"default":0,
"description":"Activate to enable nightime auto-gain.",
"label":"Auto-Gain",
"type":"checkbox",
"advanced":1
},
{
"name":"nightmaxgain",
"default":200,
"description":"Upper gain limit when using auto-gain.",
"label":"Max Gain",
"type":"number",
"advanced":1
},
{
"name":"nightgain",
"default":50,
"description":"Manually set the gain (light sensitivity).<br>Starts at 0. A high value returns a brighter image but more noise too. Not used for daytime (is 0).",
"label":"Gain",
"type":"number",
"advanced":0
},
{
"name":"gaintransitiontime",
"default":30,
"description":"Number of <b>minutes</b> over which to increase or decrease the gain when going from day-to-night or night-to-day images.<br>This helps smooth brightness differences. Only works if nighttime Auto-Gain is off. 0 disables transitions.",
"label":"Gain Transition Time",
"type":"number",
"advanced":1
},
{
"name":"nightbin",
"default":1,
"description":"1 = binning OFF (1x1), 2 = 2x2 binning, 4 = 4x4 binning.<br>Check available binning modes for your camera.",
"label":"Binning",
"type":"select",
"options": [
{"value": 1, "label": "1x1"},
{"value": 2, "label": "2x2"},
{"value": 4, "label": "4x4"}
],
"advanced":0
},
{
"name":"",
"default":"",
"description":"Both daytime and nightime settings",
"label":"",
"type":"header",
"advanced":0
},
{
"name":"width",
"default":0,
"description":"Image width in pixels. 0 = max width.",
"label":"Image Width",
"type":"number",
"advanced":0
},
{
"name":"height",
"default":0,
"description":"Image height in pixels. 0 = max height.",
"label":"Image 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' tries color first, then RAW16, then RAW8.",
"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":"gamma",
"default":50,
"description":"0 to 100. Changes the difference between light and dark areas.<br>A high value increases contrast. <i>Not supported on all cameras</i>.",
"label":"Gamma",
"type":"number",
"advanced":0
},
{
"name":"offset",
"default":"0",
"description":"From 0 to a camera-specific upper value. Adds about 1/10 the specified value to every pixel.",
"label":"Brightness (offset)",
"type":"number",
"advanced":1
},
{
"name":"autowhitebalance",
"default":0,
"description":"Sets Auto White Balance.",
"label":"Auto White Balance",
"type":"checkbox",
"advanced":0
},
{
"name":"wbr",
"default":53,
"description":"Red component for the white balance.<br>When using auto white balance, this number is a starting point.",
"label":"Red Balance",
"type":"number",
"advanced":0
},
{
"name":"wbb",
"default":90,
"description":"Blue component for the white balance.<br>When using auto white balance, this number is a starting point.",
"label":"Blue Balance",
"type":"number",
"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":"autousb",
"default":1,
"description":"Automatically set the USB bandwidth.",
"label":"Auto USB Bandwidth",
"type":"checkbox",
"advanced":1
},
{
"name":"usb",
"default":80,
"description":"USB bandwidth. Values between 40-100.<br>If you get ASI_ERROR_TIMEOUT errors in the log file, try chaning this value.",
"label":"USB Bandwidth",
"type":"number",
"advanced":1
},
{
"name":"filename",
"default":"image.jpg",
"description":"No whitespaces in filename. Extensions allowed: .jpg or .png.<br>WARNING: saving a .png file can take 10 or more seconds so be sure the time between successive images is long enough. To measure how long it takes your Pi to save a .png file, set the 'Debug Level' to 3 and look in the log file.",
"label":"Filename",
"type":"text",
"advanced":1
},
{
"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 flipping"},
{"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":"Activate to display the time on the overlay.<br>Combine with Text X and Text Y for placement of ALL overlay options.",
"label":"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":"showTemp",
"default":1,
"description":"Activate to display the camera sensor temperature on the overlay.",
"label":"Show Temperature",
"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":"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":1,
"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":1,
"description":"Activate to display the Brightness value on the overlay.",
"label":"Show Brightness",
"type":"checkbox",
"advanced":0
},
{
"name":"showUSB",
"default":0,
"description":"Activate to display the USB Bandwidth value on the overlay.<br>This is mostly for testing.",
"label":"Show USB",
"type":"checkbox",
"advanced":1
},
{
"name":"showHistogram",
"default":0,
"description":"Activate to display the histogram mean on the overlay.<br>This is mostly for testing.",
"label":"Show Histogram",
"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":"extratext",
"default":"",
"description":"Extra Text File (enter full path to the file).<br>Leave blank if NOT using an extra text file.",
"label":"Extra Text File",
"type":"text",
"advanced":0
},
{
"name":"extratextage",
"default":0,
"description":"The maximum age of the extra text file in seconds.<br>After this time the contents of the file will no longer be displayed. Set to 0 to always display.",
"label":"Max Age Of Extra",
"type":"number",
"advanced":0
},
{
"name":"textlineheight",
"default":30,
"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":35,
"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":"",
"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":"coolerEnabled",
"default":0,
"description":"Activate to use cooling (works only on cooled cameras).",
"label":"Cooling",
"type":"checkbox",
"advanced":0
},
{
"name":"targetTemp",
"default":0,
"description":"Sensor's target temperature <i>when cooler is enabled</i> (degrees Celsius).",
"label":"Target Temp.",
"type":"number",
"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 switch between day and night.",
"label":"Angle",
"type":"text",
"advanced":0
},
{
"name":"histogrambox",
"default":"500 500 50 50",
"description":"Size of the histogram box (X and Y in pixels) and offset from left and top (0-100 percent). Sizes must be even numbers.",
"label":"Histogram Box",
"type":"text",
"advanced":1
},
{
"name":"showhistogrambox",
"default":0,
"description":"Enable to show an outline of the histogram box, useful for determining what the 'Histogram Box' numbers should be.",
"label":"Show Histogram Box",
"type":"checkbox",
"advanced":1
},
{
"name":"darkframe",
"default":0,
"description":"Activate to capture dark frames. This mode hides text and time overlays.<br>Will continually take dark frames until restarted.",
"label":"Dark Frame",
"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":"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":"newexposure",
"default":0,
"description":"Activate to use the version 0.8 exposure method which decreases sensor temperature. If you see ASI_ERROR_TIMEOUTs in the log file, deactivate this.",
"label":"Version 0.8 Exposure",
"type":"checkbox",
"advanced":1
},
{
"name":"alwaysshowadvanced",
"default":0,
"description":"Activate to always show the advanced options.",
"label":"Always Show Advanced",
"type":"checkbox",
"advanced":1
}
]