Hi all, Recently installed WeeWX in combination with the Interceptor driver in order to read my Ventus W830. The Ventus W830 is forwarding data to Wunderground via WIFI
I have managed to intercept the data reading into WeeWX but the rain is not registering unfortunately (Even though Wunderground does get the data) Here is part of the TCP Dump (Formatting changed) 07:25:42.475896 IP 192.168.2.165.29165 > ec2-52-25-21-79.us-west-2.compute.amazonaws.com.http: Flags [P.], seq 1831777945:1831778467, ack 158718101, win 5840, length 522: HTTP: GET /weatherstation/updateweatherstation.php?ID=ITILBURG71&PASSWORD=xxxxxxxxx&indoortempf=72.9&tempf=59.7&dewptf=59.4&windchillf=59.7&indoorhumidity=60&humidity=99&windspeedmph=0.0&windgustmph=0.0&winddir=267&absbaromin=29.73&baromin=29.57&rainin=0.40&dailyrainin=0.64&weeklyrainin=0.89&monthlyrainin=2.92&yearlyrainin=-9999&solarradiation=6.85&UV=0&dateutc=2017-7-12%205:25:37&softwaretype=EasyWeatherV1.1.2&action=updateraw&realtime=1&rtfreq=5 HTTP/1.0 07:25:42.488933 IP 192.168.2.165.29165 > ec2-52-25-21-79.us-west-2.compute.amazonaws.com.http: Flags [F.], seq 522, ack 1, win 5840, length 0 07:25:52.452701 IP 192.168.2.165.14924 > ec2-52-43-231-150.us-west-2.compute.amazonaws.com.http: Flags [S], seq 1838297214, win 5840, options [mss 1460], length 0 07:25:52.966711 IP 192.168.2.165.14924 > ec2-52-43-231-150.us-west-2.compute.amazonaws.com.http: Flags [P.], seq 1838297215:1838297737, ack 3699355203, win 5840, length 522: HTTP: GET /weatherstation/updateweatherstation.php?ID=ITILBURG71&PASSWORD=xxxxxxxxx&indoortempf=72.9&tempf=59.7&dewptf=59.4&windchillf=59.7&indoorhumidity=60&humidity=99&windspeedmph=0.0&windgustmph=0.0&winddir=267&absbaromin=29.73&baromin=29.57&rainin=0.40&dailyrainin=0.64&weeklyrainin=0.89&monthlyrainin=2.92&yearlyrainin=-9999&solarradiation=6.85&UV=0&dateutc=2017-7-12%205:25:47&softwaretype=EasyWeatherV1.1.2&action=updateraw&realtime=1&rtfreq=5 HTTP/1.0 07:25:53.542677 IP 192.168.2.165.14924 > ec2-52-43-231-150.us-west-2.compute.amazonaws.com.http: Flags [F.], seq 522, ack 109, win 5732, length 0 In the logging I see: Jul 11 07:37:35 FredsPi weewx[838]: interceptor: MainThread: skipping rain measurement of None: no last rain Jul 11 07:37:41 FredsPi weewx[838]: interceptor: MainThread: unrecognized parameter absbaromin=29.85 Jul 11 07:37:41 FredsPi weewx[838]: interceptor: MainThread: skipping rain measurement of None: no last rain Jul 11 07:37:51 FredsPi weewx[838]: interceptor: MainThread: unrecognized parameter absbaromin=29.85 Jul 11 07:37:51 FredsPi weewx[838]: interceptor: MainThread: skipping rain measurement of None: no last rain Jul 11 07:38:06 FredsPi wpa_supplicant[810]: wlan0: Failed to initiate sched scan Jul 11 07:38:08 FredsPi weewx[838]: interceptor: MainThread: unrecognized parameter absbaromin=29.85 Jul 11 07:38:08 FredsPi weewx[838]: interceptor: MainThread: skipping rain measurement of None: no last rain Jul 11 07:38:08 FredsPi rsyslogd-2007: action 'action 10' suspended, next retry is Tue Jul 11 07:39:38 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ] Jul 11 07:38:23 FredsPi weewx[838]: interceptor: MainThread: unrecognized parameter absbaromin=29.85 Jul 11 07:38:23 FredsPi weewx[838]: interceptor: MainThread: skipping rain measurement of None: no last rain Jul 11 07:38:36 FredsPi weewx[838]: interceptor: MainThread: unrecognized parameter absbaromin=29.85 With Debug set to 1: Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: ServerThread: SNIFF: ID=ITILBURG71&PASSWORD=XXXX&indoortempf=73.0&tempf=59.9&dewptf=59.5&windchillf=59.9&indoorhumidity=60&humidity=99&windspeedmph=0.9&windgustmph=1.1&winddir=267&absbaromin=29.73&baromin=29.56&rainin=0.50&dailyrainin=0.83&weeklyrainin=1.08&monthlyrainin=3.11&yearlyrainin=-9999&solarradiation=13.33&UV=0&dateutc=2017-7-12%206:2:51&softwaretype=EasyWeatherV1.1.2&action=updateraw&realtime=1&rtfreq=5 HTTP/1.0#015#012Accept:*/*#015#012Host: rtupdate.wunderground.com#015#012Connection: Close Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: ServerThread: sniff: start GET Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: raw data: ID=ITILBURG71&PASSWORD=xxxxxxxxx&indoortempf=73.0&tempf=59.9&dewptf=59.5&windchillf=59.9&indoorhumidity=60&humidity=99&windspeedmph=0.9&windgustmph=1.1&winddir=267&absbaromin=29.73&baromin=29.56&rainin=0.50&dailyrainin=0.83&weeklyrainin=1.08&monthlyrainin=3.11&yearlyrainin=-9999&solarradiation=13.33&UV=0&dateutc=2017-7-12%206:2:51&softwaretype=EasyWeatherV1.1.2&action=updateraw&realtime=1&rtfreq=5 HTTP/1.0#015#012Accept:*/*#015#012Host: rtupdate.wunderground.com#015#012Connection: Close Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter rainin=0.50 Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: unrecognized parameter absbaromin=29.73 Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter dailyrainin=0.83 Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter monthlyrainin=3.11 Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter realtime=1 Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter rtfreq=5 HTTP/1.0#015#012Accept:*/*#015#012Host: rtupdate.wunderground.com#015#012Connection: Close Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter PASSWORD=xxxxxxxx Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter ID=ITILBURG71 Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter softwaretype=EasyWeatherV1.1.2 Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter action=updateraw Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter weeklyrainin=1.08 Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: skipping rain measurement of None: no last rain Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: raw packet: {'wind_speed': 0.9, 'humidity_in': 60.0, 'temperature_in': 73.0, 'barometer': 29.56, 'windchill': 59.9, 'dewpoint': 59.5, 'humidity_out': 99.0, 'uv': 0.0, 'radiation': 13.33, 'rain': None, 'dateTime': 1499839371, 'temperature_out': 59.9, 'wind_dir': 267.0, 'rain_total': None, 'usUnits': 1, 'wind_gust': 1.1} Jul 12 08:03:12 FredsPi weewx[18976]: interceptor: MainThread: mapped packet: {'barometer': 29.56, 'windchill': 59.9, 'dewpoint': 59.5, 'outHumidity': 99.0, 'UV': 0.0, 'radiation': 13.33, 'rain': None, 'dateTime': 1499839371, 'windDir': 267.0, 'outTemp': 59.9, 'windSpeed': 0.9, 'inHumidity': 60.0, 'inTemp': 73.0, 'windGust': 1.1, 'usUnits': 1} Jul 12 08:03:13 FredsPi weewx[18976]: interceptor: ServerThread: sniff: timestamp=1499839393.36 pktlen=60 data=b8 27 eb 71 8d b1 9c 5c 8e 8b 5d 58 08 00 45 00 00 28 dc b2 00 00 fe 06 01 0e c0 a8 02 a5 34 2b e7 96 7e d6 00 50 ac fe d4 60 ba b0 5f 4b 50 11 16 64 9f de 00 00 00 00 00 00 00 00 Jul 12 08:03:13 FredsPi weewx[18976]: interceptor: ServerThread: sniff: skip 00 00 00 00 00 00 Jul 12 08:03:14 FredsPi weewx[18976]: interceptor: ServerThread: sniff: timestamp=1499839394.27 pktlen=60 data=b8 27 eb 71 8d b1 9c 5c 8e 8b 5d 58 08 00 45 00 00 28 dc b3 00 00 fe 06 01 0d c0 a8 02 a5 34 2b e7 96 7e d6 00 50 ac fe d4 61 ba b0 5f 4c 50 10 16 63 9f de 00 00 00 00 00 00 00 00 Jul 12 08:03:14 FredsPi weewx[18976]: interceptor: ServerThread: sniff: skip 00 00 00 00 00 00 Jul 12 08:03:17 FredsPi weewx[18976]: interceptor: ServerThread: sniff: timestamp=1499839397.11 pktlen=60 data=b8 27 eb 71 8d b1 9c 5c 8e 8b 5d 58 08 00 45 00 00 28 dc b4 00 00 fe 06 d3 65 c0 a8 02 a5 34 19 15 4f a9 66 00 50 ac 9b 15 24 c1 8d 5b 04 50 10 16 cf 04 48 00 00 00 00 00 00 00 00 Jul 12 08:03:17 FredsPi weewx[18976]: interceptor: ServerThread: sniff: skip 00 00 00 00 00 00 Jul 12 08:03:22 FredsPi weewx[18976]: interceptor: MainThread: empty queue Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: ServerThread: sniff: timestamp=1499839408.49 pktlen=60 data=b8 27 eb 71 8d b1 9c 5c 8e 8b 5d 58 08 00 45 00 00 2c dc b9 00 00 fe 06 d3 5c c0 a8 02 a5 34 19 15 4f 8d 5b 00 50 ad 62 92 14 00 00 00 00 60 02 16 d0 a7 7e 00 00 02 04 05 b4 00 00 Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: ServerThread: sniff: skip 02 04 05 b4 00 00 Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: ServerThread: sniff: timestamp=1499839408.76 pktlen=576 data=b8 27 eb 71 8d b1 9c 5c 8e 8b 5d 58 08 00 45 00 02 32 dc ba 00 00 fe 06 d1 55 c0 a8 02 a5 34 19 15 4f 8d 5b 00 50 ad 62 92 15 27 e2 42 5e 50 18 16 d0 4b 9a 00 00 47 45 54 20 2f 77 65 61 74 68 65 72 73 74 61 74 69 6f 6e 2f 75 70 64 61 74 65 77 65 61 74 68 65 72 73 74 61 74 69 6f 6e 2e 70 68 70 3f 49 44 3d 49 54 49 4c 42 55 52 47 37 31 26 50 41 53 53 57 4f 52 44 3d 4e 61 67 67 79 31 39 37 30 26 69 6e 64 6f 6f 72 74 65 6d 70 66 3d 37 33 2e 30 26 74 65 6d 70 66 3d 35 39 2e 39 26 64 65 77 70 74 66 3d 35 39 2e 35 26 77 69 6e 64 63 68 69 6c 6c 66 3d 35 39 2e 39 26 69 6e 64 6f 6f 72 68 75 6d 69 64 69 74 79 3d 36 30 26 68 75 6d 69 64 69 74 79 3d 39 39 26 77 69 6e 64 73 70 65 65 64 6d 70 68 3d 30 2e 32 26 77 69 6e 64 67 75 73 74 6d 70 68 3d 31 2e 31 26 77 69 6e 64 64 69 72 3d 32 36 37 26 61 62 73 62 61 72 6f 6d 69 6e 3d 32 39 2e 37 33 26 62 61 72 6f 6d 69 6e 3d 32 39 2e 35 36 26 72 61 69 6e 69 6e 3d 30 2e 35 30 26 64 61 69 6c 79 72 61 69 6e 69 6e 3d 30 2e 38 33 26 77 65 65 6b 6c 79 72 61 69 6e 69 6e 3d 31 2e 30 38 26 6d 6f 6e 74 68 6c 79 72 61 69 6e 69 6e 3d 33 2e 31 31 26 79 65 61 72 6c 79 72 61 69 6e 69 6e 3d 2d 39 39 39 39 26 73 6f 6c 61 72 72 61 64 69 61 74 69 6f 6e 3d 31 32 2e 31 31 26 55 56 3d 30 26 64 61 74 65 75 74 63 3d 32 30 31 37 2d 37 2d 31 32 25 32 30 36 3a 33 3a 32 33 26 73 6f 66 74 77 61 72 65 74 79 70 65 3d 45 61 73 79 57 65 61 74 68 65 72 56 31 2e 31 2e 32 26 61 63 74 69 6f 6e 3d 75 70 64 61 74 65 72 61 77 26 72 65 61 6c 74 69 6d 65 3d 31 26 72 74 66 72 65 71 3d 35 20 48 54 54 50 2f 31 2e 30 0d 0a 41 63 63 65 70 74 3a 2a 2f 2a 0d 0a 48 6f 73 74 3a 20 72 74 75 70 64 61 74 65 2e 77 75 6e 64 65 72 67 72 6f 75 6e 64 2e 63 6f 6d 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 43 6c 6f 73 65 0d 0a 0d 0a Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: ServerThread: sniff: flush 47 45 54 20 2f 77 65 61 74 68 65 72 73 74 61 74 69 6f 6e 2f 75 70 64 61 74 65 77 65 61 74 68 65 72 73 74 61 74 69 6f 6e 2e 70 68 70 3f 49 44 3d 49 54 49 4c 42 55 52 47 37 31 26 50 41 53 53 57 4f 52 44 3d 4e 61 67 67 79 31 39 37 30 26 69 6e 64 6f 6f 72 74 65 6d 70 66 3d 37 33 2e 30 26 74 65 6d 70 66 3d 35 39 2e 39 26 64 65 77 70 74 66 3d 35 39 2e 35 26 77 69 6e 64 63 68 69 6c 6c 66 3d 35 39 2e 39 26 69 6e 64 6f 6f 72 68 75 6d 69 64 69 74 79 3d 36 30 26 68 75 6d 69 64 69 74 79 3d 39 39 26 77 69 6e 64 73 70 65 65 64 6d 70 68 3d 30 2e 37 26 77 69 6e 64 67 75 73 74 6d 70 68 3d 31 2e 31 26 77 69 6e 64 64 69 72 3d 32 36 37 26 61 62 73 62 61 72 6f 6d 69 6e 3d 32 39 2e 37 33 26 62 61 72 6f 6d 69 6e 3d 32 39 2e 35 36 26 72 61 69 6e 69 6e 3d 30 2e 35 30 26 64 61 69 6c 79 72 61 69 6e 69 6e 3d 30 2e 38 33 26 77 65 65 6b 6c 79 72 61 69 6e 69 6e 3d 31 2e 30 38 26 6d 6f 6e 74 68 6c 79 72 61 69 6e 69 6e 3d 33 2e 31 31 26 79 65 61 72 6c 79 72 61 69 6e 69 6e 3d 2d 39 39 39 39 26 73 6f 6c 61 72 72 61 64 69 61 74 69 6f 6e 3d 31 32 2e 34 38 26 55 56 3d 30 26 64 61 74 65 75 74 63 3d 32 30 31 37 2d 37 2d 31 32 25 32 30 36 3a 33 3a 37 26 73 6f 66 74 77 61 72 65 74 79 70 65 3d 45 61 73 79 57 65 61 74 68 65 72 56 31 2e 31 2e 32 26 61 63 74 69 6f 6e 3d 75 70 64 61 74 65 72 61 77 26 72 65 61 6c 74 69 6d 65 3d 31 26 72 74 66 72 65 71 3d 35 20 48 54 54 50 2f 31 2e 30 0d 0a 41 63 63 65 70 74 3a 2a 2f 2a 0d 0a 48 6f 73 74 3a 20 72 74 75 70 64 61 74 65 2e 77 75 6e 64 65 72 67 72 6f 75 6e 64 2e 63 6f 6d 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 43 6c 6f 73 65 0d 0a 0d 0a Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: ServerThread: SNIFF: ID=ITILBURG71&PASSWORD=XXXX&indoortempf=73.0&tempf=59.9&dewptf=59.5&windchillf=59.9&indoorhumidity=60&humidity=99&windspeedmph=0.7&windgustmph=1.1&winddir=267&absbaromin=29.73&baromin=29.56&rainin=0.50&dailyrainin=0.83&weeklyrainin=1.08&monthlyrainin=3.11&yearlyrainin=-9999&solarradiation=12.48&UV=0&dateutc=2017-7-12%206:3:7&softwaretype=EasyWeatherV1.1.2&action=updateraw&realtime=1&rtfreq=5 HTTP/1.0#015#012Accept:*/*#015#012Host: rtupdate.wunderground.com#015#012Connection: Close Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: ServerThread: sniff: start GET Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: raw data: ID=ITILBURG71&PASSWORD=xxxxxxxx&indoortempf=73.0&tempf=59.9&dewptf=59.5&windchillf=59.9&indoorhumidity=60&humidity=99&windspeedmph=0.7&windgustmph=1.1&winddir=267&absbaromin=29.73&baromin=29.56&rainin=0.50&dailyrainin=0.83&weeklyrainin=1.08&monthlyrainin=3.11&yearlyrainin=-9999&solarradiation=12.48&UV=0&dateutc=2017-7-12%206:3:7&softwaretype=EasyWeatherV1.1.2&action=updateraw&realtime=1&rtfreq=5 HTTP/1.0#015#012Accept:*/*#015#012Host: rtupdate.wunderground.com#015#012Connection: Close Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter rainin=0.50 Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: unrecognized parameter absbaromin=29.73 Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter dailyrainin=0.83 Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: ignored parameter monthlyrainin=3.11 Anybody have any idea what is going wrong? Any help is appreciated! Fred -- 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]. For more options, visit https://groups.google.com/d/optout.
# WEEWX CONFIGURATION FILE # # Copyright (c) 2009-2015 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 = / # 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 = 3.7.1 ############################################################################## # This section is for information about the station. [Station] # Description of the station location location = "Tilburg, Reeshof, Leeuwerik" # Latitude and longitude in decimal degrees latitude = 51.5916780 longitude = 4.9848560 # Altitude of the station, with unit it is in. This is downloaded from # from the station if the hardware supports it. altitude = 10, meter # 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 = Interceptor # 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 ############################################################################## [Simulator] # This section is for the weewx weather station simulator # The time (in seconds) between LOOP packets. loop_interval = 2.5 # The simulator mode can be either 'simulator' or 'generator'. # Real-time simulator. Sleep between each LOOP packet. mode = simulator # Generator. Emit LOOP packets as fast as possible (useful for testing). #mode = generator # The start time. If not specified, the default is to use the present time. #start = 2011-01-01 00:00 # The driver to use: driver = weewx.drivers.simulator ############################################################################## # 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. enable = false username = replace_me # To guard against parsing errors, put your password in quotes: password = replace_me [[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 = replace_me # 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. enable = false station = replace_me # To guard against parsing errors, put your password in quotes: password = replace_me [[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. enable = false station = replace_me # To guard against parsing errors, put your password in quotes: password = replace_me [[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. enable = false station = replace_me # To guard against parsing errors, put your password in quotes: password = replace_me # 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 # Each of the following subsections defines a report that will be run. [[StandardReport]] # 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. # The StandardReport uses the 'Standard' skin, which contains the # images, templates and plots for the report. skin = Standard [[[Units]]] [[[[Groups]]]] group_altitude = meter group_speed2 = meter_per_second2 group_pressure = mbar group_rain = mm group_rainrate = mm_per_hour group_temperature = degree_C group_degree_day = degree_C_day group_speed = meter_per_second [[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, uncomment and fill out the next four lines. #user = replace with the ftp username #password = replace with the ftp password; put in quotes to guard against parsing errors. #server = replace with the ftp server name, e.g, www.threefools.org #path = replace with the ftp 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 as to the user account on the remote machine where the files # will be copied. # # The following three lines determine where files will be sent. #server = replace with the rsync server name, e.g, www.threefools.org #path = replace with the rsync destination directory (e.g., /weather) #user = replace with the rsync username # 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 ############################################################################## # 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 outTemp = -40, 120, degree_F inTemp = 10, 120, degree_F outHumidity = 0, 100 inHumidity = 0, 100 windSpeed = 0, 120, mile_per_hour pressure = 24, 34.5, inHg ############################################################################## # This section controls the origin of derived values. [StdWXCalculate] [[Calculations]] # Derived quantities are calculated by this service. 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 barometer = prefer_hardware altimeter = prefer_hardware windchill = prefer_hardware heatindex = prefer_hardware dewpoint = prefer_hardware inDewpoint = prefer_hardware rainRate = 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.wxmanager.WXDaySummaryManager # The schema defines the structure of the database. # It is *only* used when the database is created. schema = schemas.wview.schema ############################################################################## # This section defines various databases. [Databases] # A SQLite database is simply a single file [[archive_sqlite]] database_type = SQLite database_name = weewx.sdb # MySQL [[archive_mysql]] database_type = MySQL database_name = weewx ############################################################################## # 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 = weewx # The password for the user name. Put in quotes to guard against parsing errors. password = weewx ############################################################################## # 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 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 ############################################################################## [Interceptor] # This section is for the network traffic interceptor driver. # The driver to use: driver = user.interceptor # Specify the hardware device to capture. Options include: # acurite-bridge - acurite internet bridge # observer - fine offset WH2600/HP1000/HP1003, aka 'observer' # lw30x - oregon scientific LW301/LW302 # lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge device_type = observer mode = sniff iface = enxb827eb718db1 pcap_filter = src 192.168.2.165 and dst port 80
