Ramdom crashes with interceptor driver

32 views
Skip to first unread message

enu...@gmail.com

unread,
Jul 6, 2024, 12:49:54 PM7/6/24
to weewx-user
I have random crashes but every few days. The error it gave is
CRITICAL __main__: Caught unrecoverable exception:
Jul 06 11:48:10 raspberrypi weewxd[662]: CRITICAL __main__: **** 'totalrainin'
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** Traceback (most recent call last):
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** File "/usr/share/weewx/weewxd.py", line 166, in main
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** engine.run()
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** File "/usr/share/weewx/weewx/engine.py", line 204, in run
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** for packet in self.console.genLoopPackets():
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** File "/etc/weewx/bin/user/interceptor.py", line 2558, in genLoopPackets
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** pkt = self._device.parser.parse(data)
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** File "/etc/weewx/bin/user/interceptor.py", line 2398, in parse
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** self.LABEL_MAP.pop('totalrainin')
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** KeyError: 'totalrainin'
Jul 06 11:48:17 raspberrypi weewxd[662]: CRITICAL __main__: **** Exiting.

Normally the driver with debug=1 exposes this

Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter b'PASSKEY=8CC9A3BD663DEC8EC99CEE4BEDBB3541
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter stationtype=EasyWeatherPro_V5.1.1
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter runtime=3
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter baromrelin=29.911
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter maxdailygust=18.34
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter eventrainin=0.000
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter hourlyrainin=0.000
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter dailyrainin=0.020
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter weeklyrainin=0.020
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter monthlyrainin=0.020
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter rrain_piezo=0.000
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter erain_piezo=0.000
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter hrain_piezo=0.000
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter drain_piezo=0.000
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter wrain_piezo=0.000
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter mrain_piezo=0.000
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter yrain_piezo=0.000
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter freq=868M
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: ignored parameter model=HP1000SE-PRO_Pro_V1.7.8
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: unrecognized parameter interval=16'
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: raw packet: {'dateTime': 1720284397, 'usUnits': 1, 'temperature_in': 72.5, 'humidity_in': 56.0, 'pressure': 30.088, 'temperature_out': 69.4, 'humidity_out': 55.0, 'wind_dir': 248.0, 'wind_speed': 6.93, 'wind_gust': 14.76, 'solar_radiation': 416.34, 'uv': 3.0, 'rain_rate': 0.0, 'rain_total': 55.248, 'temperature_1': 71.8, 'humidity_1': 52.0, 'wh68_battery': 1.66, 'wh40_battery': 1.4, 'wh25_battery': 0.0, 'wh26_battery': 0.0, 'battery_1': 0.0, ' rain ': 0.0}
Jul 06 18:46:38 raspberrypi weewxd[150742]: DEBUG user.interceptor: mapped packet: {'dateTime': 1720284397, 'usUnits': 1, 'pressure': 30.088, 'outHumidity': 55.0, 'inHumidity': 56.0, 'outTemp': 69.4, 'inTemp': 72.5, 'windSpeed': 6.93, 'windGust': 14.76, 'windDir': 248.0, 'radiation': 416.34, 'rain': 0.0, 'rainRate': 0.0, 'UV': 3.0, 'extraTemp1': 71.8, 'extraHumid1': 52.0, 'rainBatteryStatus': 1.4, 'windBatteryStatus': 1.66, 'outTempBatteryStatus': 0.0, 'inTempBatteryStatus': 0.0}
Reply all
Reply to author
Forward
0 new messages