Advertisement
martymoose

debug and syslog

Dec 5th, 2016
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.05 KB | None | 0 0
  1.  
  2. Dec 6 02:16:01 raspberrypi kernel: [ 15.517427] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:217084k SSFS
  3. Dec 6 02:16:03 raspberrypi kernel: [ 16.897754] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
  4. Dec 6 02:16:03 raspberrypi kernel: [ 16.903340] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
  5. Dec 6 02:16:03 raspberrypi weewx[411]: engine: Initializing weewx version 3.6.2
  6. Dec 6 02:16:03 raspberrypi weewx[411]: engine: Using Python 2.7.9 (default, Sep 17 2016, 20:26:04) #012[GCC 4.9.2]
  7. Dec 6 02:16:03 raspberrypi weewx[411]: engine: Platform Linux-4.4.36+-armv6l-with-debian-8.0
  8. Dec 6 02:16:03 raspberrypi weewx[411]: engine: pid file is /var/run/weewx.pid
  9. Dec 6 02:16:04 raspberrypi weewx[472]: engine: Using configuration file /etc/weewx/weewx.conf
  10. Dec 6 02:16:04 raspberrypi weewx[472]: engine: Loading station type Vantage (weewx.drivers.vantage)
  11. Dec 6 02:16:04 raspberrypi kernel: [ 18.137402] random: nonblocking pool is initialized
  12. Dec 6 02:16:04 raspberrypi weewx[472]: engine: StdConvert target unit is 0x1
  13. Dec 6 02:16:04 raspberrypi weewx[472]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
  14. Dec 6 02:16:04 raspberrypi weewx[472]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
  15. Dec 6 02:16:04 raspberrypi weewx[472]: engine: Archive will use data binding wx_binding
  16. Dec 6 02:16:04 raspberrypi weewx[472]: engine: Record generation will be attempted in 'hardware'
  17. Dec 6 02:16:04 raspberrypi weewx[472]: engine: Using archive interval of 300 seconds (specified by hardware)
  18. Dec 6 02:16:04 raspberrypi kernel: [ 18.422855] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
  19. Dec 6 02:16:04 raspberrypi kernel: [ 18.439297] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  20. Dec 6 02:16:04 raspberrypi weewx[472]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
  21. Dec 6 02:16:04 raspberrypi weewx[472]: manager: Starting backfill of daily summaries
  22. Dec 6 02:16:04 raspberrypi weewx[472]: manager: Daily summaries up to date
  23. Dec 6 02:16:05 raspberrypi weewx[472]: restx: StationRegistry: Station will not be registered: no station_url specified.
  24. Dec 6 02:16:05 raspberrypi weewx[472]: restx: Wunderground-RF: Data for station IQLDAYR2 will be posted
  25. Dec 6 02:16:05 raspberrypi weewx[472]: restx: PWSweather: Posting not enabled.
  26. Dec 6 02:16:05 raspberrypi weewx[472]: restx: CWOP: Posting not enabled.
  27. Dec 6 02:16:05 raspberrypi weewx[472]: restx: WOW: Posting not enabled.
  28. Dec 6 02:16:05 raspberrypi weewx[472]: restx: AWEKAS: Posting not enabled.
  29. Dec 6 02:16:05 raspberrypi weewx[472]: engine: Starting up weewx version 3.6.2
  30. Dec 6 02:16:05 raspberrypi weewx[472]: engine: Clock error is 10.64 seconds (positive is fast)
  31. Dec 6 02:16:05 raspberrypi weewx[472]: vantage: Clock set to 2016-12-06 02:16:06 GMT-1 (1480986966)
  32. Dec 6 02:16:06 raspberrypi weewx[472]: engine: Starting main packet loop.
  33. Dec 6 02:16:12 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:12 GMT-1 (1480986972)
  34. Dec 6 02:16:14 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:14 GMT-1 (1480986974)
  35. Dec 6 02:16:16 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:16 GMT-1 (1480986976)
  36. Dec 6 02:16:18 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:18 GMT-1 (1480986978)
  37. Dec 6 02:16:29 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:29 GMT-1 (1480986989)
  38. Dec 6 02:16:31 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:31 GMT-1 (1480986991)
  39. Dec 6 02:16:33 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:34 GMT-1 (1480986994)
  40. Dec 6 02:16:38 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:35 GMT-1 (1480986995)
  41. Dec 6 02:16:39 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:37 GMT-1 (1480986997)
  42. Dec 6 02:16:39 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:39 GMT-1 (1480986999)
  43. Dec 6 02:16:41 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:41 GMT-1 (1480987001)
  44. Dec 6 02:16:44 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:43 GMT-1 (1480987003)
  45. Dec 6 02:16:45 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:45 GMT-1 (1480987005)
  46. Dec 6 02:16:47 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:47 GMT-1 (1480987007)
  47. Dec 6 02:16:49 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:49 GMT-1 (1480987009)
  48. Dec 6 02:16:51 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:51 GMT-1 (1480987011)
  49. Dec 6 02:16:53 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:53 GMT-1 (1480987013)
  50. Dec 6 02:16:55 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:55 GMT-1 (1480987015)
  51. Dec 6 02:16:57 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:57 GMT-1 (1480987017)
  52. Dec 6 02:16:57 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Dec 6 02:17:27 2016 [try http://www.rsyslog.com/e/2007 ]
  53. Dec 6 02:17:02 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:16:59 GMT-1 (1480987019)
  54. Dec 6 02:17:03 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:01 GMT-1 (1480987021)
  55. Dec 6 02:17:03 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:03 GMT-1 (1480987023)
  56. Dec 6 02:17:05 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:05 GMT-1 (1480987025)
  57. Dec 6 02:17:07 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:07 GMT-1 (1480987027)
  58. Dec 6 02:17:09 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:09 GMT-1 (1480987029)
  59. Dec 6 02:17:11 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:11 GMT-1 (1480987031)
  60. Dec 6 02:17:13 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:13 GMT-1 (1480987033)
  61. Dec 6 02:17:15 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:15 GMT-1 (1480987035)
  62. Dec 6 02:17:17 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:17 GMT-1 (1480987037)
  63. Dec 6 02:17:19 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:19 GMT-1 (1480987039)
  64. Dec 6 02:17:21 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:21 GMT-1 (1480987041)
  65. Dec 6 02:17:23 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:23 GMT-1 (1480987043)
  66. Dec 6 02:17:25 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:25 GMT-1 (1480987045)
  67. Dec 6 02:17:27 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Dec 6 02:17:57 2016 [try http://www.rsyslog.com/e/2007 ]
  68. Dec 6 02:17:27 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:27 GMT-1 (1480987047)
  69. Dec 6 02:17:29 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:29 GMT-1 (1480987049)
  70. Dec 6 02:17:31 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:31 GMT-1 (1480987051)
  71. Dec 6 02:17:33 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:33 GMT-1 (1480987053)
  72. Dec 6 02:17:35 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:35 GMT-1 (1480987055)
  73. Dec 6 02:17:37 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:37 GMT-1 (1480987057)
  74. Dec 6 02:17:39 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:39 GMT-1 (1480987059)
  75. Dec 6 02:17:41 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:41 GMT-1 (1480987061)
  76. Dec 6 02:17:43 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:43 GMT-1 (1480987063)
  77. Dec 6 02:17:45 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:45 GMT-1 (1480987065)
  78. Dec 6 02:17:47 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:47 GMT-1 (1480987067)
  79. Dec 6 02:17:49 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:49 GMT-1 (1480987069)
  80. Dec 6 02:17:51 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:51 GMT-1 (1480987071)
  81. Dec 6 02:17:53 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:53 GMT-1 (1480987073)
  82. Dec 6 02:17:56 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:56 GMT-1 (1480987076)
  83. Dec 6 02:17:57 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Dec 6 02:18:27 2016 [try http://www.rsyslog.com/e/2007 ]
  84. Dec 6 02:17:57 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:57 GMT-1 (1480987077)
  85. Dec 6 02:17:59 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:17:59 GMT-1 (1480987079)
  86. Dec 6 02:18:01 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:01 GMT-1 (1480987081)
  87. Dec 6 02:18:03 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:03 GMT-1 (1480987083)
  88. Dec 6 02:18:05 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:05 GMT-1 (1480987085)
  89. Dec 6 02:18:07 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:07 GMT-1 (1480987087)
  90. Dec 6 02:18:09 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:09 GMT-1 (1480987089)
  91. Dec 6 02:18:11 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:11 GMT-1 (1480987091)
  92. Dec 6 02:18:14 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:13 GMT-1 (1480987093)
  93. Dec 6 02:18:15 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:15 GMT-1 (1480987095)
  94. Dec 6 02:18:17 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:17 GMT-1 (1480987097)
  95. Dec 6 02:18:19 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:19 GMT-1 (1480987099)
  96. Dec 6 02:18:21 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:21 GMT-1 (1480987101)
  97. Dec 6 02:18:23 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:23 GMT-1 (1480987103)
  98. Dec 6 02:18:25 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:25 GMT-1 (1480987105)
  99. Dec 6 02:18:27 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Dec 6 02:18:57 2016 [try http://www.rsyslog.com/e/2007 ]
  100. Dec 6 02:18:27 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:27 GMT-1 (1480987107)
  101. Dec 6 02:18:29 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:29 GMT-1 (1480987109)
  102. Dec 6 02:18:31 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:31 GMT-1 (1480987111)
  103. Dec 6 02:18:33 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:33 GMT-1 (1480987113)
  104. Dec 6 02:18:35 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:35 GMT-1 (1480987115)
  105. Dec 6 02:18:37 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:37 GMT-1 (1480987117)
  106. Dec 6 02:18:39 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:39 GMT-1 (1480987119)
  107. Dec 6 02:18:41 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:41 GMT-1 (1480987121)
  108. Dec 6 02:18:43 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:43 GMT-1 (1480987123)
  109. Dec 6 02:18:45 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:45 GMT-1 (1480987125)
  110. Dec 6 02:18:47 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:47 GMT-1 (1480987127)
  111. Dec 6 02:18:49 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:49 GMT-1 (1480987129)
  112. Dec 6 02:18:51 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:51 GMT-1 (1480987131)
  113. Dec 6 02:18:53 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:53 GMT-1 (1480987133)
  114. Dec 6 02:18:55 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:55 GMT-1 (1480987135)
  115. Dec 6 02:18:57 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue Dec 6 02:19:27 2016 [try http://www.rsyslog.com/e/2007 ]
  116. Dec 6 02:18:57 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:57 GMT-1 (1480987137)
  117. Dec 6 02:18:59 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:18:59 GMT-1 (1480987139)
  118. Dec 6 02:19:01 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:19:01 GMT-1 (1480987141)
  119. Dec 6 02:19:03 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:19:03 GMT-1 (1480987143)
  120. Dec 6 02:19:05 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:19:05 GMT-1 (1480987145)
  121. Dec 6 02:19:07 raspberrypi weewx[472]: restx: Wunderground-RF: Published record 2016-12-06 02:19:07 GMT-1 (1480987147)
  122.  
  123.  
  124.  
  125. #####################################################################################################################################
  126. pi@raspberrypi:~ $ wee_debug --info
  127. Using verbosity=1, displaying most info
  128.  
  129. wee_debug output will be sent to stdout(console)
  130.  
  131. Using configuration file /etc/weewx/weewx.conf
  132. Using database binding 'wx_binding', which is bound to database 'archive_sqlite'
  133.  
  134. System info
  135. CPU implementer: 0x41
  136. Features: half thumb fastmult vfp edsp java tls
  137. CPU architecture: 7
  138. BogoMIPS: 697.95
  139. Hardware: BCM2708
  140. CPU revision: 7
  141. CPU part: 0xb76
  142. model name: ARMv6-compatible processor rev 7 (v6l)
  143. Serial: 000000006d665b92
  144. processor: 0
  145. CPU variant: 0x0
  146. Revision: 0003
  147.  
  148. Operating system: debian 8.0
  149. Linux raspberrypi 4.4.36+ #933 Fri Dec 2 21:57:25 GMT 2016 armv6l
  150. 1 minute load average: 0.97
  151. 5 minute load average: 0.41
  152. 15 minute load average: 0.15
  153.  
  154. General weewx info
  155. Weewx version 3.6.2 detected.
  156.  
  157. Station info
  158. Station type: Vantage
  159. Driver: weewx.drivers.vantage
  160.  
  161. Driver info
  162. [Vantage]
  163. # This section is for the Davis Vantage series of weather stations.
  164.  
  165. # Connection type: serial or ethernet
  166. # serial (the classic VantagePro)
  167. # ethernet (the WeatherLinkIP)
  168. type = serial
  169.  
  170. # If the connection type is serial, a port must be specified:
  171. # Debian, Ubuntu, Redhat, Fedora, and SuSE:
  172. # /dev/ttyUSB0 is a common USB port name
  173. # /dev/ttyS0 is a common serial port name
  174. # BSD:
  175. # /dev/cuaU0 is a common serial port name
  176. port = /dev/ttyUSB0
  177.  
  178. # If the connection type is ethernet, an IP Address/hostname is required:
  179. host = 1.2.3.4
  180.  
  181. ######################################################
  182. # The rest of this section rarely needs any attention.
  183. # You can safely leave it "as is."
  184. ######################################################
  185.  
  186. # Serial baud rate (usually 19200)
  187. baudrate = 19200
  188.  
  189. # TCP port (when using the WeatherLinkIP)
  190. tcp_port = 22222
  191.  
  192. # TCP send delay (when using the WeatherLinkIP):
  193. tcp_send_delay = 0.5
  194.  
  195. # The id of your ISS station (usually 1). If you use a wind meter connected
  196. # to a anemometer transmitter kit, use its id
  197. iss_id = 1
  198.  
  199. # How long to wait for a response from the station before giving up (in
  200. # seconds; must be greater than 2)
  201. timeout = 4
  202.  
  203. # How long to wait before trying again (in seconds)
  204. wait_before_retry = 1.2
  205.  
  206. # How many times to try before giving up:
  207. max_tries = 4
  208.  
  209. # The driver to use:
  210. driver = weewx.drivers.vantage
  211.  
  212. Currently installed extensions
  213. No extensions installed
  214.  
  215. Archive info
  216. Database name: weewx.sdb
  217. Table name: archive
  218. Unit system: 1 (US)
  219. First good timestamp: 2016-11-24 17:05:00 GMT-1 (1480003500)
  220. Last good timestamp: 2016-12-06 02:15:00 GMT-1 (1480986900)
  221. Number of records: 3230
  222. weewx (weewx.conf) is set to use an archive interval of 300 seconds.
  223. The station hardware was not interrogated in determining archive interval.
  224.  
  225. Databases configured in weewx.conf
  226. Database name: weewx.sdb
  227. Database driver: weedb.sqlite
  228.  
  229. Database name: weewx
  230. Database driver: weedb.mysql
  231. Database host: localhost
  232.  
  233.  
  234. Parsed and obfuscated weewx.conf
  235. # WEEWX CONFIGURATION FILE
  236. #
  237. # Copyright (c) 2009-2015 Tom Keffer <tkeffer@gmail.com>
  238. # See the file LICENSE.txt for your rights.
  239.  
  240. ##############################################################################
  241.  
  242. # This section is for general configuration information.
  243.  
  244. # Set to 1 for extra debug info, otherwise comment it out or set to zero
  245. debug = 2
  246.  
  247. # Root directory of the weewx data file hierarchy for this station
  248. WEEWX_ROOT = /
  249.  
  250. # How long to wait before timing out a socket (FTP, HTTP) connection
  251. socket_timeout = 20
  252.  
  253. # Do not modify this. It is used when installing and updating weewx.
  254. version = 3.6.2
  255.  
  256. ##############################################################################
  257.  
  258. # This section is for information about the station.
  259.  
  260. [Station]
  261.  
  262. # Description of the station location
  263. location = "Ayr, Parkside, Queensland"
  264.  
  265. # Latitude and longitude in decimal degrees
  266. latitude = -19.576
  267. longitude = 147.422
  268.  
  269. # Altitude of the station, with unit it is in. This is downloaded from
  270. # from the station if the hardware supports it.
  271. altitude = 12, meter
  272.  
  273. # Set to type of station hardware. There must be a corresponding stanza
  274. # in this file with a 'driver' parameter indicating the driver to be used.
  275. station_type = Vantage
  276.  
  277. # If you have a website, you may specify an URL
  278. #station_url = http://www.example.com
  279.  
  280. # The start of the rain year (1=January; 10=October, etc.). This is
  281. # downloaded from the station if the hardware supports it.
  282. rain_year_start = 1
  283.  
  284. # Start of week (0=Monday, 6=Sunday)
  285. week_start = 0
  286.  
  287. ##############################################################################
  288.  
  289. [Vantage]
  290. # This section is for the Davis Vantage series of weather stations.
  291.  
  292. # Connection type: serial or ethernet
  293. # serial (the classic VantagePro)
  294. # ethernet (the WeatherLinkIP)
  295. type = serial
  296.  
  297. # If the connection type is serial, a port must be specified:
  298. # Debian, Ubuntu, Redhat, Fedora, and SuSE:
  299. # /dev/ttyUSB0 is a common USB port name
  300. # /dev/ttyS0 is a common serial port name
  301. # BSD:
  302. # /dev/cuaU0 is a common serial port name
  303. port = /dev/ttyUSB0
  304.  
  305. # If the connection type is ethernet, an IP Address/hostname is required:
  306. host = 1.2.3.4
  307.  
  308. ######################################################
  309. # The rest of this section rarely needs any attention.
  310. # You can safely leave it "as is."
  311. ######################################################
  312.  
  313. # Serial baud rate (usually 19200)
  314. baudrate = 19200
  315.  
  316. # TCP port (when using the WeatherLinkIP)
  317. tcp_port = 22222
  318.  
  319. # TCP send delay (when using the WeatherLinkIP):
  320. tcp_send_delay = 0.5
  321.  
  322. # The id of your ISS station (usually 1). If you use a wind meter connected
  323. # to a anemometer transmitter kit, use its id
  324. iss_id = 1
  325.  
  326. # How long to wait for a response from the station before giving up (in
  327. # seconds; must be greater than 2)
  328. timeout = 4
  329.  
  330. # How long to wait before trying again (in seconds)
  331. wait_before_retry = 1.2
  332.  
  333. # How many times to try before giving up:
  334. max_tries = 4
  335.  
  336. # The driver to use:
  337. driver = weewx.drivers.vantage
  338.  
  339. ##############################################################################
  340.  
  341. # This section is for uploading data to Internet sites
  342.  
  343. [StdRESTful]
  344.  
  345. [[StationRegistry]]
  346. # To register this weather station with weewx, set this to true
  347. register_this_station = true
  348.  
  349. [[AWEKAS]]
  350. # This section is for configuring posts to AWEKAS.
  351.  
  352. # If you wish to do this, set the option 'enable' to true,
  353. # and specify a username and password.
  354. enable = false
  355. username = XXX obfuscated by wee_debug XXX
  356. password = XXX obfuscated by wee_debug XXX
  357.  
  358. [[CWOP]]
  359. # This section is for configuring posts to CWOP.
  360.  
  361. # If you wish to do this, set the option 'enable' to true,
  362. # and specify the station ID (e.g., CW1234).
  363. enable = false
  364. station = XXX obfuscated by wee_debug XXX
  365.  
  366. # If this is an APRS (radio amateur) station, uncomment
  367. # the following and replace with a passcode (e.g., 12345).
  368. #passcode = replace_me (APRS stations only)
  369.  
  370. [[PWSweather]]
  371. # This section is for configuring posts to PWSweather.com.
  372.  
  373. # If you wish to do this, set the option 'enable' to true,
  374. # and specify a station and password.
  375. enable = false
  376. station = XXX obfuscated by wee_debug XXX
  377. password = XXX obfuscated by wee_debug XXX
  378.  
  379. [[WOW]]
  380. # This section is for configuring posts to WOW.
  381.  
  382. # If you wish to do this, set the option 'enable' to true,
  383. # and specify a station and password.
  384. enable = false
  385. station = XXX obfuscated by wee_debug XXX
  386. password = XXX obfuscated by wee_debug XXX
  387.  
  388. [[Wunderground]]
  389. # This section is for configuring posts to the Weather Underground.
  390.  
  391. # If you wish to do this, set the option 'enable' to true,
  392. # and specify a station (e.g., 'KORHOODR3') and password.
  393. enable = true
  394. station = XXX obfuscated by wee_debug XXX
  395. password = XXX obfuscated by wee_debug XXX
  396.  
  397. # Set the following to True to have weewx use the WU "Rapidfire"
  398. # protocol. Not all hardware can support it. See the User's Guide.
  399. rapidfire = True
  400. log_success = True
  401. log_failure = True
  402. ##############################################################################
  403.  
  404. # This section specifies what reports, using which skins, to generate.
  405.  
  406. [StdReport]
  407.  
  408. # Where the skins reside, relative to WEEWX_ROOT
  409. SKIN_ROOT = /etc/weewx/skins
  410.  
  411. # Where the generated reports should go, relative to WEEWX_ROOT
  412. HTML_ROOT = /var/www/html/weewx
  413.  
  414. # The database binding indicates which data should be used in reports.
  415. data_binding = wx_binding
  416.  
  417. # Each of the following subsections defines a report that will be run.
  418.  
  419. [[StandardReport]]
  420. # See the customizing guide to change the units, plot types and line
  421. # colors, modify the fonts, display additional sensor data, and other
  422. # customizations. Many of those changes can be made here by overriding
  423. # parameters, or by modifying templates within the skin itself.
  424.  
  425. # The StandardReport uses the 'Standard' skin, which contains the
  426. # images, templates and plots for the report.
  427. skin = Standard
  428. [[[Units]]]
  429. [[[[Groups]]]]
  430. group_altitude = meter
  431. group_speed2 = meter_per_second2
  432. group_pressure = mbar
  433. group_rain = mm
  434. group_rainrate = mm_per_hour
  435. group_temperature = degree_C
  436. group_degree_day = degree_C_day
  437. group_speed = meter_per_second
  438.  
  439. [[FTP]]
  440. # FTP'ing the results to a webserver is treated as just another report,
  441. # albeit one with an unusual report generator!
  442. skin = Ftp
  443.  
  444. # If you wish to use FTP, uncomment and fill out the next four lines.
  445. #user = replace with the ftp username
  446. #password = replace with the ftp password
  447. #server = replace with the ftp server name, e.g, www.threefools.org
  448. #path = replace with the ftp destination directory (e.g., /weather)
  449.  
  450. # Set to True for an FTP over TLS (FTPS) connection. Not all servers
  451. # support this.
  452. secure_ftp = False
  453.  
  454. # To upload files from something other than what HTML_ROOT is set
  455. # to above, specify a different HTML_ROOT here.
  456. #HTML_ROOT = /var/www/html/weewx
  457.  
  458. # Most FTP servers use port 21
  459. port = 21
  460.  
  461. # Set to 1 to use passive mode, zero for active mode
  462. passive = 1
  463.  
  464. [[RSYNC]]
  465. # rsync'ing to a webserver is treated as just another report
  466. skin = Rsync
  467.  
  468. # If you wish to use rsync, you must configure passwordless ssh using
  469. # public/private key authentication from the user account that weewx
  470. # runs as to the user account on the remote machine where the files
  471. # will be copied.
  472. #
  473. # The following three lines determine where files will be sent.
  474. #server = replace with the rsync server name, e.g, www.threefools.org
  475. #path = replace with the rsync destination directory (e.g., /weather)
  476. #user = replace with the rsync username
  477.  
  478. # Rsync can be configured to remove files from the remote server if
  479. # they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you
  480. # make a mistake in the remote path, you could could unintentionally
  481. # cause unrelated files to be deleted. Set to 1 to enable remote file
  482. # deletion, zero to allow files to accumulate remotely.
  483. delete = 0
  484.  
  485. ##############################################################################
  486.  
  487. # This service acts as a filter, converting the unit system coming from
  488. # the hardware to a unit system in the database.
  489.  
  490. [StdConvert]
  491.  
  492. # The target_unit affects only the unit system in the database. Once
  493. # chosen it cannot be changed without converting the entire database.
  494. # Modification of target_unit after starting weewx will result in
  495. # corrupt data - the database will contain a mix of US and METRIC data.
  496. #
  497. # The value of target_unit does not affect the unit system for
  498. # reporting - reports can display US, Metric, or any combination of units.
  499. #
  500. # In most cases, target_unit should be left as the default: US
  501. #
  502. # In particular, those migrating from a standard wview installation
  503. # should use US since that is what the wview database contains.
  504.  
  505. # DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
  506. target_unit = US # Options are 'US', 'METRICWX', or 'METRIC'
  507.  
  508. ##############################################################################
  509.  
  510. # This section can adjust data using calibration expressions.
  511.  
  512. [StdCalibrate]
  513.  
  514. [[Corrections]]
  515. # For each type, an arbitrary calibration expression can be given.
  516. # It should be in the units defined in the StdConvert section.
  517. # Example:
  518. foo = foo + 0.2
  519.  
  520. ##############################################################################
  521.  
  522. # This section is for quality control checks. If units are not specified,
  523. # values must be in the units defined in the StdConvert section.
  524.  
  525. [StdQC]
  526.  
  527. [[MinMax]]
  528. barometer = 26, 32.5, inHg
  529. outTemp = -40, 120, degree_F
  530. inTemp = 10, 120, degree_F
  531. outHumidity = 0, 100
  532. inHumidity = 0, 100
  533. windSpeed = 0, 120, mile_per_hour
  534. pressure = 24, 34.5, inHg
  535.  
  536. ##############################################################################
  537.  
  538. # This section controls the origin of derived values.
  539.  
  540. [StdWXCalculate]
  541.  
  542. [[Calculations]]
  543. # Derived quantities are calculated by this service. Possible values are:
  544. # hardware - use the value provided by hardware
  545. # software - use the value calculated by weewx
  546. # prefer_hardware - use value provide by hardware if available,
  547. # otherwise use value calculated by weewx
  548.  
  549. pressure = prefer_hardware
  550. barometer = prefer_hardware
  551. altimeter = prefer_hardware
  552. windchill = prefer_hardware
  553. heatindex = prefer_hardware
  554. dewpoint = prefer_hardware
  555. inDewpoint = prefer_hardware
  556. rainRate = prefer_hardware
  557.  
  558. ##############################################################################
  559.  
  560. # For hardware that supports it, this section controls how often the
  561. # onboard clock gets updated.
  562.  
  563. [StdTimeSynch]
  564.  
  565. # How often to check the weather station clock for drift (in seconds)
  566. clock_check = 14400
  567.  
  568. # How much it can drift before we will correct it (in seconds)
  569. max_drift = 5
  570.  
  571. ##############################################################################
  572.  
  573. # This section is for configuring the archive service.
  574.  
  575. [StdArchive]
  576.  
  577. # If the station hardware supports data logging then the archive interval
  578. # will be downloaded from the station. Otherwise, specify it (in seconds).
  579. archive_interval = 300
  580.  
  581. # If possible, new archive records are downloaded from the station
  582. # hardware. If the hardware does not support this, then new archive
  583. # records will be generated in software.
  584. # Set the following to "software" to force software record generation.
  585. record_generation = hardware
  586.  
  587. # Whether to include LOOP data in hi/low statistics
  588. loop_hilo = True
  589.  
  590. # The data binding used to save archive records
  591. data_binding = wx_binding
  592.  
  593. ##############################################################################
  594.  
  595. # This section binds a data store to a database.
  596.  
  597. [DataBindings]
  598.  
  599. [[wx_binding]]
  600. # The database must match one of the sections in [Databases].
  601. # This is likely to be the only option you would want to change.
  602. database = archive_sqlite
  603. # The name of the table within the database
  604. table_name = archive
  605. # The manager handles aggregation of data for historical summaries
  606. manager = weewx.wxmanager.WXDaySummaryManager
  607. # The schema defines the structure of the database.
  608. # It is *only* used when the database is created.
  609. schema = schemas.wview.schema
  610.  
  611. ##############################################################################
  612.  
  613. # This section defines various databases.
  614.  
  615. [Databases]
  616.  
  617. # A SQLite database is simply a single file
  618. [[archive_sqlite]]
  619. database_type = SQLite
  620. database_name = weewx.sdb
  621.  
  622. # MySQL
  623. [[archive_mysql]]
  624. database_type = MySQL
  625. database_name = weewx
  626.  
  627. ##############################################################################
  628.  
  629. # This section defines defaults for the different types of databases.
  630.  
  631. [DatabaseTypes]
  632.  
  633. # Defaults for SQLite databases
  634. [[SQLite]]
  635. driver = weedb.sqlite
  636. # Directory in which the database files are located
  637. SQLITE_ROOT = /var/lib/weewx
  638.  
  639. # Defaults for MySQL databases
  640. [[MySQL]]
  641. driver = weedb.mysql
  642. # The host where the database is located
  643. host = localhost
  644. # The user name for logging in to the host
  645. user = XXX obfuscated by wee_debug XXX
  646. # The password for the user name
  647. password = XXX obfuscated by wee_debug XXX
  648.  
  649. ##############################################################################
  650.  
  651. # This section configures the internal weewx engine.
  652.  
  653. [Engine]
  654.  
  655. [[Services]]
  656. # This section specifies the services that should be run. They are
  657. # grouped by type, and the order of services within each group
  658. # determines the order in which the services will be run.
  659. prep_services = weewx.engine.StdTimeSynch
  660. data_services = ,
  661. process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
  662. archive_services = weewx.engine.StdArchive
  663. restful_services = weewx.restx.StdStationRegistry, weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS
  664. report_services = weewx.engine.StdPrint, weewx.engine.StdReport
  665.  
  666. wee_debug report successfully generated
  667. pi@raspberrypi:~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement