Interceptor.py - unrecognized parameter

122 views
Skip to first unread message

Chris McLeod

unread,
Jul 26, 2019, 10:16:21 PM7/26/19
to weewx-user
Hello,

I have interceptor up and runnign with a DNS redirect from my Acurite Access and getting the data using the wu-client option in interceptor. The only issue I am having is that my logs are getting spammed with the following:

interceptor: MainThread: unrecognized parameter rainin=0.00

I turned logging to debug and can see the following with the unrecognized parmeter line highlighted:

Jul 26 13:34:11 wxstation weewx[8888]: interceptor: ServerThread: GET: ID=KCOTHORN74&PASSWORD=XXXX&softwaretype=myAcuRite&dateutc=now&action=updateraw&realtime=1&rtfreq=35&baromin=30.24&UV=6&humidity=19&tempf=94.7&windspeedmph=1&winddir=100&windgustmph=3&windgustdir=100&dewptf=46.0&dailyrainin=0.00&rainin=0.00
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: raw data: ID=KCOTHORN74&PASSWORD=YdrxbW2U&softwaretype=myAcuRite&dateutc=now&action=updateraw&realtime=1&rtfreq=35&baromin=30.24&UV=6&humidity=19&tempf=94.7&windspeedmph=1&winddir=100&windgustmph=3&windgustdir=100&dewptf=46.0&dailyrainin=0.00&rainin=0.00
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: using rain_total 0.0 from dailyrainin
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: firmware myAcuRite: baromin is barometer
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: unrecognized parameter rainin=0.00
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: ignored parameter softwaretype=myAcuRite
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: ignored parameter realtime=1
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: ignored parameter rtfreq=35
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: ignored parameter action=updateraw
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: ignored parameter PASSWORD=XXXXXXXX
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: ignored parameter ID=KCOTHORN74
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: raw packet: {'wind_speed': 1.0, 'barometer': 30.24, 'wind_gust': 3.0, 'dewpoint': 46.0, 'humidity_out': 19.0, 'uv': 6.0, 'rain': 0.0, 'dateTime': 1564169651, 'temperature_out': 94.7, 'wind_dir': 100.0, 'rain_total': 0.0, 'wind_gust_dir': 100.0, 'usUnits': 1}
Jul 26 13:34:11 wxstation weewx[8888]: interceptor: MainThread: mapped packet: {'barometer': 30.24, 'dewpoint': 46.0, 'outHumidity': 19.0, 'UV': 6.0, 'rain': 0.0, 'dateTime': 1564169651, 'windDir': 100.0, 'outTemp': 94.7, 'windSpeed': 1.0, 'windGust': 3.0, 'usUnits': 1, 'windGustDir': 100.0}

I can see that there are several other parmeters that are ignored and many that are recognized and mapped.

I am running version 0.46 of the interceptor driver on version 3.9.2 of weewx and I can see at line 1206 that 'rainin' is one of several assigned to a variable called IGNORED_LABELS and that set also includes all the items shown as ignored in the debug output above.

        IGNORED_LABELS = ['relbaro', 'rainin',
                          'weeklyrain', 'monthlyrain',
                          'weeklyrainin', 'monthlyrainin',
                          'realtime', 'rtfreq',
                          'action', 'ID', 'PASSWORD', 'PASSKEY', 'dateutc',
                          'softwaretype']

Can anyone see why rainin isn't being ignored while the others are? I am assuming there is good reason for it to be ignored or it wouldn't be in the IGNORED_LABELS grouping.

Thanks,

Chris
Reply all
Reply to author
Forward
0 new messages