1-5 and 10 of troubleshooting bundle attached

On Wednesday, June 10, 2020 at 3:36:57 PM UTC-5, Ken Hays wrote:
>
> similar issue from the one posted last week. debian dist install. 
> weewx html pages render fine. weather34/index.php renders white page with 
> no source.
> if I request other php files e.g. weather34/homeindoor.php the 7 temp 
> blocks will be displayed.
> everything is on one physical machine. only log info is apache access 500
>
> will start getting debug info together
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7af66473-cbec-422c-9153-98d1437c7522o%40googlegroups.com.
cat plots_config.js
var pathweewx = '/weewx/'     //Path from web server home location to weewx 
directory
var pathpws   = '/weewx/weather34/'               //Path from web server home 
location to weather34 directory
var pathweewxbin = '/usr/share/weewx'     //Physical path to weewx include 
files for wee_report_w34 if DEB installed WeeWX
var realtimefile =  pathpws   + "w34realtime.txt";    //Location of real-time 
data from web server
var pathjsonfiles = pathpws + "w34highcharts/json/";                    
//Location weewx report output json files from home location of weewx. DO NOT 
CHANGE UNLESS YOU CHANGE SKIN DIRECTORY.

var dayplotsurl =   pathpws + "w34highcharts/getDayChart.php"; //Location of 
day reports php file from home location of pws.
var pathjsondayfiles = "json_day/";                         //Location day 
report output json files from home location of where wee_report_34 run. DO NOT 
CHANGE UNLESS YOU CHANGE SKIN DIRECTORY.
var weereportcmd = "./wee_reports_w34";                     //Command to run 
wee_report_34. DO NOT CHANGE.

var autoupdateinterval = 60; //This is seconds
var realtimeinterval = 10;  //This is seconds
var hide_zero_wind_barb = false; //Hide or display Zero Barb

//[0] array offset(s) to wanted real-time data(s)(can be empty),[1] array 
offset(s) to data's real-time units(can be empty),[2] array of unit convert 
function(s)(can be empty), [3] plot type, [4] plot X resolution, [5] delta value
// The (can be empty) entries then must have a plot_type that is another plot 
type entry with fill in values this is how to display a different plot_type 
when using real-time data.
var realtimeplot = {
    
temperatureplot:[[2,4],[14,14],['convert_temp','convert_temp'],['temperatureplot'],[150]],
    
tempallplot:[[2,4,3],[14,14,-1],['convert_temp','convert_temp',null],['tempallplot'],
 [150]],
    winddirplot:[[7],[13],['convert_wind'],['winddirplot'], [150]],
    windplot:[[6],[13],['convert_wind'],['windplot'],[150]],
    
windallplot:[[5,40,46],[13,13,-1],['convert_wind','convert_wind',null],['windallplot'],[150]],
    barometerplot:[[10],[15],['convert_pressure'],['barometerplot'],[150]],
    
rainplot:[[47,8],[16,16],['convert_rain','convert_rain'],['rainplot'],[50],[]],
    windroseplot:[[6,11],[13,-1],['convert_wind', null],['windroseplot'],[150]]
}
========================================================================

syslog
Jun 10 15:30:20 vbar weewx[10850] INFO weewx.manager: Added record 2020-06-10 
15:30:00 CDT (1591821000) to database 'weewx.sdb'
Jun 10 15:30:20 vbar weewx[10850] INFO weewx.manager: Added record 2020-06-10 
15:30:00 CDT (1591821000) to daily summary in 'weewx.sdb'
Jun 10 15:30:21 vbar weewx[10850] INFO weewx.cheetahgenerator: Generated 8 
files for report SeasonsReport in 0.88 seconds
Jun 10 15:30:21 vbar weewx[10850] INFO weewx.imagegenerator: Generated 15 
images for report SeasonsReport in 0.42 seconds
Jun 10 15:30:21 vbar weewx[10850] INFO weewx.reportengine: Copied 0 files to 
/var/www/html/weewx
Jun 10 15:30:21 vbar weewx[10850] INFO weewx.cheetahgenerator: Generated 1 
files for report Weather34Report in 0.13 seconds
Jun 10 15:30:21 vbar weewx[10850] INFO weewx.reportengine: Copied 0 files to 
/var/www/html/weewx/weather34/
Jun 10 15:30:22 vbar weewx[10850] INFO weewx.cheetahgenerator: Generated 7 
files for report w34Highcharts in 0.08 seconds
Jun 10 15:30:22 vbar weewx[10850] INFO weewx.reportengine: Copied 0 files to 
/var/www/html/weewx/weather34/w34highcharts
Jun 10 15:34:49 vbar weewxd: w34rt: Failed getting web service data. URL: 
https://api.weather.com/v3/wx/forecast/daily/5day?geocode=30.573383,-89.356521&language=en&format=json&units=h&apiKey=YOURWEATHERUNDERGROUNDTOKEN
 Header: ["'User-Agent'", "'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; 
en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3'"], 
Error: HTTP Error 401: Unauthorized
Jun 10 15:34:49 vbar weewxd: w34rt: Failed getting web service data. URL: 
https://api.checkwx.com/metar/EGTK/decoded Header: ['X-API-Key', 
'YOURMETARKEY'], Error: HTTP Error 401: Unauthorized
Jun 10 15:34:50 vbar weewxd: w34rt: Failed getting web service data. URL: 
https://api.forecast.io/forecast/YOURDARKSKYKEY/30.573383,-89.356521?lang=en&units=uk2
 Header: ["'User-Agent'", "'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; 
en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3'"], 
Error: HTTP Error 403: Forbidden
Jun 10 15:35:22 vbar weewx[10850] INFO weewx.manager: Added record 2020-06-10 
15:35:00 CDT (1591821300) to database 'weewx.sdb'
Jun 10 15:35:22 vbar weewx[10850] INFO weewx.manager: Added record 2020-06-10 
15:35:00 CDT (1591821300) to daily summary in 'weewx.sdb'
Jun 10 15:35:23 vbar weewx[10850] INFO weewx.cheetahgenerator: Generated 8 
files for report SeasonsReport in 0.81 seconds
Jun 10 15:35:23 vbar weewx[10850] INFO weewx.imagegenerator: Generated 15 
images for report SeasonsReport in 0.35 seconds
Jun 10 15:35:23 vbar weewx[10850] INFO weewx.reportengine: Copied 0 files to 
/var/www/html/weewx
Jun 10 15:35:23 vbar weewx[10850] INFO weewx.cheetahgenerator: Generated 1 
files for report Weather34Report in 0.13 seconds
Jun 10 15:35:23 vbar weewx[10850] INFO weewx.reportengine: Copied 0 files to 
/var/www/html/weewx/weather34/
Jun 10 15:35:23 vbar weewx[10850] INFO weewx.cheetahgenerator: Generated 6 
files for report w34Highcharts in 0.07 seconds
Jun 10 15:35:23 vbar weewx[10850] INFO weewx.reportengine: Copied 0 files to 
/var/www/html/weewx/weather34/w34highcharts

syslog at startup
Jun 10 15:39:49 vbar weewxd: w34rt: Failed getting web service data. URL: 
https://api.weather.com/v3/wx/forecast/daily/5day?geocode=30.573383,-89.356521&language=en&format=json&units=h&apiKey=YOURWEATHERUNDERGROUNDTOKEN
 Header: ["'User-Agent'", "'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; 
en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3'"], 
Error: HTTP Error 401: Unauthorized
Jun 10 15:39:50 vbar weewxd: w34rt: Failed getting web service data. URL: 
https://api.checkwx.com/metar/EGTK/decoded Header: ['X-API-Key', 
'YOURMETARKEY'], Error: HTTP Error 401: Unauthorized
Jun 10 15:39:51 vbar weewxd: w34rt: Failed getting web service data. URL: 
https://api.forecast.io/forecast/YOURDARKSKYKEY/30.573383,-89.356521?lang=en&units=uk2
 Header: ["'User-Agent'", "'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; 
en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3'"], 
Error: HTTP Error 403: Forbidden
===============================================
# tail /var/log/apache2/access.log
10.0.9.2 - - [10/Jun/2020:15:43:30 -0500] "GET /weewx/weather34/ HTTP/1.1" 500 
186 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:76.0) Gecko/20100101 
Firefox/76.0"
10.0.9.2 - - [10/Jun/2020:15:43:39 -0500] "GET /weewx/weather34/index.php 
HTTP/1.1" 500 186 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:76.0) 
Gecko/20100101 Firefox/76.0"

# tail /var/log/apache2/error.log
[Wed Jun 10 14:41:47.020126 2020] [:error] [pid 2611] [client 10.0.9.2:65026] 
PHP Notice:  Undefined index: mbplatform in 
/var/www/html/weewx/weather34/easyW34skinSetup.php on line 96, referer: 
http://192.168.214.230/weewx/weather34/easyW34skinSetup.php
root@vbar:/var/www/html/weewx/weather34/w34highcharts/scripts#
======================================================

root@vbar:/var/www/html/weewx# ls -l weather34
total 3072
-rwxr-xr-x  1 www-data www-data    3890 Jun  9 22:47 404.html
-rwxr-xr-x  1 www-data www-data   14436 Jun  9 22:47 advisory.php
-rwxr-xr-x  1 www-data www-data    6256 Jun  9 22:47 airqualitymodule.php
-rwxr-xr-x  1 www-data www-data   24307 Jun  9 22:47 aqiinfo.php
-rw-r--r--  1 root     root        4619 Jun 10 15:35 archivedata.php
-rwxr-xr-x  1 www-data www-data   12017 Jun  9 22:47 aurora.php
-rwxr-xr-x  1 www-data www-data   12076 Jun  9 22:47 barometeralmanac.php
-rwxr-xr-x  1 www-data www-data    5323 Jun  9 22:47 barometer.php
-rwxr-xr-x  1 www-data www-data   30182 Jun  9 22:47 bio.php
-rwxr-xr-x  1 www-data www-data       2 Jun  9 22:47 blank.php
-rwxr-xr-x  1 www-data www-data    2720 Jun  9 22:47 cam.php
-rwxr-xr-x  1 www-data www-data    3465 Jun  9 22:47 common.php
-rwxr-xr-x  1 www-data www-data      26 Jun  9 22:47 _config.yml
drwxr-xr-x 11 www-data www-data    4096 Jun  9 22:48 css
-rwxr-xr-x  1 www-data www-data   10666 Jun  9 22:47 currentconditionsw34.php
-rwxr-xr-x  1 www-data www-data    1651 Jun  9 22:47 darkskyalerts.php
-rwxr-xr-x  1 www-data www-data    4285 Jun  9 22:47 davisconsoleoutlook.php
-rwxr-xr-x  1 www-data www-data   12894 Jun  9 22:47 dsuvindex.php
-rwxr-xr-x  1 www-data www-data   12597 Jun  9 22:47 earthquake.php
-rwxr-xr-x  1 www-data www-data  131727 Jun  9 22:47 easyW34skinSetup.php
-rwxr-xr-x  1 www-data www-data   25308 Jun  9 22:47 eqlist.php
-rwxr-xr-x  1 www-data www-data    3823 Jun  9 22:47 eq.php
-rwxr-xr-x  1 www-data www-data   34494 Jun  9 22:47 favicon.ico
-rwxr-xr-x  1 www-data www-data   11265 Jun  9 22:47 forecast3ds.php
-rwxr-xr-x  1 www-data www-data   21822 Jun  9 22:47 forecast3wularge.php
-rwxr-xr-x  1 www-data www-data    9123 Jun  9 22:47 forecast3wu.php
-rwxr-xr-x  1 www-data www-data   17659 Jun  9 22:47 forecastdshour.php
-rwxr-xr-x  1 www-data www-data    6220 Jun  9 22:47 HIGHCHARTS_GUIDE.md
-rwxr-xr-x  1 www-data www-data   27102 Jun  9 22:47 highcharts_index.php
-rwxr-xr-x  1 www-data www-data   55477 Jun  9 22:47 homeindoor.php
drwxr-xr-x  3 www-data www-data    4096 Jun  9 22:48 img
-rwxr-xr-x  1 www-data www-data   28527 Jun 10 09:49 index.php
-rwxr-xr-x  1 www-data www-data    8144 Jun  9 22:47 indoortemperature.php
-rwxr-xr-x  1 www-data www-data    2093 Jun  9 22:47 info.php
-rwxr-xr-x  1 www-data www-data    7226 Jun  9 22:47 INSTALLATION_GUIDE.md
drwxr-xr-x  2 www-data www-data    4096 Jun  9 22:48 js
drwxr-xr-x  2 www-data www-data    4096 Jun 10 11:38 jsondata
drwxr-xr-x  2 www-data www-data    4096 Jun  9 22:48 languages
-rwxr-xr-x  1 www-data www-data    1295 Jun  9 22:47 license.txt
-rwxr-xr-x  1 www-data www-data    2631 Jun  9 22:47 lightning34.php
-rwxr-xr-x  1 www-data www-data     773 Jun  9 22:47 manifest.php
-rwxr-xr-x  1 www-data www-data    6161 Jun  9 22:47 max-mintemp.php
-rwxr-xr-x  1 www-data www-data    1387 Jun  9 22:47 max-minwind.php
-rwxr-xr-x  1 www-data www-data   15467 Jun  9 22:47 menu.php
drwxr-xr-x  2 www-data www-data    4096 Jun  9 22:48 metar
-rwxr-xr-x  1 www-data www-data   12380 Jun  9 22:47 metar34get.php
-rwxr-xr-x  1 www-data www-data   26036 Jun  9 22:47 metarnearby.php
-rwxr-xr-x  1 www-data www-data    1741 Jun  9 22:47 meteoalarm.php
-rwxr-xr-x  1 www-data www-data   21103 Jun  9 22:47 meteoalarmpop.php
-rwxr-xr-x  1 www-data www-data     213 Jun  9 22:47 meteoalarmsettings.php
-rwxr-xr-x  1 www-data www-data   14376 Jun  9 22:47 meteorshowers.php
-rwxr-xr-x  1 www-data www-data   24150 Jun  9 22:47 mooninfo.php
-rwxr-xr-x  1 www-data www-data   12356 Jun  9 22:47 moonphase.php
-rwxr-xr-x  1 www-data www-data   11456 Jun  9 22:47 notify.php
-rwxr-xr-x  1 www-data www-data   18742 Jun  9 22:47 outlookds.php
-rwxr-xr-x  1 www-data www-data  100036 Jun  9 22:47 outlookwu.php
-rwxr-xr-x  1 www-data www-data      20 Jun 10 10:23 phpinfo.php
-rwxr-xr-x  1 www-data www-data   47862 Jun  9 22:47 purpleair.php
-rwxr-xr-x  1 www-data www-data   12657 Jun  9 22:47 rainfallalmanac.php
-rwxr-xr-x  1 www-data www-data     860 Jun  9 22:47 rainfallf-year-month.php
-rwxr-xr-x  1 www-data www-data    3434 Jun  9 22:47 rainfall.php
-rwxr-xr-x  1 www-data www-data       1 Jun  9 22:47 readme.md
-rwxr-xr-x  1 www-data www-data    8471 Jun  9 22:47 README.md
-rwxr-xr-x  1 www-data www-data    4076 Jun  9 22:47 settings1.default.php
-rwxr-xr-x  1 www-data www-data    4095 Jun 10 14:55 settings1.php
-rwxr-xr-x  1 www-data www-data    8242 Jun  9 22:47 settings.php
-rwxr-xr-x  1 www-data www-data  123390 Jun  9 22:47 shared.php
-rwxr-xr-x  1 www-data www-data   12763 Jun  9 22:47 solaralmanac.php
-rwxr-xr-x  1 www-data www-data    4161 Jun  9 22:47 solaruvds.php
-rwxr-xr-x  1 www-data www-data    4889 Jun  9 22:47 solaruvwu.php
-rwxr-xr-x  1 www-data www-data   29744 Jun  9 22:47 stationinfo.php
-rwxr-xr-x  1 www-data www-data   10045 Jun  9 22:47 sun3.php
-rwxr-xr-x  1 www-data www-data    9665 Jun  9 22:47 sun4.php
-rwxr-xr-x  1 www-data www-data     307 Jun  9 22:47 sw.js
-rwxr-xr-x  1 www-data www-data 1059193 Jun  9 22:47 
taylormia_remote_server_setup.pdf
-rwxr-xr-x  1 www-data www-data   57899 Jun  9 22:47 tempalmanac.php
-rwxr-xr-x  1 www-data www-data   20677 Jun  9 22:47 temperaturein.php
-rwxr-xr-x  1 www-data www-data   19102 Jun  9 22:47 temperature.php
-rwxr-xr-x  1 www-data www-data    4460 Jun  9 22:47 temperatureyear.php
-rwxr-xr-x  1 www-data www-data    5320 Jun  9 22:47 todaybarometersmall.php
-rwxr-xr-x  1 www-data www-data    6696 Jun  9 22:47 todayrainfallsmall.php
-rwxr-xr-x  1 www-data www-data    5986 Jun  9 22:47 todaytempsmall.php
-rwxr-xr-x  1 www-data www-data    5372 Jun  9 22:47 todaywindspeedsmall.php
-rwxr-xr-x  1 www-data www-data    1940 Jun  9 22:47 TROUBLESHOOTING.md
-rwxr-xr-x  1 www-data www-data    5954 Jun  9 22:47 updater.php
-rwxr-xr-x  1 www-data www-data    1307 Jun  9 22:47 updatesection.php
-rwxr-xr-x  1 www-data www-data   12981 Jun  9 22:47 uvalmanac.php
-rwxr-xr-x  1 www-data www-data   46607 Jun  9 22:47 uvindexds.php
-rwxr-xr-x  1 www-data www-data   43290 Jun  9 22:47 uvindex.php
-rwxr-xr-x  1 www-data www-data   29068 Jun  9 22:47 uvindexwf.php
-rwxr-xr-x  1 www-data www-data   47089 Jun  9 22:47 uvindexwu.php
-rwxr-xr-x  1 www-data www-data   19976 Jun  9 22:47 uvsolarbri.php
-rwxr-xr-x  1 www-data www-data   18058 Jun  9 22:47 uvsolar.php
-rwxr-xr-x  1 www-data www-data   12280 Jun  9 22:47 w34barometeralmanac.php
-rwxr-xr-x  1 www-data www-data   49137 Jun  9 22:47 w34CombinedData.php
drwxr-xr-x  5 www-data www-data    4096 Jun  9 22:50 w34highcharts
-rwxr-xr-x  1 www-data www-data   12823 Jun  9 22:47 w34rainfallalmanac.php
-rwxr-xr-x  1 www-data www-data     279 Jun 10 15:40 w34realtime.txt
-rwxr-xr-x  1 www-data www-data   12963 Jun  9 22:47 w34solaralmanac.php
-rwxr-xr-x  1 www-data www-data   57971 Jun  9 22:47 w34tempalmanac.php
-rwxr-xr-x  1 www-data www-data   13181 Jun  9 22:47 w34uvalmanac.php
-rwxr-xr-x  1 www-data www-data   27886 Jun  9 22:47 w34windalmanac.php
-rwxr-xr-x  1 www-data www-data    2383 Jun  9 22:47 weather34clock.php
-rwxr-xr-x  1 www-data www-data   19992 Jun  9 22:47 weather34skydata.php
-rwxr-xr-x  1 www-data www-data   32673 Jun  9 22:47 weather34_template_info.php
-rwxr-xr-x  1 www-data www-data    4084 Jun  9 22:47 weather34uvsolar.php
-rwxr-xr-x  1 www-data www-data     450 Jun  9 22:47 weatherflow.php
-rwxr-xr-x  1 www-data www-data    9804 Jun  9 22:47 weatherflowuvsolar.php
-rwxr-xr-x  1 www-data www-data     735 Jun  9 22:47 webcamsmall.php
-rwxr-xr-x  1 www-data www-data    3606 Jun  9 22:47 weewxcron.php
-rwxr-xr-x  1 www-data www-data   13744 Jun  9 22:47 weewx_lookup.php
-rwxr-xr-x  1 www-data www-data    1798 Jun  9 22:47 wflightning.php
-rwxr-xr-x  1 www-data www-data   27676 Jun  9 22:47 windalmanac.php
-rwxr-xr-x  1 www-data www-data    6849 Jun  9 22:47 windgustyear.php
-rwxr-xr-x  1 www-data www-data   13686 Jun  9 22:47 windspeeddirection.php
-rwxr-xr-x  1 www-data www-data    2753 Jun  9 22:47 windyradar.php
-rwxr-xr-x  1 www-data www-data    2755 Jun  9 22:47 windywind.php
-rwxr-xr-x  1 www-data www-data   18716 Jun  9 22:47 wxcharts.php
root@vbar:/var/www/html/weewx#
========================================================

root@vbar:/var/www/html/weewx# cat /var/tmp/weewx.debug
Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 'archive_sqlite'

System info
  Platform:       Linux-4.9.0-8-amd64-x86_64-with-debian-9.3
  Python Version: 2.7.13

Environment
  LANG=en_US.UTF-8
  GOPATH=/home/khays/work
  TERM=xterm
  SSH_CONNECTION=10.0.9.2 65366 192.168.214.230 22
  XDG_RUNTIME_DIR=/run/user/1000
  SHLVL=2
  SSH_TTY=/dev/pts/1
  OLDPWD=/usr/bin
  SSH_CLIENT=10.0.9.2 65366 22
  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  PWD=/usr/share/weewx
  SHELL=/bin/bash
  LOGNAME=root
  USER=root
  MAIL=/var/mail/root
  HOME=/root
  
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
  XDG_SESSION_ID=96
  DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
  _=./wee_debug

Load Information
  1 minute load average:  0.43
  5 minute load average:  0.36
  15 minute load average: 0.33

General Weewx info
  Weewx version 4.1.1 detected.

Station info
  Station type: WLL
  Driver:       user.wll

Driver info
[WLL]
    # This section is for the WeatherLink Live devices.

    # The hostname or ip address of the WeatherLink Live device in the local 
network.
    # For the driver to work, the WeatherLink Live and the computer running 
WeeWX have to be on the same local network.
    # For details on programmatically finding WeatherLink Live devices on the 
local network, see 
https://weatherlink.github.io/weatherlink-live-local-api/discovery.html
    host = 192.168.214.80

    # How often to poll the weather data (in seconds).
    # The interface can support continuous requests as often as every 10 
seconds.
    poll_interval = 10

    # The driver to use:
    driver = user.wll

Currently installed extensions
Extension Name    Version   Description
wll               0.1       Periodically poll weather data from a WeatherLink 
Live device

Archive info
  Database name:        weewx.sdb
  Table name:           archive
  Version               2.0
  Unit system:          1 (US)
  First good timestamp: 2020-06-09 21:45:00 CDT (1591757100)
  Last good timestamp:  2020-06-10 15:10:00 CDT (1591819800)
  Number of records:    200
  weewx (weewx.conf) is set to use an archive interval of 300 seconds.
  The station hardware was not interrogated in determining archive interval.

Databases configured in weewx.conf
  Database name:        weewx.sdb
  Database driver:      weedb.sqlite

  Database name:        weewx
  Database driver:      weedb.mysql
  Database host:        localhost

Supported SQL keys
dateTime                  usUnits                   interval
altimeter                 appTemp                   appTemp1
barometer                 batteryStatus1            batteryStatus2
batteryStatus3            batteryStatus4            batteryStatus5
batteryStatus6            batteryStatus7            batteryStatus8
cloudbase                 co                        co2
consBatteryVoltage        dewpoint                  dewpoint1
ET                        extraHumid1               extraHumid2
extraHumid3               extraHumid4               extraHumid5
extraHumid6               extraHumid7               extraHumid8
extraTemp1                extraTemp2                extraTemp3
extraTemp4                extraTemp5                extraTemp6
extraTemp7                extraTemp8                forecast
hail                      hailBatteryStatus         hailRate
heatindex                 heatindex1                heatingTemp
heatingVoltage            humidex                   humidex1
inDewpoint                inHumidity                inTemp
inTempBatteryStatus       leafTemp1                 leafTemp2
leafWet1                  leafWet2                  lightning_distance
lightning_disturber_count lightning_energy          lightning_noise_count
lightning_strike_count    luminosity                maxSolarRad
nh3                       no2                       noise
o3                        outHumidity               outTemp
outTempBatteryStatus      pb                        pm10_0
pm1_0                     pm2_5                     pressure
radiation                 rain                      rainBatteryStatus
rainRate                  referenceVoltage          rxCheckPercent
signal1                   signal2                   signal3
signal4                   signal5                   signal6
signal7                   signal8                   snow
snowBatteryStatus         snowDepth                 snowMoisture
snowRate                  so2                       soilMoist1
soilMoist2                soilMoist3                soilMoist4
soilTemp1                 soilTemp2                 soilTemp3
soilTemp4                 supplyVoltage             txBatteryStatus
UV                        uvBatteryStatus           windBatteryStatus
windchill                 windDir                   windGust
windGustDir               windrun                   windSpeed

Supported observation keys
altimeter                 appTemp                   appTemp1
barometer                 batteryStatus1            batteryStatus2
batteryStatus3            batteryStatus4            batteryStatus5
batteryStatus6            batteryStatus7            batteryStatus8
cloudbase                 co                        co2
consBatteryVoltage        dewpoint                  dewpoint1
ET                        extraHumid1               extraHumid2
extraHumid3               extraHumid4               extraHumid5
extraHumid6               extraHumid7               extraHumid8
extraTemp1                extraTemp2                extraTemp3
extraTemp4                extraTemp5                extraTemp6
extraTemp7                extraTemp8                forecast
hail                      hailBatteryStatus         hailRate
heatindex                 heatindex1                heatingTemp
heatingVoltage            humidex                   humidex1
inDewpoint                inHumidity                inTemp
inTempBatteryStatus       leafTemp1                 leafTemp2
leafWet1                  leafWet2                  lightning_distance
lightning_disturber_count lightning_energy          lightning_noise_count
lightning_strike_count    luminosity                maxSolarRad
nh3                       no2                       noise
o3                        outHumidity               outTemp
outTempBatteryStatus      pb                        pm10_0
pm1_0                     pm2_5                     pressure
radiation                 rain                      rainBatteryStatus
rainRate                  referenceVoltage          rxCheckPercent
signal1                   signal2                   signal3
signal4                   signal5                   signal6
signal7                   signal8                   snow
snowBatteryStatus         snowDepth                 snowMoisture
snowRate                  so2                       soilMoist1
soilMoist2                soilMoist3                soilMoist4
soilTemp1                 soilTemp2                 soilTemp3
soilTemp4                 supplyVoltage             txBatteryStatus
UV                        uvBatteryStatus           windBatteryStatus
windchill                 windDir                   windGust
windGustDir               windrun                   windSpeed


Parsed and obfuscated weewx.conf
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2019 Tom Keffer <[email protected]>
# See the file LICENSE.txt for your rights.

##############################################################################

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 4.1.1

##############################################################################

#   This section is for information about the station.

[Station]

    # Description of the station location
    location = "Salmen Scout Reservation, MS"

    # Latitude in decimal degrees. Negative for southern hemisphere
    latitude = 30.573383
    # Longitude in decimal degrees. Negative for western hemisphere.
    longitude = 89.356521

    # Altitude of the station, with unit it is in. This is downloaded from
    # from the station if the hardware supports it.
    altitude = 110, foot

    # Set to type of station hardware. There must be a corresponding stanza
    # in this file with a 'driver' parameter indicating the driver to be used.
    station_type = WLL

    # If you have a website, you may specify an URL
    #station_url = http://www.example.com

    # The start of the rain year (1=January; 10=October, etc.). This is
    # downloaded from the station if the hardware supports it.
    rain_year_start = 1

    # Start of week (0=Monday, 6=Sunday)
    week_start = 6

##############################################################################
[WLL]
    # This section is for the WeatherLink Live devices.

    # The hostname or ip address of the WeatherLink Live device in the local 
network.
    # For the driver to work, the WeatherLink Live and the computer running 
WeeWX have to be on the same local network.
    # For details on programmatically finding WeatherLink Live devices on the 
local network, see 
https://weatherlink.github.io/weatherlink-live-local-api/discovery.html
    host = 192.168.214.80

    # How often to poll the weather data (in seconds).
    # The interface can support continuous requests as often as every 10 
seconds.
    poll_interval = 10

    # The driver to use:
    driver = user.wll

[Vantage]
    # This section is for the Davis Vantage series of weather stations.

    # Connection type: serial or ethernet
    #  serial (the classic VantagePro)
    #  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
    type = ethernet

    # If the connection type is serial, a port must be specified:
    #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
    #     /dev/ttyUSB0 is a common USB port name
    #     /dev/ttyS0   is a common serial port name
    #   BSD:
    #     /dev/cuaU0   is a common serial port name
    port = /dev/ttyUSB0

    # If the connection type is ethernet, an IP Address/hostname is required:
    host = 192.168.214.81

    ######################################################
    # The rest of this section rarely needs any attention.
    # You can safely leave it "as is."
    ######################################################

    # Serial baud rate (usually 19200)
    baudrate = 19200

    # TCP port (when using the WeatherLinkIP)
    tcp_port = 22222

    # TCP send delay (when using the WeatherLinkIP):
    tcp_send_delay = 0.5

    # The type of LOOP packet to request: 1 = LOOP1; 2 = LOOP2; 3 = both
    loop_request = 1

    # If the WLL driver fails to load, unless setting this option to 1, WeeWX 
will exit.
    # The driver can fail to load for intermittent reasons, such as a network 
failures.
    loop_on_init = 1

    # The id of your ISS station (usually 1). If you use a wind meter connected
    # to a anemometer transmitter kit, use its id
    iss_id = 1

    # How long to wait for a response from the station before giving up (in
    # seconds; must be greater than 2)
    timeout = 4

    # How long to wait before trying again (in seconds)
    wait_before_retry = 1.2

    # How many times to try before giving up:
    max_tries = 4

    # Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
    model_type = 2

    # The driver to use:
    driver = weewx.drivers.vantage

##############################################################################

#   This section is for uploading data to Internet sites

[StdRESTful]

    [[StationRegistry]]
        # To register this weather station with weewx, set this to true
        register_this_station = false

    [[AWEKAS]]
        # This section is for configuring posts to AWEKAS.

        # If you wish to do this, set the option 'enable' to true,
        # and specify a username and password.
        # To guard against parsing errors, put the password in quotes.
        enable = false
        username = XXX obfuscated by wee_debug XXX
        password = XXX obfuscated by wee_debug XXX

    [[CWOP]]
        # This section is for configuring posts to CWOP.

        # If you wish to do this, set the option 'enable' to true,
        # and specify the station ID (e.g., CW1234).
        enable = false
        station = XXX obfuscated by wee_debug XXX

    # If this is an APRS (radio amateur) station, uncomment
    # the following and replace with a passcode (e.g., 12345).
    #passcode = replace_me (APRS stations only)

    [[PWSweather]]
        # This section is for configuring posts to PWSweather.com.

        # If you wish to do this, set the option 'enable' to true,
        # and specify a station and password.
        # To guard against parsing errors, put the password in quotes.
        enable = false
        station = XXX obfuscated by wee_debug XXX
        password = XXX obfuscated by wee_debug XXX

    [[WOW]]
        # This section is for configuring posts to WOW.

        # If you wish to do this, set the option 'enable' to true,
        # and specify a station and password.
        # To guard against parsing errors, put the password in quotes.
        enable = false
        station = XXX obfuscated by wee_debug XXX
        password = XXX obfuscated by wee_debug XXX

    [[Wunderground]]
        # This section is for configuring posts to the Weather Underground.

        # If you wish to do this, set the option 'enable' to true,
        # and specify a station (e.g., 'KORHOODR3') and password.
        # To guard against parsing errors, put the password in quotes.
        enable = false
        station = XXX obfuscated by wee_debug XXX
        password = XXX obfuscated by wee_debug XXX

        # If you plan on using wunderfixer, set the following
        # to your API key:
        api_key = XXX obfuscated by wee_debug XXX

        # Set the following to True to have weewx use the WU "Rapidfire"
        # protocol. Not all hardware can support it. See the User's Guide.
        rapidfire = False

##############################################################################

#   This section specifies what reports, using which skins, to generate.

[StdReport]

    # Where the skins reside, relative to WEEWX_ROOT
    SKIN_ROOT = /etc/weewx/skins

    # Where the generated reports should go, relative to WEEWX_ROOT
    HTML_ROOT = /var/www/html/weewx

    # The database binding indicates which data should be used in reports.
    data_binding = wx_binding

    # Whether to log a successful operation
    log_success = True

    # Whether to log an unsuccessful operation
    log_failure = False

    # Each of the following subsections defines a report that will be run.
    # See the customizing guide to change the units, plot types and line
    # colors, modify the fonts, display additional sensor data, and other
    # customizations. Many of those changes can be made here by overriding
    # parameters, or by modifying templates within the skin itself.

    [[SeasonsReport]]
        # The SeasonsReport uses the 'Seasons' skin, which contains the
        # images, templates and plots for the report.
        skin = Seasons
        enable = true

    [[SmartphoneReport]]
        # The SmartphoneReport uses the 'Smartphone' skin, and the images and
        # files are placed in a dedicated subdirectory.
        skin = Smartphone
        enable = false
        HTML_ROOT = /var/www/html/weewx/smartphone

    [[MobileReport]]
        # The MobileReport uses the 'Mobile' skin, and the images and files
        # are placed in a dedicated subdirectory.
        skin = Mobile
        enable = false
        HTML_ROOT = /var/www/html/weewx/mobile

    [[StandardReport]]
        # This is the old "Standard" skin. By default, it is not enabled.
        skin = Standard
        enable = false

    [[FTP]]
        # FTP'ing the results to a webserver is treated as just another report,
        # albeit one with an unusual report generator!
        skin = Ftp

        # If you wish to use FTP, set "enable" to "true", then
        # fill out the next four lines.
        # Use quotes around passwords to guard against parsing errors.
        enable = false
        user = XXX obfuscated by wee_debug XXX
        password = XXX obfuscated by wee_debug XXX
        server = replace_me    # The ftp server name, e.g, www.myserver.org
        path = replace_me    # The destination directory, e.g., /weather

        # Set to True for an FTP over TLS (FTPS) connection. Not all servers
        # support this.
        secure_ftp = False

        # To upload files from something other than what HTML_ROOT is set
        # to above, specify a different HTML_ROOT here.
        #HTML_ROOT = /var/www/html/weewx

        # Most FTP servers use port 21
        port = 21

        # Set to 1 to use passive mode, zero for active mode
        passive = 1

    [[RSYNC]]
        # rsync'ing to a webserver is treated as just another report
        skin = Rsync

        # If you wish to use rsync, you must configure passwordless ssh using
        # public/private key authentication from the user account that weewx
        # runs to the user account on the remote machine where the files
        # will be copied.
        #
        # If you wish to use rsync, set "enable" to "true", then
        # fill out server, user, and path.
        # The server should appear in your .ssh/config file.
        # The user is the username used in the identity file.
        # The path is the destination directory, such as /var/www/html/weather.
        # Be sure that the user has write permissions on the destination!
        enable = false
        server = replace_me
        user = XXX obfuscated by wee_debug XXX
        path = replace_me

        # To upload files from something other than what HTML_ROOT is set
        # to above, specify a different HTML_ROOT here.
        #HTML_ROOT = /var/www/html/weewx

        # Rsync can be configured to remove files from the remote server if
        # they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you
        # make a mistake in the remote path, you could could unintentionally
        # cause unrelated files to be deleted. Set to 1 to enable remote file
        # deletion, zero to allow files to accumulate remotely.
        delete = 0

    ####

    # Various options for customizing your reports.

    [[Defaults]]

        [[[Units]]]

            # The following section sets what unit to use for each unit group.
            # NB: The unit is always in the singular. I.e., 'mile_per_hour',
            # NOT 'miles_per_hour'
            [[[[Groups]]]]

                group_altitude = foot    # Options are 'foot' or 'meter'
                group_degree_day = degree_F_day    # Options are 'degree_F_day' 
or 'degree_C_day'
                group_distance = mile    # Options are 'mile' or 'km'
                group_pressure = inHg    # Options are 'inHg', 'mmHg', 'mbar', 
or 'hPa'
                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'

            # The following section sets the formatting for each type of unit.
            [[[[StringFormats]]]]

                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 = %.1f
                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 = %.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"

            # The following section overrides the label used for each type of 
unit
            [[[[Labels]]]]

                meter = " meter", " meters"    # You may prefer "metre".
                day = " day", " days"
                hour = " hour", " hours"
                minute = " minute", " minutes"
                second = " second", " seconds"
                NONE = ""

            # The following section sets the format for each time scale.
            # The values below will work in every locale, but they may not look
            # particularly attractive.
            [[[[TimeFormats]]]]

                hour = %H:%M
                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]]]]

                # Ordinal directions. The last one is for no wind direction
                directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, 
W, WNW, NW, NNW, N/A

            # The following section sets the base temperatures used for the
            #  calculation of heating, cooling, and growing degree-days.
            [[[[DegreeDays]]]]

                # Base temperature for heating days, with unit:
                heating_base = 65, degree_F
                # Base temperature for cooling days, with unit:
                cooling_base = 65, degree_F
                # Base temperature for growing days, with unit:
                growing_base = 50, degree_F

            # A trend takes a difference across a time period. The following
            # section sets the time period, and how big an error is allowed to
            # still be counted as the start or end of a period.
            [[[[Trend]]]]

                time_delta = 10800    # 3 hours
                time_grace = 300    # 5 minutes

        # The labels to be used for each observation type
        [[[Labels]]]

            # Set to hemisphere abbreviations suitable for your location:
            hemispheres = N, S, E, W

            # Formats to be used for latitude whole degrees, longitude whole
            # degrees, and minutes:
            latlon_formats = %02d, %03d, %05.2f

            # Generic labels, keyed by an observation type.
            [[[[Generic]]]]
                barometer = Barometer
                dewpoint = Dew Point
                ET = ET
                heatindex = Heat Index
                inHumidity = Inside Humidity
                inTemp = Inside Temperature
                outHumidity = Humidity
                outTemp = Outside Temperature
                radiation = Radiation
                rain = Rain
                rainRate = Rain Rate
                UV = UV Index
                windDir = Wind Direction
                windGust = Gust Speed
                windGustDir = Gust Direction
                windSpeed = Wind Speed
                windchill = Wind Chill
                windgustvec = Gust Vector
                windvec = Wind Vector
                extraTemp1 = Temperature1
                extraTemp2 = Temperature2
                extraTemp3 = Temperature3

                # Sensor status indicators

                rxCheckPercent = Signal Quality
                txBatteryStatus = Transmitter Battery
                windBatteryStatus = Wind Battery
                rainBatteryStatus = Rain Battery
                outTempBatteryStatus = Outside Temperature Battery
                inTempBatteryStatus = Inside Temperature Battery
                consBatteryVoltage = Console Battery
                heatingVoltage = Heating Battery
                supplyVoltage = Supply Voltage
                referenceVoltage = Reference Voltage

        [[[Almanac]]]

            # The labels to be used for the phases of the moon:
            moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, 
Full, Waning gibbous, Last quarter, Waning crescent
    #
    ############################################################################

    [[Weather34Report]]
        HTML_ROOT = /var/www/html/weewx/weather34/
        skin = Weather34
        [[[Units]]]
            [[[[Groups]]]]
                group_altitude = meter
                group_speed2 = meter_per_second2
                group_pressure = hPa
                group_rain = mm
                group_rainrate = mm_per_hour
                group_temperature = degree_C
                group_degree_day = degree_C_day
                group_speed = meter_per_second
    #
    ############################################################################

    [[w34Highcharts]]
        enable = true
        HTML_ROOT = /var/www/html/weewx/weather34/w34highcharts
        skin = w34Highcharts
        [[[CheetahGenerator]]]
            [[[[ToDate]]]]
                [[[[[YearJSON]]]]]
                    stale_age = 600
        [[[Extras]]]
            [[[[MinRange]]]]
                barometer = 20, hPa
                windchill = 10, degree_C
                UV = 16
                radiation = 500
                rain = 5, mm
                outTemp = 10, degree_C
                windSpeed = 10
            [[[[WindRose]]]]
                bullseye_percent = True
                band_percent = True
                aggregate_type = ""
                petal_colors = aqua, 0x0099FF, 0x0033FF, 0x009900, 0x00CC00, 
0x33FF33, 0xCCFF00
                period = 3600, 86400, 604800, month, year
                bullseye_size = 20
                precision = 1
                petals = 16
                aggregate_interval = ""
                speedfactor = 0.0, 0.1, 0.2, 0.3, 0.5, 0.7, 1.0
                title = Wind Rose
                legend_title = True
                calm_limit = 0.1
                source = windSpeed
                bullseye_color = 0xFFFACD
        [[[Units]]]
            [[[[StringFormats]]]]
                mm_per_hour = %.1f
                mile_per_hour = %.0f
                degree_compass = %.0f
                degree_C = %.1f
                cm = %.2f
                mmHg = %.1f
                meter_per_second = %.1f
                meter = %.0f
                volt = %.1f
                mile_per_hour2 = %.1f
                uv_index = %.1f
                NONE = N/A
                inHg = %.3f
                watt_per_meter_squared = %.0f
                percent = %.0f
                km_per_hour = %.0f
                inch = %.2f
                knot2 = %.1f
                centibar = %.0f
                km_per_hour2 = %.1f
                cm_per_hour = %.2f
                degree_F = %.1f
                knot = %.0f
                foot = %.0f
                hPa = %.1f
                mbar = %.1f
                inch_per_hour = %.2f
                mm = %.1f
                meter_per_second2 = %.1f
            [[[[Labels]]]]
                mm_per_hour = mm/hr
                mile_per_hour = mph
                degree_compass = \u00B0
                degree_C = \u00B0 C
                cm = cm
                mmHg = mmHg
                meter_per_second = m/s
                meter = meters
                volt = V
                mile_per_hour2 = mph
                uv_index = Index
                NONE = ""
                inHg = inHg
                watt_per_meter_squared = W/m\u00B2
                percent = %
                km_per_hour = km/hr
                inch = in
                knot2 = knots
                centibar = cb
                km_per_hour2 = km/hr
                cm_per_hour = cm/hr
                degree_F = \u00B0 F
                knot = knots
                foot = feet
                hPa = hPa
                mbar = mbar
                inch_per_hour = in/hr
                mm = mm
                meter_per_second2 = m/s

##############################################################################

#   This service acts as a filter, converting the unit system coming from
#   the hardware to a unit system in the database.

[StdConvert]

    # The target_unit affects only the unit system in the database. Once
    # chosen it cannot be changed without converting the entire database.
    # Modification of target_unit after starting weewx will result in
    # corrupt data - the database will contain a mix of US and METRIC data.
    #
    # The value of target_unit does not affect the unit system for
    # reporting - reports can display US, Metric, or any combination of units.
    #
    # In most cases, target_unit should be left as the default: US
    #
    # In particular, those migrating from a standard wview installation
    # should use US since that is what the wview database contains.

    # DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
    target_unit = US    # Options are 'US', 'METRICWX', or 'METRIC'

##############################################################################

#   This section can adjust data using calibration expressions.

[StdCalibrate]

    [[Corrections]]
        # For each type, an arbitrary calibration expression can be given.
        # It should be in the units defined in the StdConvert section.
        # Example:
        foo = foo + 0.2

##############################################################################

#   This section is for quality control checks. If units are not specified,
#   values must be in the units defined in the StdConvert section.

[StdQC]

    [[MinMax]]
        barometer = 26, 32.5, inHg
        pressure = 24, 34.5, inHg
        outTemp = -40, 120, degree_F
        inTemp = 10, 120, degree_F
        outHumidity = 0, 100
        inHumidity = 0, 100
        windSpeed = 0, 120, mile_per_hour
        rain = 0, 10, inch

##############################################################################

#   This section controls the origin of derived values.

[StdWXCalculate]

    [[Calculations]]
        # How to calculate derived quantities.  Possible values are:
        #  hardware        - use the value provided by hardware
        #  software        - use the value calculated by weewx
        #  prefer_hardware - use value provide by hardware if available,
        #                      otherwise use value calculated by weewx

        pressure = prefer_hardware
        altimeter = prefer_hardware
        appTemp = prefer_hardware
        barometer = prefer_hardware
        beaufort = prefer_hardware
        cloudbase = prefer_hardware
        dewpoint = prefer_hardware
        ET = prefer_hardware
        heatindex = prefer_hardware
        humidex = prefer_hardware
        inDewpoint = prefer_hardware
        maxSolarRad = prefer_hardware
        rainRate = prefer_hardware
        windchill = prefer_hardware
        windrun = prefer_hardware

##############################################################################

#   For hardware that supports it, this section controls how often the
#   onboard clock gets updated.

[StdTimeSynch]

    # How often to check the weather station clock for drift (in seconds)
    clock_check = 14400

    # How much it can drift before we will correct it (in seconds)
    max_drift = 5

##############################################################################

#   This section is for configuring the archive service.

[StdArchive]

    # If the station hardware supports data logging then the archive interval
    # will be downloaded from the station. Otherwise, specify it (in seconds).
    archive_interval = 300

    # If possible, new archive records are downloaded from the station
    # hardware. If the hardware does not support this, then new archive
    # records will be generated in software.
    # Set the following to "software" to force software record generation.
    record_generation = hardware

    # Whether to include LOOP data in hi/low statistics
    loop_hilo = True

    # The data binding used to save archive records
    data_binding = wx_binding

##############################################################################

#   This section binds a data store to a database.

[DataBindings]

    [[wx_binding]]
        # The database must match one of the sections in [Databases].
        # This is likely to be the only option you would want to change.
        database = archive_sqlite
        # The name of the table within the database
        table_name = archive
        # The manager handles aggregation of data for historical summaries
        manager = weewx.manager.DaySummaryManager
        # The schema defines the structure of the database.
        # It is *only* used when the database is created.
        schema = schemas.wview_extended.schema

##############################################################################

#   This section defines various databases.

[Databases]

    # A SQLite database is simply a single file
    [[archive_sqlite]]
        database_name = weewx.sdb
        database_type = SQLite

    # MySQL
    [[archive_mysql]]
        database_name = weewx
        database_type = MySQL

##############################################################################

#   This section defines defaults for the different types of databases.

[DatabaseTypes]

    # Defaults for SQLite databases
    [[SQLite]]
        driver = weedb.sqlite
        # Directory in which the database files are located
        SQLITE_ROOT = /var/lib/weewx

    # Defaults for MySQL databases
    [[MySQL]]
        driver = weedb.mysql
        # The host where the database is located
        host = localhost
        # The user name for logging in to the host
        user = XXX obfuscated by wee_debug XXX
        # The password for the user name (quotes guard against parsing errors)
        password = XXX obfuscated by wee_debug XXX

##############################################################################

#   This section configures the internal weewx engine.

[Engine]

    [[Services]]
        # This section specifies the services that should be run. They are
        # grouped by type, and the order of services within each group
        # determines the order in which the services will be run.
        prep_services = weewx.engine.StdTimeSynch
        data_services = ,
        process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, 
weewx.engine.StdQC, weewx.wxservices.StdWXCalculate, 
user.weather34.Weather34RealTime
        archive_services = weewx.engine.StdArchive
        restful_services = weewx.restx.StdStationRegistry, 
weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP, 
weewx.restx.StdWOW, weewx.restx.StdAWEKAS
        report_services = weewx.engine.StdPrint, weewx.engine.StdReport
#
################################################################################

[Weather34RemoteWebServer]
    enable = false
    port = 25252
    address = ""
#
################################################################################

[Weather34RealTime]
    cache_enable = True
    exclude_fields = rain
    filename = /var/www/html/weewx/weather34/w34realtime.txt
    unit_system = METRICWX
    cache_stale_time = 900
    cache_directory = /tmp
#
################################################################################

[Weather34WebServices]
    filename = /var/www/html/weewx/weather34/settings1.php

Reply via email to