forked from Yerren/FreshWDL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
33 lines (31 loc) · 1.87 KB
/
Copy pathconfig.js
File metadata and controls
33 lines (31 loc) · 1.87 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
/*jslint plusplus: true, sloppy: true, indent: 4 */
//Ajust these values to your liking.
var clientRawName = "clientraw.txt", //The names of your clientraw files
clientRawExtraName = "clientrawextra.txt",
clientRawHourName = "clientrawhour.txt",
clientRawDailyName = "clientrawdaily.txt",
customBaseURL = "https://www.weather-station.org/wdisplay/" // OPTIONAL: Set the path to where your clientraw files are uploaded e.g., "http://www.goldenbaynzweather.info/wdl/" (note: final backslash and quotation marks must be included). Otherwise leave as: false
lang = "en",
currentUnits = { //Default units (what the page will display when first loaded)
pressure: "inHg", //Options: "hPa" "mmHG" "kPa" "inHg" "mb"
altitude: "ft", //Options: "m" "yds" "ft"
wind: "mph", //Options: "kmh" "mph" "kts" "ms" "mm" "inch" "B" (Beaufort)
rainfall: "inch", //Options: "mm" "inch"
windDirection: "deg", //Options: "deg" (only one)
humidity: "percent", //Options: "percent" (only one)
solar: "Wm", //Options: "Wm" (only one)
uv: "noUnit", //Options: no units for UV
temp: "fahrenheit" //Options: "celsius" "fahrenheit"
},
gaugeSettings = { //Gauges: apparent temperature barometer windChill graphHandlerBarometer graphHandlerRainfall graphHandlerTemperature graphHandlerWindSpeed humidity moonSun solar status rainfallTitle rainfallDay rainfallMonth rainfallYear UV windDirection windSpeed
solar: {
enabled: false
},
UV: {
enabled: false
},
windChill: {
mode: "windchill", //The default mode, either "heatIndex" or "windchill" (note: lowercase c)
autoSwitch: true //If true, will switch between heat Index/wind chill depending on what is appropriate.
}
};