forked from filipsPL/autowx2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
autowx2_conf.py.example
205 lines (156 loc) · 5.53 KB
/
autowx2_conf.py.example
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
#
# autowx2 - config file
# variables used by autowx2
#
#
# baseDir is taken from this script
# do not change, run configure.sh to configure
#
from basedir_conf import *
# satellites to record
# for list of active satellites and used frequences, see
# http://www.dk3wn.info/p/?page_id=29535
satellitesData = {
'NOAA-18': {
'freq': '137912500',
'processWith': 'modules/noaa/noaa.sh',
'priority': 2},
'NOAA-15': {
'freq': '137620000',
'processWith': 'modules/noaa/noaa.sh',
'priority': 2},
'NOAA-19': {
'freq': '137100000',
'processWith': 'modules/noaa/noaa.sh',
'priority': 2},
'ISS': {
#'freq': '145800000', # FM U/v VOICE Repeater (Worldwide) and FM SSTV downlink (Worldwide) [OK]
'freq': '143625000', # FM VHF-1 downlink. Main Russian communications channel. Often active over Moskow. [ ]
#'freq': '145825000', # APRS -- AX.25 1200 Bd AFSK Packet Radio (Worldwide) Downlink [ ]
'processWith': 'modules/iss/iss_voice_mp3.sh',
'priority': 1},
'Radiosonde': { # meteo balloons launched twice a day, monitored for two hours
'freq': '98796500',
'processWith': 'modules/radiosonde/run_radiosonde_scanner.sh',
'fixedTime': '20 0,12 * * *',
'fixedDuration': 7200,
'priority': 1},
#'FOX-1A': { # http://www.dk3wn.info/p/?cat=80
#'freq': '145980000',
#'processWith': 'modules/iss/iss_voice.sh',
#'priority': 4},
#'FOX-1D': { # http://www.dk3wn.info/p/?cat=80
#'freq': '145880000',
#'processWith': 'modules/iss/iss_voice.sh',
#'priority': 4},
#'FOX-1B': { # http://www.dk3wn.info/p/?cat=80
#'freq': '145960000',
#'processWith': 'modules/iss/iss_voice.sh',
#'priority': 4},
}
#
# priority time margin - time margin between two overlapping transits with different priorities, in seconds
#
priorityTimeMargin = 240
#
# minimal elevation of pass to capture satellite
#
minElev = 20
#
# skip first n seconds of the pass
#
skipFirst = 20
#
# skip last n seconds of the pass
#
skipLast = 20
# staion information
# lon: positive values for W, negative for E
stationLat = '50.34'
stationLon = '-22.06'
stationAlt = '179'
stationName = 'San Escobar'
#
# dongle gain
#
dongleGain = '49.6'
#
# Kill all rtl_ related processes after/berofr recordings?
# This should be enabled when the user doesn't use another instances which may run rtl software
#
cleanupRtl = True
#
# where to place the www data (static html pages)
#
wwwDir=baseDir + 'var/www/'
#
# recording direcotry - where to put recorded files, processed images etc. - the core
#
#recordingDir = baseDir + "recordings/" # will goto recording dir in local dir
recordingDir = wwwDir + "recordings/" # will go to www dir
#
# location of the HTML file with a list of next passes
#
htmlNextPassList = wwwDir + 'nextpass.tmp'
#
# location of the Gantt chart file with a plot of next passes; PNG or SVG file extension possible
#
ganttNextPassList = wwwDir + 'nextpass.png'
#
# WWW root path - where is your main index.html file
# this could be:
# / - for page in the root www directory, eg. www.domain.org/index.html
# /~filipsPL/ - for page located in filipsPL's home directory
# file:///home/filipsPL/github/autowx2/var/www/ - for files stored locally in the given local directory
wwwRootPath='/'
#
# galleries to include in the static index page
# 1 = inclcude, 0 = don't include
#
includeGalleryNoaa=1 # NOAA recordings
includeGalleryISS=0 # ISS recordings
includeGalleryMeteor=0 # Meteor recordings
includeGalleryLogs=1 # logs in plain text
includeGalleryDump1090=0 # dump1090 data
#
# port at which webserver will be listening
#
webInterfacePort = 5010
# script tha will be used whle waiting for the next pass; set False if we just want to sleep
# by default, this script will get the parameter of duration of the time to be run and the recent dongleShift
# scriptToRunInFreeTime = False # does nothing
scriptToRunInFreeTime = baseDir + "bin/aprs.sh" # APRS monitor
#scriptToRunInFreeTime = baseDir + "bin/radiosonde_auto_rx.sh" # radiosonde tracker, see https://github.com/projecthorus/radiosonde_auto_rx
#scriptToRunInFreeTime = baseDir + "bin/pymultimonaprs.sh" # APRS iGate,
#scriptToRunInFreeTime = baseDir + "bin/wspr.sh" # Weak Signal Propagation Reporter
# pymultimonaprs must be installed, see: https://github.com/asdil12/pymultimonaprs/
#scriptToRunInFreeTime = baseDir + "bin/dump1090.sh"
scriptToRunInFreeTime = baseDir + "bin/rtl_433.sh" # monitor traffic on 433 MHz; see: rtl_433
### Logging to file (enter the path) or False to disable
# loggingDir = False
loggingDir = recordingDir + "/logs/"
# Dongle PPM shift, hopefully this will change to reflect different PPM on freq
dongleShift = '0'
#
# wether to turn bias t power on (i.e., for LNA)
# see: rtl_fm --help | grep "-T"
# biast=""
# biast="-T"
#
biast=""
#
tleDir = baseDir + 'var/tle/'
tleFile = 'all.txt'
tleFileName = tleDir + tleFile
# dongle shift file
dongleShiftFile = baseDir + "var/dongleshift.txt"
# dongle calibration program
# should return the dongle ppm shift
#calibrationTool = False # don't calibrate the dongle, use old/fixed shift
calibrationTool = baseDir + "bin/calibrate.sh" # uses predefined GSM channel
#calibrationTool = baseDir + "bin/calibrate_full.sh" # check for the best GSM channel and calibrates
# DERIVATIVES #############################
#
# latlonalt for use with wxmap
#
latlonalt = "%s/%s/%s" % (stationLat, -1 * float(stationLon), stationAlt)