Advertisement
Guest User

debug

a guest
Dec 1st, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.83 KB | None | 0 0
  1. root@Wee_Wx:~# wee_debug --info
  2. Using verbosity=1, displaying most info
  3.  
  4. wee_debug output will be sent to stdout(console)
  5.  
  6. Using configuration file /etc/weewx/weewx.conf
  7. Using database binding 'wx_binding', which is bound to database 'archive_sqlite'
  8.  
  9. System info
  10. CPU implementer: 0x41
  11. Features: half thumb fastmult vfp edsp java tls
  12. CPU architecture: 7
  13. BogoMIPS: 697.95
  14. Hardware: BCM2708
  15. CPU revision: 7
  16. CPU part: 0xb76
  17. model name: ARMv6-compatible processor rev 7 (v6l)
  18. Serial: 000000006d665b92
  19. processor: 0
  20. CPU variant: 0x0
  21. Revision: 0003
  22.  
  23. Operating system: debian 8.0
  24. Linux Wee_Wx 4.4.34+ #930 Wed Nov 23 15:12:30 GMT 2016 armv6l
  25. 1 minute load average: 0.23
  26. 5 minute load average: 0.30
  27. 15 minute load average: 0.14
  28.  
  29. General weewx info
  30. Weewx version 3.6.2 detected.
  31.  
  32. Station info
  33. Station type: Vantage
  34. Driver: weewx.drivers.vantage
  35.  
  36. Driver info
  37. [Vantage]
  38. # This section is for the Davis Vantage series of weather stations.
  39.  
  40. # Connection type: serial or ethernet
  41. # serial (the classic VantagePro)
  42. # ethernet (the WeatherLinkIP)
  43. type = serial
  44.  
  45. # If the connection type is serial, a port must be specified:
  46. # Debian, Ubuntu, Redhat, Fedora, and SuSE:
  47. # /dev/ttyUSB0 is a common USB port name
  48. # /dev/ttyS0 is a common serial port name
  49. # BSD:
  50. # /dev/cuaU0 is a common serial port name
  51. port = /dev/ttyUSB0
  52.  
  53. # If the connection type is ethernet, an IP Address/hostname is required:
  54. host = 1.2.3.4
  55.  
  56. ######################################################
  57. # The rest of this section rarely needs any attention.
  58. # You can safely leave it "as is."
  59. ######################################################
  60.  
  61. # Serial baud rate (usually 19200)
  62. baudrate = 19200
  63.  
  64. # TCP port (when using the WeatherLinkIP)
  65. tcp_port = 22222
  66.  
  67. # TCP send delay (when using the WeatherLinkIP):
  68. tcp_send_delay = 0.5
  69.  
  70. # The id of your ISS station (usually 1). If you use a wind meter connected
  71. # to a anemometer transmitter kit, use its id
  72. iss_id = 1
  73.  
  74. # How long to wait for a response from the station before giving up (in
  75. # seconds; must be greater than 2)
  76. timeout = 4
  77.  
  78. # How long to wait before trying again (in seconds)
  79. wait_before_retry = 1.2
  80.  
  81. # How many times to try before giving up:
  82. max_tries = 4
  83.  
  84. # The driver to use:
  85. driver = weewx.drivers.vantage
  86.  
  87. Currently installed extensions
  88. No extensions installed
  89.  
  90. Archive info
  91. Database name: weewx.sdb
  92. Table name: archive
  93. Unit system: 1 (US)
  94. First good timestamp: 2016-11-20 21:15:00 AEST (1479640500)
  95. Last good timestamp: 2016-12-02 10:15:00 AEST (1480637700)
  96. Number of records: 3307
  97. weewx (weewx.conf) is set to use an archive interval of 300 seconds.
  98. The station hardware was not interrogated in determining archive interval.
  99.  
  100. Databases configured in weewx.conf
  101. Database name: weewx.sdb
  102. Database driver: weedb.sqlite
  103.  
  104. Database name: weewx
  105. Database driver: weedb.mysql
  106. Database host: localhost
  107.  
  108.  
  109. Parsed and obfuscated weewx.conf
  110. # WEEWX CONFIGURATION FILE
  111. #
  112. # Copyright (c) 2009-2015 Tom Keffer <tkeffer@gmail.com>
  113. # See the file LICENSE.txt for your rights.
  114.  
  115. ##############################################################################
  116.  
  117. # This section is for general configuration information.
  118.  
  119. # Set to 1 for extra debug info, otherwise comment it out or set to zero
  120. debug = 1
  121.  
  122. # Root directory of the weewx data file hierarchy for this station
  123. WEEWX_ROOT = /
  124.  
  125. # How long to wait before timing out a socket (FTP, HTTP) connection
  126. socket_timeout = 20
  127.  
  128. # Do not modify this. It is used when installing and updating weewx.
  129. version = 3.6.2
  130.  
  131. ##############################################################################
  132.  
  133. # This section is for information about the station.
  134.  
  135. [Station]
  136.  
  137. # Description of the station location
  138. location = "Ayr, Parkside, Queensland"
  139.  
  140. # Latitude and longitude in decimal degrees
  141. latitude = -19.576
  142. longitude = 147.422
  143.  
  144. # Altitude of the station, with unit it is in. This is downloaded from
  145. # from the station if the hardware supports it.
  146. altitude = 12, meter
  147.  
  148. # Set to type of station hardware. There must be a corresponding stanza
  149. # in this file with a 'driver' parameter indicating the driver to be used.
  150. station_type = Vantage
  151. # The start of the rain year (1=January; 10=October, etc.). This is
  152. # downloaded from the station if the hardware supports it.
  153. rain_year_start = 1
  154.  
  155. # Start of week (0=Monday, 6=Sunday)
  156. week_start = 1
  157.  
  158. # If you have a website, you may specify an URL
  159. station_url = XXX obfuscated by wee_debug XXX
  160.  
  161. ##############################################################################
  162.  
  163. [Vantage]
  164. # This section is for the Davis Vantage series of weather stations.
  165.  
  166. # Connection type: serial or ethernet
  167. # serial (the classic VantagePro)
  168. # ethernet (the WeatherLinkIP)
  169. type = serial
  170.  
  171. # If the connection type is serial, a port must be specified:
  172. # Debian, Ubuntu, Redhat, Fedora, and SuSE:
  173. # /dev/ttyUSB0 is a common USB port name
  174. # /dev/ttyS0 is a common serial port name
  175. # BSD:
  176. # /dev/cuaU0 is a common serial port name
  177. port = /dev/ttyUSB0
  178.  
  179. # If the connection type is ethernet, an IP Address/hostname is required:
  180. host = 1.2.3.4
  181.  
  182. ######################################################
  183. # The rest of this section rarely needs any attention.
  184. # You can safely leave it "as is."
  185. ######################################################
  186.  
  187. # Serial baud rate (usually 19200)
  188. baudrate = 19200
  189.  
  190. # TCP port (when using the WeatherLinkIP)
  191. tcp_port = 22222
  192.  
  193. # TCP send delay (when using the WeatherLinkIP):
  194. tcp_send_delay = 0.5
  195.  
  196. # The id of your ISS station (usually 1). If you use a wind meter connected
  197. # to a anemometer transmitter kit, use its id
  198. iss_id = 1
  199.  
  200. # How long to wait for a response from the station before giving up (in
  201. # seconds; must be greater than 2)
  202. timeout = 4
  203.  
  204. # How long to wait before trying again (in seconds)
  205. wait_before_retry = 1.2
  206.  
  207. # How many times to try before giving up:
  208. max_tries = 4
  209.  
  210. # The driver to use:
  211. driver = weewx.drivers.vantage
  212.  
  213. ##############################################################################
  214.  
  215. # This section is for uploading data to Internet sites
  216.  
  217. [StdRESTful]
  218.  
  219. [[StationRegistry]]
  220. # To register this weather station with weewx, set this to true
  221. register_this_station = True
  222.  
  223. [[AWEKAS]]
  224. # This section is for configuring posts to AWEKAS.
  225.  
  226. # If you wish to do this, set the option 'enable' to true,
  227. # and specify a username and password.
  228. enable = false
  229. username = XXX obfuscated by wee_debug XXX
  230. password = XXX obfuscated by wee_debug XXX
  231.  
  232. [[CWOP]]
  233. # This section is for configuring posts to CWOP.
  234.  
  235. # If you wish to do this, set the option 'enable' to true,
  236. # and specify the station ID (e.g., CW1234).
  237. enable = false
  238. station = XXX obfuscated by wee_debug XXX
  239.  
  240. # If this is an APRS (radio amateur) station, uncomment
  241. # the following and replace with a passcode (e.g., 12345).
  242. #passcode = replace_me (APRS stations only)
  243.  
  244. [[PWSweather]]
  245. # This section is for configuring posts to PWSweather.com.
  246.  
  247. # If you wish to do this, set the option 'enable' to true,
  248. # and specify a station and password.
  249. enable = false
  250. station = XXX obfuscated by wee_debug XXX
  251. password = XXX obfuscated by wee_debug XXX
  252.  
  253. [[WOW]]
  254. # This section is for configuring posts to WOW.
  255.  
  256. # If you wish to do this, set the option 'enable' to true,
  257. # and specify a station and password.
  258. enable = true
  259. station = XXX obfuscated by wee_debug XXX
  260. password = XXX obfuscated by wee_debug XXX
  261.  
  262. [[Wunderground]]
  263. # This section is for configuring posts to the Weather Underground.
  264.  
  265. # If you wish to do this, set the option 'enable' to true,
  266. # and specify a station (e.g., 'KORHOODR3') and password.
  267. enable = true
  268. station = XXX obfuscated by wee_debug XXX
  269. password = XXX obfuscated by wee_debug XXX
  270.  
  271. # Set the following to True to have weewx use the WU "Rapidfire"
  272. # protocol. Not all hardware can support it. See the User's Guide.
  273. rapidfire = True
  274.  
  275.  
  276.  
  277.  
  278.  
  279. ##############################################################################
  280.  
  281. # This section specifies what reports, using which skins, to generate.
  282.  
  283. [StdReport]
  284.  
  285. # Where the skins reside, relative to WEEWX_ROOT
  286. SKIN_ROOT = /etc/weewx/skins
  287.  
  288. # Where the generated reports should go, relative to WEEWX_ROOT
  289. HTML_ROOT = /var/www/html/weewx
  290.  
  291. # The database binding indicates which data should be used in reports.
  292. data_binding = wx_binding
  293.  
  294. # Each of the following subsections defines a report that will be run.
  295.  
  296. [[StandardReport]]
  297. # See the customizing guide to change the units, plot types and line
  298. # colors, modify the fonts, display additional sensor data, and other
  299. # customizations. Many of those changes can be made here by overriding
  300. # parameters, or by modifying templates within the skin itself.
  301.  
  302. # The StandardReport uses the 'Standard' skin, which contains the
  303. # images, templates and plots for the report.
  304. skin = Standard
  305. [[[Units]]]
  306. [[[[Groups]]]]
  307. group_altitude = meter
  308. group_speed2 = meter_per_second2
  309. group_pressure = mbar
  310. group_rain = mm
  311. group_rainrate = mm_per_hour
  312. group_temperature = degree_C
  313. group_degree_day = degree_C_day
  314. group_speed = meter_per_second
  315.  
  316. [[FTP]]
  317. # FTP'ing the results to a webserver is treated as just another report,
  318. # albeit one with an unusual report generator!
  319. skin = Ftp
  320.  
  321. # Set to True for an FTP over TLS (FTPS) connection. Not all servers
  322. # support this.
  323. secure_ftp = true
  324.  
  325. # Most FTP servers use port 21
  326. port = 21
  327.  
  328. # Set to 1 to use passive mode, zero for active mode
  329. passive = 1
  330.  
  331. # If you wish to use FTP, uncomment and fill out the next four lines.
  332. user = XXX obfuscated by wee_debug XXX
  333. password = XXX obfuscated by wee_debug XXX
  334. server = ftp.martymandy.com
  335. path = /
  336.  
  337. # To upload files from something other than what HTML_ROOT is set
  338. # to above, specify a different HTML_ROOT here.
  339. HTML_ROOT = /var/www/html/weewx
  340.  
  341. [[RSYNC]]
  342. # rsync'ing to a webserver is treated as just another report
  343. skin = Rsync
  344.  
  345. # If you wish to use rsync, you must configure passwordless ssh using
  346. # public/private key authentication from the user account that weewx
  347. # runs as to the user account on the remote machine where the files
  348. # will be copied.
  349. #
  350. # The following three lines determine where files will be sent.
  351. #server = replace with the rsync server name, e.g, www.threefools.org
  352. #path = replace with the rsync destination directory (e.g., /weather)
  353. #user = replace with the rsync username
  354.  
  355. # Rsync can be configured to remove files from the remote server if
  356. # they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you
  357. # make a mistake in the remote path, you could could unintentionally
  358. # cause unrelated files to be deleted. Set to 1 to enable remote file
  359. # deletion, zero to allow files to accumulate remotely.
  360. delete = 0
  361.  
  362. ##############################################################################
  363.  
  364. # This service acts as a filter, converting the unit system coming from
  365. # the hardware to a unit system in the database.
  366.  
  367. [StdConvert]
  368.  
  369. # The target_unit affects only the unit system in the database. Once
  370. # chosen it cannot be changed without converting the entire database.
  371. # Modification of target_unit after starting weewx will result in
  372. # corrupt data - the database will contain a mix of US and METRIC data.
  373. #
  374. # The value of target_unit does not affect the unit system for
  375. # reporting - reports can display US, Metric, or any combination of units.
  376. #
  377. # In most cases, target_unit should be left as the default: US
  378. #
  379. # In particular, those migrating from a standard wview installation
  380. # should use US since that is what the wview database contains.
  381.  
  382. # DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
  383. target_unit = US # Options are 'US', 'METRICWX', or 'METRIC'
  384.  
  385. ##############################################################################
  386.  
  387. # This section can adjust data using calibration expressions.
  388.  
  389. [StdCalibrate]
  390.  
  391. [[Corrections]]
  392. # For each type, an arbitrary calibration expression can be given.
  393. # It should be in the units defined in the StdConvert section.
  394. # Example:
  395. foo = foo + 0.2
  396.  
  397. ##############################################################################
  398.  
  399. # This section is for quality control checks. If units are not specified,
  400. # values must be in the units defined in the StdConvert section.
  401.  
  402. [StdQC]
  403.  
  404. [[MinMax]]
  405. barometer = 26, 32.5, inHg
  406. outTemp = -40, 120, degree_F
  407. inTemp = 10, 120, degree_F
  408. outHumidity = 0, 100
  409. inHumidity = 0, 100
  410. windSpeed = 0, 120, mile_per_hour
  411. pressure = 24, 34.5, inHg
  412.  
  413. ##############################################################################
  414.  
  415. # This section controls the origin of derived values.
  416.  
  417. [StdWXCalculate]
  418.  
  419. [[Calculations]]
  420. # Derived quantities are calculated by this service. Possible values are:
  421. # hardware - use the value provided by hardware
  422. # software - use the value calculated by weewx
  423. # prefer_hardware - use value provide by hardware if available,
  424. # otherwise use value calculated by weewx
  425.  
  426. pressure = prefer_hardware
  427. barometer = prefer_hardware
  428. altimeter = prefer_hardware
  429. windchill = prefer_hardware
  430. heatindex = prefer_hardware
  431. dewpoint = prefer_hardware
  432. inDewpoint = prefer_hardware
  433. rainRate = prefer_hardware
  434.  
  435. ##############################################################################
  436.  
  437. # For hardware that supports it, this section controls how often the
  438. # onboard clock gets updated.
  439.  
  440. [StdTimeSynch]
  441.  
  442. # How often to check the weather station clock for drift (in seconds)
  443. clock_check = 14400
  444.  
  445. # How much it can drift before we will correct it (in seconds)
  446. max_drift = 5
  447.  
  448. ##############################################################################
  449.  
  450. # This section is for configuring the archive service.
  451.  
  452. [StdArchive]
  453.  
  454. # If the station hardware supports data logging then the archive interval
  455. # will be downloaded from the station. Otherwise, specify it (in seconds).
  456. archive_interval = 300
  457.  
  458. # How long to wait (in seconds) before processing new archive data. Must
  459. # be greater than zero.
  460. archive_delay = 15
  461.  
  462. # If possible, new archive records are downloaded from the station
  463. # hardware. If the hardware does not support this, then new archive
  464. # records will be generated in software.
  465. # Set the following to "software" to force software record generation.
  466. record_generation = hardware
  467.  
  468. # Whether to include LOOP data in hi/low statistics
  469. loop_hilo = True
  470.  
  471. # The data binding used to save archive records
  472. data_binding = wx_binding
  473.  
  474. ##############################################################################
  475.  
  476. # This section binds a data store to a database.
  477.  
  478. [DataBindings]
  479.  
  480. [[wx_binding]]
  481. # The database must match one of the sections in [Databases].
  482. # This is likely to be the only option you would want to change.
  483. database = archive_sqlite
  484. # The name of the table within the database
  485. table_name = archive
  486. # The manager handles aggregation of data for historical summaries
  487. manager = weewx.wxmanager.WXDaySummaryManager
  488. # The schema defines the structure of the database.
  489. # It is *only* used when the database is created.
  490. schema = schemas.wview.schema
  491.  
  492. ##############################################################################
  493.  
  494. # This section defines various databases.
  495.  
  496. [Databases]
  497.  
  498. # A SQLite database is simply a single file
  499. [[archive_sqlite]]
  500. database_type = SQLite
  501. database_name = weewx.sdb
  502.  
  503. # MySQL
  504. [[archive_mysql]]
  505. database_type = MySQL
  506. database_name = weewx
  507.  
  508. ##############################################################################
  509.  
  510. # This section defines defaults for the different types of databases.
  511.  
  512. [DatabaseTypes]
  513.  
  514. # Defaults for SQLite databases
  515. [[SQLite]]
  516. driver = weedb.sqlite
  517. # Directory in which the database files are located
  518. SQLITE_ROOT = /var/lib/weewx
  519.  
  520. # Defaults for MySQL databases
  521. [[MySQL]]
  522. driver = weedb.mysql
  523. # The host where the database is located
  524. host = localhost
  525. # The user name for logging in to the host
  526. user = XXX obfuscated by wee_debug XXX
  527. # The password for the user name
  528. password = XXX obfuscated by wee_debug XXX
  529.  
  530. ##############################################################################
  531.  
  532. # This section configures the internal weewx engine.
  533.  
  534. [Engine]
  535.  
  536. [[Services]]
  537. # This section specifies the services that should be run. They are
  538. # grouped by type, and the order of services within each group
  539. # determines the order in which the services will be run.
  540. prep_services = weewx.engine.StdTimeSynch
  541. data_services = ,
  542. process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
  543. archive_services = weewx.engine.StdArchive
  544. restful_services = weewx.restx.StdStationRegistry, weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS
  545. report_services = weewx.engine.StdPrint, weewx.engine.StdReport
  546.  
  547. wee_debug report successfully generated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement