My issue is missing rain in the reports.

I have weewx 4.10.2 with weather station WH1080. But it's rain sensor is 
defect. 
I received a WN1980ae with WH40 rain sensor but not yet the WS90. To keep 
the outside temp and wind, I installed user.gw1000 0.6.0b2 and set it up as 
service, not driver. User.gw1000 finds the WN1980ae station. When I test 
run user.gw1000 with --test-service it reports rain:

LOOP:   2023-12-24 22:12:44 CET (1703452364) 'dateTime': '1703452364', 
'dayRain': '2.3425196850393704', 'dummyTemp': '96.3', 'inHumidity': '51', 
'inTemp': '69.98', 'monthRain': '3.732283464566929', 'pressure': 
'28.3192580125', 'rain': '0.003937007874015524', 'rainRate': 
'0.047244094439999995', 'relbarometer': '1003.2', 'stormRain': 
'2.3425196850393704', 'usUnits': '1', 'weekRain': '2.3425196850393704', 
'wh40_batt': '1.41', 'wh40_sig': '4', 'yearRain': '3.732283464566929'

But the rain never make it in the augmented from weewxd run directly. All 
other rain field (dayRain, etc are filled). And I have no rain in the 
reports.

LOOP:   2023-12-24 22:12:00 CET (1703452320) 'altimeter': 
'29.80880623780368', 'appTemp': '41.33501455838798', 'barometer': 
'29.827191840290514', 'cloudbase': '1444.6923571662626', 'dateTime': 
'1703452320', 'dayRain': '2.3385826771653546', 'delay': '12', 'dewpoint': 
'47.29239559598307', 'ET': 'None', 'heatindex': '47.42999999999999', 
'humidex': '49.4860389883321', 'inDewpoint': '51.22109845904412', 
'inHumidity': '60.0', 'inTemp': '65.48', 'maxSolarRad': '0.0', 'monthRain': 
'3.7283464566929134', 'outHumidity': '96.0', 'outTemp': 
'48.379999999999995', 'outTempBatteryStatus': '0', 'pressure': 
'28.537779920000002', 'ptr': '38864', 'radiation': 'None', 'rain': '0.0', 
'rainRate': '0.023622047219999998', 'rainTotal': '7.050000000000001', 
'relbarometer': '1003.3', 'rxCheckPercent': '100', 'status': '0', 
'stormRain': '2.3385826771653546', 'usUnits': '1', 'UV': 'None', 
'weekRain': '2.3385826771653546', 'wh40_batt': '1.41', 'wh40_sig': '4', 
'windchill': '43.564900660116336', 'windDir': '90.0', 'windGust': 
'17.448146445126575', 'windrun': 'None', 'windSpeed': '11.408403444890455', 
'yearRain': '3.7283464566929134'
LOOP:   2023-12-24 22:13:01 CET (1703452381) 'altimeter': 
'29.80880623780368', 'appTemp': '39.571014558387986', 'barometer': 
'29.827191840290514', 'cloudbase': '1444.6923571662626', 'dateTime': 
'1703452381', 'dayRain': '2.34251968503937', 'delay': '13', 'dewpoint': 
'47.29239559598307', 'ET': 'None', 'heatindex': '47.42999999999999', 
'humidex': '49.4860389883321', 'inDewpoint': '51.22109845904412', 
'inHumidity': '60.0', 'inTemp': '65.48', 'maxSolarRad': '0.0', 'monthRain': 
'3.732283464566929', 'outHumidity': '96.0', 'outTemp': 
'48.379999999999995', 'outTempBatteryStatus': '0', 'pressure': 
'28.537779920000002', 'ptr': '38864', 'radiation': 'None', 'rain': '0.0', 
'rainRate': '0.047244094439999995', 'rainTotal': '7.050000000000001', 
'relbarometer': '1003.2', 'rxCheckPercent': '100', 'status': '0', 
'stormRain': '2.34251968503937', 'usUnits': '1', 'UV': 'None', 'weekRain': 
'2.34251968503937', 'wh40_batt': '1.41', 'wh40_sig': '4', 'windchill': 
'42.68467215537006', 'windDir': '90.0', 'windGust': '19.014005741484088', 
'windrun': 'None', 'windSpeed': '14.540122037605482', 'yearRain': 
'3.732283464566929'

I have no custom field_map.

I am not able to run it with debug = 1. Then gw1000 throw this error:
Traceback (most recent call last):
  File "/home/weewx/bin/weewxd", line 249, in <module>
    main()
  File "/home/weewx/bin/weewxd", line 148, in main
    engine = weewx.engine.StdEngine(config_dict)
  File "/home/weewx/bin/weewx/engine.py", line 93, in __init__
    self.loadServices(config_dict)
  File "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
    obj = weeutil.weeutil.get_object(svc)(self, config_dict)
  File "/home/weewx/bin/user/gw1000.py", line 1390, in __init__
    loginf('     field map is %s' % self.field_map())
AttributeError: 'GatewayService' object has no attribute 'field_map'

Does the gw1000 support the WN1980ae? Any idea how I can get the rain in 
weewx?

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/52e36283-efe0-4e34-bd48-c2bd8955f926n%40googlegroups.com.

Reply via email to