Update: I applied the wxxtypes.py patch described here : https://github.com/weewx/weewx/commit/9dc4da86a260f01d8792ac93d12871a05bff572d?diff=unified This should replace any missing LOOP windGustDir by windDir values. Still no Gust speed/dir recorded in DB after applying this patch. I also tried patch together with removal of the [[Corrections]] windGustDir = windDir if windDir is not None else None I also tried patch with and without [[Calculations]]windGustDir = software
No luck so far. Any help most appreciated. On Wednesday, 23 November 2022 at 12:30:27 UTC+1 Pascal Hingamp wrote: > Hi, > > I'm running weewx 4.9.1 with a dual station setup : a WMR88 station via > the USB weewx.drivers.wmr100 (logging for many years) together with a > GW2000 ecoWitt station running as a service (logging for a week). I > remapped the old Oregon station wind related variables by adding a '2' > suffix in the wmr100.py driver, in order to replace wind reading with those > from the new GW2000 station. > > Logging and display have been working just fine for the last week, but > last night wind gusts (speed and dir) suddently stopped being > recorded/displayed, as seen in the weewx archve table : > dateTime datetime(dateTime, 'unixepoch') windGust windGustDir > windSpeed windDir > ---------- ------------------------------- ---------- ----------- > ---------------- --------------- > 1669139400 2022-11-22 17:50:00 > 7.22532218176395 280.95215157232 > 1669139100 2022-11-22 17:45:00 > 7.60560229659364 284.20981561621 > 1669138800 2022-11-22 17:40:00 > 7.30734338300173 295.54055722354 > 1669138500 2022-11-22 17:35:00 > 7.75473175338959 281.18064855675 <(806)%20485-5675> > 1669138200 2022-11-22 17:30:00 > 7.42257978143496 299.06003904900 > 1669137900 2022-11-22 17:25:00 > 8.00825182994271 283.46629857763 > 1669137600 2022-11-22 17:20:00 > 8.61222612996632 276.67245304845 > 1669137300 2022-11-22 17:15:00 > 7.68016702499161 280.37147072165 > 1669137000 2022-11-22 17:10:00 > 6.66608671877913 302.74299652088 > 1669136700 2022-11-22 17:05:00 13.6453452 306.0 > 7.15821392620577 294.39581036261 > 1669136400 2022-11-22 17:00:00 18.3429231 269.0 > 7.44582073574083 298.16933154622 > 1669136100 2022-11-22 16:55:00 13.6453452 296.0 > 6.48713137062398 272.48533838493 > 1669135800 2022-11-22 16:50:00 17.2244522 328.0 > 7.54168967225251 290.03102191181 > 1669135500 2022-11-22 16:45:00 22.8168068 294.0 > 7.7050219344576 294.12339871788 > 1669135200 2022-11-22 16:40:00 12.5268743 347.0 > 6.87859619471336 301.56943730000 > 1669134900 2022-11-22 16:35:00 17.2244522 295.0 > 8.27668485217543 285.00269131716 > 1669134600 2022-11-22 16:30:00 11.4084034 285.0 > 5.1449662594604 296.24143220485 > 1669134300 2022-11-22 16:25:00 15.8822871 293.0 > 7.45647283979768 285.24507027328 > 1669134000 2022-11-22 16:20:00 15.8822871 302.0 > 7.90386121018554 293.94660274085 > I confess I was fiddling with the weewx.conf and Seasons skin.conf files > around that time 😟, but to the best of my knowledge I wasn't playing with > anything to do with wind gusts ! > One thing I've just noticed on the GW2000 web interface "Live data" web > page, is that I'm only seing "Gust Speed" displayed, not "Gust Dir", and > indeed only "windGust" and not "windGustDir" is appearing in the LOOP data. > Could it be that gust LOOP data is only recorded in the DB if the pair is > present in LOOP ? That would explain why it is no longer recorded in the > DB, but leases the question open as to why the GW2000 is no longer > providing gust dir ? > > I rebooted the GW2000, but still no gust dir on its Live web interface. > Maybe its firmware was updated last night (Current version:V2.2.0), with > gust dir being dropped in the new firmware ? But I can't get a list of > firmware updates (with dates or changelogs) from the ecoWitt web site, as > the station only has a "automatic" network update feature, no manual > firmware update via the web interface. > > In a desperate hack attempt, I added a line in the [[Corrections]] section > of weewx.conf to copy windGustDir from windDir (copy below). To no avail, > still no gust data being recorded. > > Any hints as to why gusts may have been dropped most welcome 😀 > Kind regards, > Pascal > Log is attached (debug=2) > Weewx installed via debian package on a raspberry > Extracts for driver and service from the weewx.conf: > > ############################################################################## > > [WMR100] > # This section is for the Oregon Scientific WMR100 > > # The station model, e.g., WMR100, WMR100N, WMRS200 > model = WMR100 > > # How long a wind record can be used to calculate wind chill (in > seconds) > stale_wind = 360 > > # The driver to use: > driver = weewx.drivers.wmr100 > > ############################################################################## > > # 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 > radiation = luminosity/126.7 if luminosity is not None else None > windGustDir = windDir if windDir is not None else None > > ############################################################################## > > # This section controls the origin of derived values. > > [StdWXCalculate] > > [[Calculations]] > # How to calculate derived quantities. Possible values are: > # hardware - use the value provided by hardware > # software - use the value calculated by weewx > # prefer_hardware - use value provide by hardware if available, > # otherwise use value calculated by weewx > > pressure = prefer_hardware > altimeter = prefer_hardware > appTemp = prefer_hardware > barometer = prefer_hardware > cloudbase = prefer_hardware > dewpoint = prefer_hardware > ET = prefer_hardware > heatindex = prefer_hardware > humidex = prefer_hardware > inDewpoint = prefer_hardware > maxSolarRad = prefer_hardware > rainRate = prefer_hardware > windchill = prefer_hardware > windrun = prefer_hardware > > ############################################################################## > > # This section configures the internal weewx engine. > > [Engine] > > # The following section specifies which services should be run and in > what order. > [[Services]] > prep_services = weewx.engine.StdTimeSynch > data_services = user.gw1000.GatewayService > process_services = weewx.engine.StdConvert, > weewx.engine.StdCalibrate, weewx.engine.StdQC, > weewx.wxservices.StdWXCalculate > xtype_services = weewx.wxxtypes.StdWXXTypes, > weewx.wxxtypes.StdPressureCooker, weewx.wxxtypes.StdRainRater, > weewx.wxxtypes.StdDelta > archive_services = weewx.engine.StdArchive, > user.forecast.OWMForecast > #restful_services = weewx.restx.StdStationRegistry, > weewx.restx.StdWunderground, weewx.restx.StdPWSweather, > weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS > restful_services = , > report_services = weewx.engine.StdPrint, weewx.engine.StdReport > > > ############################################################################## > [GW1000] > # This section is for the Ecowitt Gateway driver. > > # How often to poll the API, default is every 20 seconds: > poll_interval = 15 > > # The driver to use: > driver = user.gw1000 > ip_address = 192.168.10.31 > max_tries = 2 > retry_wait = 5 > wh32 = True > log_unknown_fields = True > debug_rain = False > debug_wind = False > debug_sensors = True > debug_loop = True > max_age = 60 > lost_contact_log_period = 3600 > [[field_map_extensions]] > extraHumid3 = inhumid > extraTemp3 = intemp > outTempBatteryStatus = wh32_batt > signal5 = wh32_sig > #radiation = light > windBatteryStatus = wh68_batt > signal1 = wh68_sig > rainBatteryStatus = wh40_batt > signal2 = wh40_sig > batteryStatus3 = wh51_ch1_batt > signal3 = wh51_ch1_sig > batteryStatus4 = wh51_ch2_batt > signal4 = wh51_ch2_sig > windGust = gustspeed > #windGustDir = winddir > > > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/6d1fac8b-9b30-4460-9401-ca6fc5da5d81n%40googlegroups.com.