forked from poblabs/weewx-belchertown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skin.conf
481 lines (405 loc) · 19.4 KB
/
skin.conf
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
###############################################################################
# SKIN CONFIGURATION FILE #
# Copyright (c) 2010 Tom Keffer <tkeffer@gmail.com> #
# Updated for the Belchertown Skin by Pat O'Brien, 2019 #
###############################################################################
[Extras]
# General Site Defaults
belchertown_debug = 0
belchertown_root_url = ""
belchertown_locale = "auto"
theme = light
theme_toggle_enabled = 1
site_title = "My Weather Website"
logo_image = ""
radar_html = ""
# Station Observations. Special observation rainWithRainRate combines Daily Rain with Rain Rate in 1 line
station_observations = "barometer", "dewpoint", "outHumidity", "rainWithRainRate"
# Manifest Settings for Mobile Phones
manifest_name = "My Weather Website"
manifest_short_name = "MWW"
# Highcharts settings
highcharts_enabled = 1
graph_page_show_all_button = 1
graph_page_default_graphgroup = "day"
highcharts_homepage_graphgroup = "homepage"
# If you've extended your weewx database to include the below, you can enable them
show_apptemp = 0
show_windrun = 0
# MQTT Websockets defaults
mqtt_websockets_enabled = 0
mqtt_websockets_host = ""
mqtt_websockets_port = 1883
mqtt_websockets_ssl = 0
mqtt_websockets_topic = ""
disconnect_live_website_visitor = 1800000
# If mqtt_websockets_enabled is set to 0, but want the page to full reload on an interval, specify this below in milliseconds. 300000 = 5 minutes
webpage_autorefresh = 0
# Enable reloading of images in the index hook pages. Useful if there's webcams in these sections.
reload_hook_images = 0
# Forecast defaults
forecast_enabled = 0
darksky_secret_key = ""
darksky_units = "auto"
darksky_lang = "en"
forecast_stale = 3540
forecast_alert_enabled = 0
# Earthquake defaults
earthquake_enabled = 0
earthquake_maxradiuskm = 1000
earthquake_stale = 10740
# Social Share Button Defaults. Define the text below under Labels
facebook_enabled = 0
twitter_enabled = 0
# Google Analytics
#googleAnalyticsId = UA-12345678-1
# This is the display of the Pi Kiosk which is in the /pi folder
pi_kiosk_bold = "false"
###############################################################################
[Labels]
# Labels used in this skin
[[Generic]]
# Generic labels, keyed by an observation type.
# To change a label or translate it to your language
# change the text after the equal sign.
# Extra Observation labels
appTemp = Apparent Temperature
cloudbase = Cloud Base
visibility = Visibility
windrun = Wind Run
# HTML Header Meta Tags and HTML Title. These labels have a default value
# set inside of header.html.tmpl. Leave as "" to use the default value.
html_title = ""
html_description = ""
# Footer Information
footer_copyright_text = "My Weather Website"
footer_disclaimer_text = "Never make important decisions based on info from this website."
# Twitter Social Share
twitter_text = "Check out my website: My Weather Website Weather Conditions"
twitter_owner = "YourTwitterUsernameHere"
twitter_hashtags = "weewx #weather"
# Station Observation Table
rainWithRainRate = Rain
# Navigation Menu
nav_home = Home
nav_graphs = Graphs
nav_records = Records
nav_reports = Reports
nav_about = About
# Default page headers
home_page_header = "My Station Weather Conditions"
graphs_page_header = "Weather Observation Graphs"
records_page_header = "Weather Observation Records"
reports_page_header = "Weather Observation Reports"
about_page_header = "About This Weather Station"
powered_by = "Observations are powered by a <a href="/about" target="_blank">Personal Weather Station</a>"
# DarkSky translations
alert_in_effect = in effect until
forecast_last_updated = Last Updated on
clear = Clear
darksky_rain = Rain
snow = Snow
sleet = Sleet
windy = Windy
fog = Fog
overcast = Overcast
partly_cloudy = Partly Cloudy
hail = Hail
thunderstorm = Thunderstorm
tornado = Tornado
# Earthquake translations
earthquake_no_data = No recent earthquake data available!
# Home Page Text and Titles
sun = Sun
moon = Moon
sun_and_moon = Sun & Moon
moon_visible = visible
daily_forecast = Daily Forecast
wind_speed = Speed
wind_gust = Gust
feels_like = Feels like
highest_temperature = High
lowest_temperature = Low
forecast_header = 8 Day Forecast
header_last_updated = Last Updated
mqtt_websockets_connecting = Connecting to weather station real time data.
mqtt_websockets_waiting = Connected. Waiting for data.
mqtt_websockets_connected = Connected to weather station live. Data received
mqtt_websockets_stopped = Live updates have stopped
mqtt_websockets_continue = Continue live updates
mqtt_websockets_failed = Failed connecting to the weather station. Please try again later!
mqtt_websockets_lost = Lost connection to the weather station. Please try again later!
weather_snapshots = Weather Record Snapshots.
weather_snapshots_link = View all weather records here.
snapshot_high = High
snapshot_low = Low
snapshot_today_high_wind = Highest Wind
snapshot_today_high_uv = Highest UV
snapshot_today_rain = Today's Rain
snapshot_today_rainrate = Highest Rate
snapshot_month_high_wind = Highest Wind
snapshot_month_high_uv = Highest UV
snapshot_month_rain = Total Rain
snapshot_month_rainrate = Highest Rate
earthquake_title = Recent Local Earthquake
earthquake_magnitude = Magnitude
homepage_graphs_link = View more here.
copyright = Copyright
# Almanac Popup
close = Close
almanac_more_details = More Details
almanac_modal_title = Almanac Information
sun_always_down = Always down
sun_always_up = Always up
more_than_yesterday = more than yesterday
less_than_yesterday = less_than_yesterday
celestial = Celestial
start_civil_twilight = Start civil twilight
rise = Rise
transit = Transit
set = Set
end_civil_twilight = End Civil Twilight
azimuth = Azimuth
altitude = Altitude
right_ascension = Right ascension
declination = Declination
equinox = Equinox
solstice = Solstice
total_daylight = Total daylight
full_moon = Full moon
new_moon = New moon
phase = Phase
full = full
install_pyephem = Install pyephem for detailed celestial timings.
# Graphs Page Text and Titles
graphs_page_all_button = All
graphs_windrose_frequency = Frequency
graphs_windDir_ordinals = '{ 0: "N", 90: "E", 180: "S", 270: "W", 360: "N" }'
# Records Page Text and Titles
records_ending = ending
records_days_text = days
records_all_time = All Time
records_temperature_records = Temperature Records
records_high_temp = Highest Temperature
records_low_temp = Lowest Temperature
records_high_apptemp = Highest Apparent Temperature
records_low_apptemp = Lowest Apparent Temperature
records_high_heatindex = Highest Heat Index
records_low_windchill = Lowest Wind Chill
records_largest_temp_range = Largest Daily Temperature Range
records_smallest_temp_range = Smallest Daily Temperature Range
records_wind_records = Wind Records
records_strongest_wind = Strongest Wind Gust
records_daily_windrun = Highest Daily Wind Run
records_rain_records = Rain Records
records_highest_daily_rainfall = Highest Daily Rainfall
records_highest_daily_rainrate = Highest Daily Rain Rate
records_month_high_rainfall = Month with Highest Total Rainfall
records_total_rainfall = Total Rainfall for
records_consec_days_with_rain = Consecutive Days With Rain
records_consec_days_without_rain = Consecutive Days Without Rain
records_humidity_records = Humidity Records
records_high_humidity = Highest Humidity
records_lowest_humidity = Lowest Humidity
records_highest_dewpoint = Highest Dewpoint
records_lowest_dewpoint = Lowest Dewpoint
records_barometer_records = Barometer Records
records_high_barometer = Highest Barometer
records_low_barometer = Lowest Barometer
records_sun_records = Sun Records
records_high_solar_rad = Highest Solar Radiation
records_high_uv = Highest UV
# NOAA Reports Page Text and Titles
reports_title = NOAA Reports
reports_click_here_link = Click here
reports_view_more = to view this report directly or click on a month or year to change the NOAA report.
# moment.js default labels formats
time_earthquake = "LLL"
time_lastUpdated = "LL, LTS"
time_snapshot_records_today_header = "dddd, LL"
time_snapshot_records_month_header = "MMMM YYYY"
time_sunrise = "LT"
time_sunset = "LT"
time_darksky_alert_expires = "LLL"
time_darksky_forecast_date = "ddd M/DD"
time_forecast_last_updated = "LLL"
time_mqtt_websockets_last_updated = "LL, LTS"
time_records_page_full_date = "LLL"
time_records_page_month_day_year = "LL"
time_records_page_rainfall_range_begin = "MMMM DD"
time_records_page_rainfall_range_end = "LL"
###############################################################################
[Almanac]
# The labels to be used for the phases of the moon:
moon_phases = New Moon, Waxing Crescent, First Quarter, Waxing Gibbous, Full Moon, Waning Gibbous, Last Quarter, Waning Crescent
###############################################################################
[Units]
# This section is for managing the selection and formatting of units.
[[Groups]]
# For each group of measurements, this section sets what units to
# use for it.
# NB: The unit is always in the singular. I.e., 'mile_per_hour',
# NOT 'miles_per_hour'
group_altitude = foot # Options are 'foot' or 'meter'
group_degree_day = degree_F_day # Options are 'degree_F_day' or 'degree_C_day'
group_direction = degree_compass
group_moisture = centibar
group_percent = percent
group_pressure = inHg # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'
group_radiation = watt_per_meter_squared
group_rain = inch # Options are 'inch', 'cm', or 'mm'
group_rainrate = inch_per_hour # Options are 'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
group_speed = mile_per_hour # Options are 'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
group_speed2 = mile_per_hour2 # Options are 'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
group_temperature = degree_F # Options are 'degree_F' or 'degree_C'
group_uv = uv_index
group_volt = volt
# The following are used internally and should not be changed:
group_count = count
group_interval = minute
group_time = unix_epoch
group_elapsed = second
[[StringFormats]]
# This section sets the string formatting for each type of unit.
centibar = %.0f
cm = %.2f
cm_per_hour = %.2f
degree_C = %.1f
degree_F = %.1f
degree_compass = %.0f
foot = %.0f
hPa = %.1f
hour = %.1f
inHg = %.3f
inch = %.2f
inch_per_hour = %.2f
km_per_hour = %.0f
km_per_hour2 = %.1f
knot = %.0f
knot2 = %.1f
mbar = %.1f
meter = %.0f
meter_per_second = %.1f
meter_per_second2 = %.1f
mile_per_hour = %.0f
mile_per_hour2 = %.1f
mm = %.1f
mmHg = %.1f
mm_per_hour = %.1f
percent = %.0f
second = %.0f
uv_index = %.1f
volt = %.1f
watt_per_meter_squared = %.0f
NONE = "N/A"
[[Labels]]
# This section sets a label to be used for each type of unit.
centibar = " cb"
cm = " cm"
cm_per_hour = " cm/hr"
degree_C = " °C"
degree_F = " °F"
degree_compass = °
foot = " feet"
hPa = " hPa"
inHg = " inHg"
inch = " in"
inch_per_hour = " in/hr"
km_per_hour = " km/h"
km_per_hour2 = " km/h"
knot = " knots"
knot2 = " knots"
mbar = " mbar"
meter = " meters"
meter_per_second = " m/s"
meter_per_second2 = " m/s"
mile_per_hour = " mph"
mile_per_hour2 = " mph"
mm = " mm"
mmHg = " mmHg"
mm_per_hour = " mm/hr"
percent = %
volt = " V"
watt_per_meter_squared = " W/m²"
day = " day", " days"
hour = " hour", " hours"
minute = " minute", " minutes"
second = " second", " seconds"
NONE = ""
[[TimeFormats]]
# This section sets the string format to be used for each time scale.
# The values below will work in every locale, but may not look
# particularly attractive. See the Customization Guide for alternatives.
day = %X
week = %X (%A)
month = %x %X
year = %x %X
rainyear = %x %X
current = %x %X
ephem_day = %X
ephem_year = %x %X
[[Ordinates]]
# The ordinal directions. The last one should be for no wind direction
directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW, N/A
[[DegreeDays]]
# This section sets the base temperatures used for the calculation
# of heating and cooling degree-days.
# Base temperature for heating days, with unit:
heating_base = 65, degree_F
# Base temperature for cooling days, with unit:
cooling_base = 65, degree_F
[[Trend]]
time_delta = 10800 # 3 hours
time_grace = 300 # 5 minutes
###############################################################################
[CheetahGenerator]
# This section is used by the generator CheetahGenerator, and specifies
# which files are to be generated from which template.
search_list_extensions = user.belchertown.getData
# Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
encoding = html_entities
[[SummaryByMonth]]
# Reports that summarize "by month"
[[[NOAA_month]]]
encoding = strict_ascii
template = NOAA/NOAA-YYYY-MM.txt.tmpl
[[SummaryByYear]]
# Reports that summarize "by year"
[[[NOAA_year]]]
encoding = strict_ascii
template = NOAA/NOAA-YYYY.txt.tmpl
[[ToDate]]
# Reports that show statistics "to date", such as day-to-date,
# week-to-date, month-to-date, etc.
[[[weewx_data]]]
template = json/weewx_data.json.tmpl
[[Belchertown]]
template = js/belchertown.js.tmpl
[[[home]]]
template = index.html.tmpl
[[[about]]]
template = about/index.html.tmpl
[[[graphs]]]
template = graphs/index.html.tmpl
[[[records]]]
template = records/index.html.tmpl
[[[reports]]]
template = reports/index.html.tmpl
[[[pi]]]
template = pi/index.html.tmpl
[[[manifest]]]
encoding = utf8
template = manifest.json.tmpl
###############################################################################
[CopyGenerator]
# This section is used by the generator CopyGenerator
# List of files to be copied only the first time the generator runs
copy_once = favicon.ico, images/*, json/index.html, js/index.html, js/responsive-menu.js, robots.txt
# List of files to be copied each time the generator runs
copy_always = *.css
###############################################################################
#
# The list of generators that are to be run:
#
[Generators]
generator_list = weewx.cheetahgenerator.CheetahGenerator, weewx.reportengine.CopyGenerator, user.belchertown.JsonGenerator