-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathconfig.js
More file actions
201 lines (156 loc) · 4.6 KB
/
config.js
File metadata and controls
201 lines (156 loc) · 4.6 KB
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
/**
* OpenHamClock Configuration
*
* Edit this file to customize your OpenHamClock instance.
* After making changes, refresh the browser to apply.
*
* For Raspberry Pi: Edit this file at ~/openhamclock/config.js
*/
const OpenHamClockConfig = {
// ========================================
// STATION INFORMATION
// ========================================
// Your callsign (displayed in header)
callsign: 'K0CJH',
// Your location (DE - "This End")
// Find coordinates: https://www.latlong.net/
location: {
lat: 39.7392, // Latitude (positive = North, negative = South)
lon: -104.9903, // Longitude (positive = East, negative = West)
},
// Default DX location (far end for path calculations)
// Set to a frequently worked location, or leave as default
defaultDX: {
lat: 35.6762, // Tokyo, Japan
lon: 139.6503,
},
// ========================================
// DISPLAY OPTIONS
// ========================================
// Theme: 'dark' (default), 'light' (coming soon)
theme: 'dark',
// Time format: '24h' or '12h'
timeFormat: '24h',
// Date format: 'iso' (YYYY-MM-DD), 'us' (MM/DD/YYYY), 'eu' (DD/MM/YYYY)
dateFormat: 'iso',
// Show seconds in time display
showSeconds: true,
// ========================================
// PANELS TO DISPLAY
// ========================================
// Enable/disable individual panels
panels: {
utcClock: true,
localClock: true,
worldMap: true,
deInfo: true,
dxInfo: true,
spaceWeather: true,
bandConditions: true,
dxCluster: true,
potaActivity: true,
sotaActivity: false, // Coming soon
satellites: false, // Coming soon
contests: false, // Coming soon
},
// ========================================
// MAP OPTIONS
// ========================================
map: {
// Map style: 'standard', 'terrain', 'minimal'
style: 'standard',
// Show day/night terminator (gray line)
showTerminator: true,
// Show grid lines
showGrid: true,
// Show path between DE and DX
showPath: true,
// Path style: 'greatCircle' or 'straight'
pathStyle: 'greatCircle',
},
// ========================================
// DX CLUSTER SETTINGS
// ========================================
dxCluster: {
// Enable live DX cluster connection
enabled: false, // Set to true when API is implemented
// Cluster node (Telnet)
node: 'dxc.nc7j.com',
port: 7373,
// Login callsign (usually your call)
login: 'K0CJH',
// Filter options
filters: {
// Only show spots for these bands (empty = all bands)
bands: [], // e.g., ["20m", "40m", "15m"]
// Only show these modes (empty = all modes)
modes: [], // e.g., ["FT8", "CW", "SSB"]
// Minimum spot age to display (minutes)
maxAge: 30,
},
},
// ========================================
// POTA/SOTA SETTINGS
// ========================================
pota: {
enabled: true,
// Filter by state/region (empty = all)
regions: [], // e.g., ["K-CO", "K-WY"]
// Maximum number of spots to show
maxSpots: 10,
},
sota: {
enabled: false,
// Filter by association (empty = all)
associations: [], // e.g., ["W7C", "W0C"]
maxSpots: 10,
},
wwbota: {
enabled: true,
// Maximum number of spots to show
maxSpots: 10,
},
// ========================================
// SPACE WEATHER DATA SOURCES
// ========================================
dataRefresh: {
// Refresh interval in seconds
spaceWeather: 300, // 5 minutes
bandConditions: 300, // 5 minutes
dxCluster: 5, // 5 seconds (live)
pota: 60, // 1 minute
sota: 60, // 1 minute
},
// ========================================
// SOUND/ALERTS (Coming Soon)
// ========================================
alerts: {
enabled: false,
// Sound alerts for new DX spots
dxClusterSound: false,
// Alert for specific DXCC entities
watchedEntities: [], // e.g., ["VP8", "3Y", "P5"]
// Alert for space weather events
spaceWeatherAlert: false,
},
// ========================================
// ADVANCED
// ========================================
advanced: {
// Enable debug logging
debug: false,
// Custom CSS (appended to page)
customCSS: '',
// API endpoints (for self-hosted data servers)
apiEndpoints: {
spaceWeather: null, // null = use default
dxCluster: null,
pota: null,
sota: null,
},
},
};
// Export for use in main application
if (typeof module !== 'undefined' && module.exports) {
module.exports = OpenHamClockConfig;
}