· 4 years ago · Aug 15, 2021, 12:06 PM
1pi@wetterbot:~ $ wee_debug --info
2Using verbosity=1, displaying most info
3
4wee_debug output will be sent to stdout(console)
5
6Using configuration file /etc/weewx/weewx.conf
7Using database binding 'wx_binding', which is bound to database 'archive_mysql'
8
9System info
10 Platform: Linux-5.10.52-v7+-armv7l-with-debian-10.10
11 Python Version: 3.7.3
12
13Load Information
14 1 minute load average: 0.00
15 5 minute load average: 0.02
16 15 minute load average: 0.00
17
18General Weewx info
19 Weewx version 4.5.1 detected.
20
21Station info
22 Station type: VueISS
23 Driver: user.drivers.vueiss
24
25Driver info
26[VueISS]
27
28 # The driver to use:
29 driver = user.drivers.vueiss
30
31Currently installed extensions
32No extensions installed
33
34Archive info
35 Database name: weewx
36 Table name: archive
37 Version 4.0
38 Unit system: None (Unknown unit constant)
39 First good timestamp: ******* N/A ******* ( N/A )
40 Last good timestamp: ******* N/A ******* ( N/A )
41 Number of records: None (no archive records found)
42 It is likely that the database (weewx) archive table (archive)
43 exists but contains no data.
44 weewx (weewx.conf) is set to use an archive interval of 60 seconds.
45 The station hardware was not interrogated in determining archive interval.
46
47Databases configured in weewx.conf
48 Database name: weewx.sdb
49 Database driver: weedb.sqlite
50
51 Database name: weewx
52 Database driver: weedb.mysql
53 Database host: localhost
54
55
56Parsed and obfuscated weewx.conf
57# WEEWX CONFIGURATION FILE
58#
59# Copyright (c) 2009-2021 Tom Keffer <tkeffer@gmail.com>
60# See the file LICENSE.txt for your rights.
61
62##############################################################################
63
64# This section is for general configuration information.
65
66# Set to 1 for extra debug info, otherwise comment it out or set to zero
67debug = 0
68
69# Root directory of the weewx data file hierarchy for this station
70WEEWX_ROOT = /
71
72# Whether to log successful operations
73log_success = True
74
75# Whether to log unsuccessful operations
76log_failure = True
77
78# How long to wait before timing out a socket (FTP, HTTP) connection
79socket_timeout = 20
80
81# Do not modify this. It is used when installing and updating weewx.
82version = 4.5.1
83
84##############################################################################
85
86# This section is for information about the station.
87
88[Station]
89
90 # Description of the station location
91 location = "Wetterbot, Balkon, Friedel"
92
93 # Latitude in decimal degrees. Negative for southern hemisphere
94 latitude = 52.4925046
95 # Longitude in decimal degrees. Negative for western hemisphere.
96 longitude = 13.4282092
97
98 # Altitude of the station, with unit it is in. This is downloaded from
99 # from the station if the hardware supports it.
100 altitude = 42, meter
101
102 # Set to type of station hardware. There must be a corresponding stanza
103 # in this file with a 'driver' parameter indicating the driver to be used.
104 station_type = VueISS
105
106 # If you have a website, you may specify an URL
107 #station_url = http://www.example.com
108
109 # The start of the rain year (1=January; 10=October, etc.). This is
110 # downloaded from the station if the hardware supports it.
111 rain_year_start = 1
112
113 # Start of week (0=Monday, 6=Sunday)
114 week_start = 0
115
116##############################################################################
117
118[Simulator]
119 # This section is for the weewx weather station simulator
120
121 # The time (in seconds) between LOOP packets.
122 loop_interval = 2.5
123
124 # The simulator mode can be either 'simulator' or 'generator'.
125 # Real-time simulator. Sleep between each LOOP packet.
126 mode = simulator
127 # Generator. Emit LOOP packets as fast as possible (useful for testing).
128 #mode = generator
129
130 # The start time. Format is YYYY-mm-ddTHH:MM. If not specified, the default
131 # is to use the present time.
132 #start = 2011-01-01T00:00
133
134 # The driver to use:
135 driver = weewx.drivers.simulator
136
137##############################################################################
138
139[VueISS]
140
141 # The driver to use:
142 driver = user.drivers.vueiss
143
144##############################################################################
145
146[Vantage]
147 # This section is for the Davis Vantage series of weather stations.
148
149 # Connection type: serial or ethernet
150 # serial (the classic VantagePro)
151 # ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
152 type = serial
153
154 # If the connection type is serial, a port must be specified:
155 # Debian, Ubuntu, Redhat, Fedora, and SuSE:
156 # /dev/ttyUSB0 is a common USB port name
157 # /dev/ttyS0 is a common serial port name
158 # BSD:
159 # /dev/cuaU0 is a common serial port name
160 port = /dev/tty1
161
162 # If the connection type is ethernet, an IP Address/hostname is required:
163 host = 1.2.3.4
164
165 ######################################################
166 # The rest of this section rarely needs any attention.
167 # You can safely leave it "as is."
168 ######################################################
169
170 # Serial baud rate (usually 19200)
171 baudrate = 19200
172
173 # TCP port (when using the WeatherLinkIP)
174 tcp_port = 22222
175
176 # TCP send delay (when using the WeatherLinkIP):
177 tcp_send_delay = 0.5
178
179 # The type of LOOP packet to request: 1 = LOOP1; 2 = LOOP2; 3 = both
180 loop_request = 1
181
182 # The id of your ISS station (usually 1). If you use a wind meter connected
183 # to a anemometer transmitter kit, use its id
184 iss_id = 1
185
186 # How long to wait for a response from the station before giving up (in
187 # seconds; must be greater than 2)
188 timeout = 4
189
190 # How long to wait before trying again (in seconds)
191 wait_before_retry = 1.2
192
193 # How many times to try before giving up:
194 max_tries = 4
195
196 # Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
197 model_type = 2
198
199 # The driver to use:
200 driver = weewx.drivers.vantage
201
202##############################################################################
203
204# This section is for uploading data to Internet sites
205
206[StdRESTful]
207
208 [[StationRegistry]]
209 # To register this weather station with weewx, set this to true
210 register_this_station = false
211
212 [[AWEKAS]]
213 # This section is for configuring posts to AWEKAS.
214
215 # If you wish to do this, set the option 'enable' to true,
216 # and specify a username and password.
217 # To guard against parsing errors, put the password in quotes.
218 enable = false
219 username = XXX obfuscated by wee_debug XXX
220 password = XXX obfuscated by wee_debug XXX
221
222 [[CWOP]]
223 # This section is for configuring posts to CWOP.
224
225 # If you wish to do this, set the option 'enable' to true,
226 # and specify the station ID (e.g., CW1234).
227 enable = false
228 station = XXX obfuscated by wee_debug XXX
229
230 # If this is an APRS (radio amateur) station, uncomment
231 # the following and replace with a passcode (e.g., 12345).
232 #passcode = replace_me (APRS stations only)
233
234 [[PWSweather]]
235 # This section is for configuring posts to PWSweather.com.
236
237 # If you wish to do this, set the option 'enable' to true,
238 # and specify a station and password.
239 # To guard against parsing errors, put the password in quotes.
240 enable = false
241 station = XXX obfuscated by wee_debug XXX
242 password = XXX obfuscated by wee_debug XXX
243
244 [[WOW]]
245 # This section is for configuring posts to WOW.
246
247 # If you wish to do this, set the option 'enable' to true,
248 # and specify a station and password.
249 # To guard against parsing errors, put the password in quotes.
250 enable = false
251 station = XXX obfuscated by wee_debug XXX
252 password = XXX obfuscated by wee_debug XXX
253
254 [[Wunderground]]
255 # This section is for configuring posts to the Weather Underground.
256
257 # If you wish to do this, set the option 'enable' to true,
258 # and specify a station (e.g., 'KORHOODR3') and password.
259 # To guard against parsing errors, put the password in quotes.
260 enable = false
261 station = XXX obfuscated by wee_debug XXX
262 password = XXX obfuscated by wee_debug XXX
263
264 # If you plan on using wunderfixer, set the following
265 # to your API key:
266 api_key = XXX obfuscated by wee_debug XXX
267
268 # Set the following to True to have weewx use the WU "Rapidfire"
269 # protocol. Not all hardware can support it. See the User's Guide.
270 rapidfire = False
271
272##############################################################################
273
274# This section specifies what reports, using which skins, to generate.
275
276[StdReport]
277
278 # Where the skins reside, relative to WEEWX_ROOT
279 SKIN_ROOT = /etc/weewx/skins
280
281 # Where the generated reports should go, relative to WEEWX_ROOT
282 HTML_ROOT = /var/weewx/reports
283
284 # The database binding indicates which data should be used in reports.
285 data_binding = wx_binding
286
287 # Whether to log a successful operation
288 log_success = True
289
290 # Whether to log an unsuccessful operation
291 log_failure = True
292
293 # Each of the following subsections defines a report that will be run.
294 # See the customizing guide to change the units, plot types and line
295 # colors, modify the fonts, display additional sensor data, and other
296 # customizations. Many of those changes can be made here by overriding
297 # parameters, or by modifying templates within the skin itself.
298
299 [[SeasonsReport]]
300 # The SeasonsReport uses the 'Seasons' skin, which contains the
301 # images, templates and plots for the report.
302 skin = Seasons
303 enable = true
304
305 [[SmartphoneReport]]
306 # The SmartphoneReport uses the 'Smartphone' skin, and the images and
307 # files are placed in a dedicated subdirectory.
308 skin = Smartphone
309 enable = false
310 HTML_ROOT = /var/weewx/reports
311
312 [[MobileReport]]
313 # The MobileReport uses the 'Mobile' skin, and the images and files
314 # are placed in a dedicated subdirectory.
315 skin = Mobile
316 enable = false
317 HTML_ROOT = /var/weewx/reports
318
319 [[StandardReport]]
320 # This is the old "Standard" skin. By default, it is not enabled.
321 skin = Standard
322 enable = false
323
324 [[FTP]]
325 # FTP'ing the results to a webserver is treated as just another report,
326 # albeit one with an unusual report generator!
327 skin = Ftp
328
329 # If you wish to use FTP, set "enable" to "true", then
330 # fill out the next four lines.
331 # Use quotes around passwords to guard against parsing errors.
332 enable = false
333 user = XXX obfuscated by wee_debug XXX
334 password = XXX obfuscated by wee_debug XXX
335 server = replace_me # The ftp server name, e.g, www.myserver.org
336 path = replace_me # The destination directory, e.g., /weather
337
338 # Set to True for an FTP over TLS (FTPS) connection. Not all servers
339 # support this.
340 secure_ftp = False
341
342 # To upload files from something other than what HTML_ROOT is set
343 # to above, specify a different HTML_ROOT here.
344 #HTML_ROOT = /var/weewx/reports
345
346 # Most FTP servers use port 21
347 port = 21
348
349 # Set to 1 to use passive mode, zero for active mode
350 passive = 1
351
352 [[RSYNC]]
353 # rsync'ing to a webserver is treated as just another report
354 skin = Rsync
355
356 # If you wish to use rsync, you must configure passwordless ssh using
357 # public/private key authentication from the user account that weewx
358 # runs to the user account on the remote machine where the files
359 # will be copied.
360 #
361 # If you wish to use rsync, set "enable" to "true", then
362 # fill out server, user, and path.
363 # The server should appear in your .ssh/config file.
364 # The user is the username used in the identity file.
365 # The path is the destination directory, such as /var/www/html/weather.
366 # Be sure that the user has write permissions on the destination!
367 enable = false
368 server = replace_me
369 user = XXX obfuscated by wee_debug XXX
370 path = replace_me
371
372 # To upload files from something other than what HTML_ROOT is set
373 # to above, specify a different HTML_ROOT here.
374 #HTML_ROOT = /var/weewx/reports
375
376 # Rsync can be configured to remove files from the remote server if
377 # they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you
378 # make a mistake in the remote path, you could could unintentionally
379 # cause unrelated files to be deleted. Set to 1 to enable remote file
380 # deletion, zero to allow files to accumulate remotely.
381 delete = 0
382
383 ####
384
385 # Various options for customizing your reports.
386
387 [[Defaults]]
388
389 [[[Units]]]
390
391 # The following section sets what unit to use for each unit group.
392 # NB: The unit is always in the singular. I.e., 'mile_per_hour',
393 # NOT 'miles_per_hour'
394 [[[[Groups]]]]
395
396 group_altitude = meter # Options are 'foot' or 'meter'
397 group_degree_day = degree_C_day # Options are 'degree_F_day' or 'degree_C_day'
398 group_distance = km # Options are 'mile' or 'km'
399 group_pressure = mbar # Options are 'inHg', 'mmHg', 'mbar', 'hPa', or 'kPa'
400 group_rain = mm # Options are 'inch', 'cm', or 'mm'
401 group_rainrate = mm_per_hour # Options are 'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
402 group_speed = meter_per_second # Options are 'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
403 group_speed2 = meter_per_second2 # Options are 'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
404 group_temperature = degree_C # Options are 'degree_F' or 'degree_C'
405
406 # The following section sets the formatting for each type of unit.
407 [[[[StringFormats]]]]
408
409 centibar = %.0f
410 cm = %.2f
411 cm_per_hour = %.2f
412 degree_C = %.1f
413 degree_F = %.1f
414 degree_compass = %.0f
415 foot = %.0f
416 hPa = %.1f
417 hour = %.1f
418 inHg = %.3f
419 inch = %.2f
420 inch_per_hour = %.2f
421 km = %.1f
422 km_per_hour = %.0f
423 km_per_hour2 = %.1f
424 knot = %.0f
425 knot2 = %.1f
426 kPa = %.2f
427 mbar = %.1f
428 meter = %.0f
429 meter_per_second = %.1f
430 meter_per_second2 = %.1f
431 mile = %.1f
432 mile_per_hour = %.0f
433 mile_per_hour2 = %.1f
434 mm = %.1f
435 mmHg = %.1f
436 mm_per_hour = %.1f
437 percent = %.0f
438 second = %.0f
439 uv_index = %.1f
440 volt = %.1f
441 watt_per_meter_squared = %.0f
442 NONE = " N/A"
443
444 # The following section overrides the label used for each type of unit
445 [[[[Labels]]]]
446
447 meter = " meter", " meters" # You may prefer "metre".
448 day = " day", " days"
449 hour = " hour", " hours"
450 minute = " minute", " minutes"
451 second = " second", " seconds"
452 NONE = ""
453
454 # The following section sets the format for each time scale.
455 # The values below will work in every locale, but they may not look
456 # particularly attractive.
457 [[[[TimeFormats]]]]
458
459 hour = %H:%M
460 day = %X
461 week = %X (%A)
462 month = %x %X
463 year = %x %X
464 rainyear = %x %X
465 current = %x %X
466 ephem_day = %X
467 ephem_year = %x %X
468
469 [[[[Ordinates]]]]
470
471 # Ordinal directions. The last one is for no wind direction
472 directions = N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW, N/A
473
474 # The following section sets the base temperatures used for the
475 # calculation of heating, cooling, and growing degree-days.
476 [[[[DegreeDays]]]]
477
478 # Base temperature for heating days, with unit:
479 heating_base = 65, degree_F
480 # Base temperature for cooling days, with unit:
481 cooling_base = 65, degree_F
482 # Base temperature for growing days, with unit:
483 growing_base = 50, degree_F
484
485 # A trend takes a difference across a time period. The following
486 # section sets the time period, and how big an error is allowed to
487 # still be counted as the start or end of a period.
488 [[[[Trend]]]]
489
490 time_delta = 10800 # 3 hours
491 time_grace = 300 # 5 minutes
492
493 # The labels to be used for each observation type
494 [[[Labels]]]
495
496 # Set to hemisphere abbreviations suitable for your location:
497 hemispheres = N, S, E, W
498
499 # Formats to be used for latitude whole degrees, longitude whole
500 # degrees, and minutes:
501 latlon_formats = %02d, %03d, %05.2f
502
503 # Generic labels, keyed by an observation type.
504 [[[[Generic]]]]
505 barometer = Barometer
506 dewpoint = Dew Point
507 ET = ET
508 heatindex = Heat Index
509 inHumidity = Inside Humidity
510 inTemp = Inside Temperature
511 outHumidity = Humidity
512 outTemp = Outside Temperature
513 radiation = Radiation
514 rain = Rain
515 rainRate = Rain Rate
516 UV = UV Index
517 windDir = Wind Direction
518 windGust = Gust Speed
519 windGustDir = Gust Direction
520 windSpeed = Wind Speed
521 windchill = Wind Chill
522 windgustvec = Gust Vector
523 windvec = Wind Vector
524 extraTemp1 = Temperature1
525 extraTemp2 = Temperature2
526 extraTemp3 = Temperature3
527
528 # Sensor status indicators
529
530 rxCheckPercent = Signal Quality
531 txBatteryStatus = Transmitter Battery
532 windBatteryStatus = Wind Battery
533 rainBatteryStatus = Rain Battery
534 outTempBatteryStatus = Outside Temperature Battery
535 inTempBatteryStatus = Inside Temperature Battery
536 consBatteryVoltage = Console Battery
537 heatingVoltage = Heating Battery
538 supplyVoltage = Supply Voltage
539 referenceVoltage = Reference Voltage
540
541 [[[Almanac]]]
542
543 # The labels to be used for the phases of the moon:
544 moon_phases = New, Waxing crescent, First quarter, Waxing gibbous, Full, Waning gibbous, Last quarter, Waning crescent
545
546##############################################################################
547
548# This service acts as a filter, converting the unit system coming from
549# the hardware to a unit system in the database.
550
551[StdConvert]
552
553 # The target_unit affects only the unit system in the database. Once
554 # chosen it cannot be changed without converting the entire database.
555 # Modification of target_unit after starting weewx will result in
556 # corrupt data - the database will contain a mix of US and METRIC data.
557 #
558 # The value of target_unit does not affect the unit system for
559 # reporting - reports can display US, Metric, or any combination of units.
560 #
561 # In most cases, target_unit should be left as the default: US
562 #
563 # In particular, those migrating from a standard wview installation
564 # should use US since that is what the wview database contains.
565
566 # DO NOT MODIFY THIS VALUE UNLESS YOU KNOW WHAT YOU ARE DOING!
567 target_unit = METRICWX # Options are 'US', 'METRICWX', or 'METRIC'
568
569##############################################################################
570
571# This section can adjust data using calibration expressions.
572
573[StdCalibrate]
574
575 [[Corrections]]
576 # For each type, an arbitrary calibration expression can be given.
577 # It should be in the units defined in the StdConvert section.
578 # Example:
579 foo = foo + 0.2
580
581##############################################################################
582
583# This section is for quality control checks. If units are not specified,
584# values must be in the units defined in the StdConvert section.
585
586[StdQC]
587
588 [[MinMax]]
589 barometer = 540, 1100, mbar
590 outTemp = -40, 65, degree_C
591 outHumidity = 0, 100
592 windSpeed = 0, 290, km_per_hour
593# [[MinMax]]
594# barometer = 26, 32.5, inHg
595# pressure = 24, 34.5, inHg
596# outTemp = -40, 120, degree_F
597# inTemp = 10, 120, degree_F
598# outHumidity = 0, 100
599# inHumidity = 0, 100
600# windSpeed = 0, 120, mile_per_hour
601# rain = 0, 10, inch
602
603##############################################################################
604
605# This section controls the origin of derived values.
606
607[StdWXCalculate]
608
609 [[Calculations]]
610 # How to calculate derived quantities. Possible values are:
611 # hardware - use the value provided by hardware
612 # software - use the value calculated by weewx
613 # prefer_hardware - use value provide by hardware if available,
614 # otherwise use value calculated by weewx
615
616 pressure = prefer_hardware
617 # altimeter = prefer_hardware
618 # appTemp = prefer_hardware
619 barometer = prefer_hardware
620 # cloudbase = prefer_hardware
621 # dewpoint = prefer_hardware
622 # ET = prefer_hardware
623 altimeter = prefer_hardware
624 heatindex = prefer_hardware
625 # humidex = prefer_hardware
626 dewpoint = prefer_hardware
627 inDewpoint = prefer_hardware
628 # maxSolarRad = prefer_hardware
629 rainRate = prefer_hardware
630 windchill = prefer_hardware
631# windrun = prefer_hardware
632
633##############################################################################
634
635# For hardware that supports it, this section controls how often the
636# onboard clock gets updated.
637
638[StdTimeSynch]
639
640 # How often to check the weather station clock for drift (in seconds)
641 clock_check = 14400
642
643 # How much it can drift before we will correct it (in seconds)
644 max_drift = 5
645
646##############################################################################
647
648# This section is for configuring the archive service.
649
650[StdArchive]
651
652 # If the station hardware supports data logging then the archive interval
653 # will be downloaded from the station. Otherwise, specify it (in seconds).
654 archive_interval = 60
655
656 # How long to wait (in seconds) before processing new archive data. Must
657 # be greater than zero.
658 archive_delay = 15
659
660 # If possible, new archive records are downloaded from the station
661 # hardware. If the hardware does not support this, then new archive
662 # records will be generated in software.
663 # Set the following to "software" to force software record generation.
664 record_generation = hardware
665
666 # Whether to include LOOP data in hi/low statistics
667 loop_hilo = True
668
669 # The data binding used to save archive records
670 data_binding = wx_binding
671
672# Whether to log successful archive operations
673# log_success = True
674
675# Whether to log unsuccessful archive operations
676# log_failure = True
677
678##############################################################################
679
680# This section binds a data store to a database.
681
682[DataBindings]
683
684 [[wx_binding]]
685 # The database must match one of the sections in [Databases].
686 # This is likely to be the only option you would want to change.
687 database = archive_mysql
688 # The name of the table within the database
689 table_name = archive
690 # The manager handles aggregation of data for historical summaries
691 # manager = weewx.manager.DaySummaryManager
692 manager = weewx.wxmanager.WXDaySummaryManager
693 # The schema defines the structure of the database.
694 # It is *only* used when the database is created.
695 #schema = schemas.wview_extended.schema
696 schema = schemas.wview.schema
697
698##############################################################################
699
700# This section defines various databases.
701
702[Databases]
703
704 # A SQLite database is simply a single file
705 [[archive_sqlite]]
706 database_name = weewx.sdb
707 database_type = SQLite
708
709 # MySQL
710 [[archive_mysql]]
711 database_name = weewx
712 database_type = MySQL
713
714##############################################################################
715
716# This section defines defaults for the different types of databases.
717
718[DatabaseTypes]
719
720 # Defaults for SQLite databases
721 [[SQLite]]
722 driver = weedb.sqlite
723 # Directory in which the database files are located
724 SQLITE_ROOT = /var/lib/weewx
725
726 # Defaults for MySQL databases
727 [[MySQL]]
728 driver = weedb.mysql
729 # The host where the database is located
730 host = localhost
731 # The user name for logging in to the host
732 # user = weewx
733 user = XXX obfuscated by wee_debug XXX
734 # The password for the user name (quotes guard against parsing errors)
735 # password = weewx
736 password = XXX obfuscated by wee_debug XXX
737
738##############################################################################
739
740# This section configures the internal weewx engine.
741
742[Engine]
743
744 # The following section specifies which services should be run and in what order.
745 [[Services]]
746 prep_services = weewx.engine.StdTimeSynch
747 data_services = ,
748 process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
749 xtype_services = weewx.wxxtypes.StdWXXTypes, weewx.wxxtypes.StdPressureCooker, weewx.wxxtypes.StdRainRater, weewx.wxxtypes.StdDelta
750 archive_services = weewx.engine.StdArchive
751 restful_services = weewx.restx.StdStationRegistry, weewx.restx.StdWunderground, weewx.restx.StdPWSweather, weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS
752 report_services = weewx.engine.StdPrint, weewx.engine.StdReport
753
754wee_debug report successfully generated
755