matthewwall / weewx-interceptor

weewx driver that intercepts web traffic from internet 'bridge' devices such as Acurite Access, ObserverIP, OS LW30x, LaCross GW1000U, FineOffset GW1000
GNU General Public License v3.0
104 stars 43 forks source link

Not reporting rain or rain rate #37

Closed kevinkey619 closed 5 years ago

kevinkey619 commented 5 years ago

Hi,

Can anyone tell me why the rain total and rain rate aren't being reported? Here's a sample from the log:'

2d 41 67 65 6e 74 3a 20 41 74 6c 61 73 2f 30 34 37 0d 0a 0d 0a Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: ServerThread: SNIFF: ID=KCARAMONXXXX&PASSWORD=XXXX&softwaretype=myAcuRite&dateutc=now&action=updateraw&realtime=1&rtfreq=36&action=updateraw&realtime=1&rtfreq=35&baromin=28.71&humidity=76&tempf=60.4&windspeedmph=4&winddir=293&windgustmph=6&windgustdir=293&dewptf=52.8&dailyrainin=0.32&rainin=0.01 HTTP/1.1#015#012Host:www.wunderground.com#015#012Content-Type:application/x-www-form-urlencoded#015#012Content-Length:0#015#012Connection:close#015#012User-Agent: Atlas/047 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: ServerThread: sniff: start GET Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: raw data: ID=KCARAMONXXXX&PASSWORD=xxxxxxx&softwaretype=myAcuRite&dateutc=now&action=updateraw&realtime=1&rtfreq=36&action=updateraw&realtime=1&rtfreq=35&baromin=28.71&humidity=76&tempf=60.4&windspeedmph=4&winddir=293&windgustmph=6&windgustdir=293&dewptf=52.8&dailyrainin=0.32&rainin=0.01 HTTP/1.1#015#012Host:www.wunderground.com#015#012Content-Type:application/x-www-form-urlencoded#015#012Content-Length:0#015#012Connection:close#015#012User-Agent: Atlas/047 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: using rain_total 0.32 from dailyrainin Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: firmware myAcuRite: using baromin as barometer Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: unrecognized parameter rainin=0.01 HTTP/1.1#015#012Host:www.wunderground.com#015#012Content-Type:application/x-www-form-urlencoded#015#012Content-Length:0#015#012Connection:close#015#012User-Agent: Atlas/047 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: ignored parameter softwaretype=myAcuRite Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: ignored parameter realtime=1 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: ignored parameter rtfreq=35 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: ignored parameter action=updateraw Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: ignored parameter PASSWORD=xxxxxxx Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: ignored parameter ID=KCARAMONXXXX Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: unrecognized parameter windgustdir=293 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: raw packet: {'wind_speed': 4.0, 'barometer': 28.71, 'wind_gust': 6.0, 'dewpoint': 52.8, 'humidity_out': 76.0, 'rain': 0.0, 'dateTime': 1542916698, 'temperature_out': 60.4, 'wind_dir': 293.0, 'rain_total': 0.32, 'usUnits': 1} Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: MainThread: mapped packet: {'barometer': 28.71, 'dewpoint': 52.8, 'outTemp': 60.4, 'outHumidity': 76.0, 'dateTime': 1542916698, 'windDir': 293.0, 'pressure': 28.71, 'windSpeed': 4.0, 'windGust': 6.0, 'altimeter': 28.71, 'usUnits': 1} Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: ServerThread: sniff: timestamp=1542916697.68 pktlen=60 data=b8 27 eb 6f e8 24 24 c8 6e 0a 9b 74 08 00 45 00 00 28 9e 25 40 00 80 06 ac 9f c0 a8 06 41 68 4b 80 d6 2e 77 00 50 e8 4c ee b1 49 1b 1f 50 50 10 1c 8c 75 0c 00 00 00 00 00 00 00 00 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: ServerThread: sniff: skip 00 00 00 00 00 00 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: ServerThread: sniff: timestamp=1542916697.71 pktlen=60 data=b8 27 eb 6f e8 24 24 c8 6e 0a 9b 74 08 00 45 00 00 28 9e 26 40 00 80 06 ac 9e c0 a8 06 41 68 4b 80 d6 2e 77 00 50 e8 4c ee b1 49 1b 1f 50 50 11 20 00 71 97 00 00 00 00 00 00 00 00 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: ServerThread: sniff: skip 00 00 00 00 00 00 Nov 22 11:58:17 raspberrypi weewx[829]: interceptor: ServerThread: sniff: timestamp=1542916697.72 pktlen=60 data=b8 27 eb 6f e8 24 24 c8 6e 0a 9b 74 08 00 45 00 00 28 9e 27 40 00 80 06 ac 9d c0 a8 06 41 68 4b 80 d6 2e 77 00 50 e8 4c ee b2 49 1b 1f 50 50 14 0

kevinkey619 commented 5 years ago

Map to rain_total or rainTotal? Why do rain data being parsed?

8&humidity=67&tempf=64.0&windspeedmph=5&winddir=270&windgustmph=11&windgustdir=270&dewptf=52.8&dailyrainin=0.34&rainin=0.02 HTTP/1.1#015#012Host:www.wunderground.com#015#012Content-Type:application/x-www-form-urlencoded#015#012Content-Length:0#015#012Connection:close#015#012User-Agent: Atlas/047 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: ServerThread: sniff: start GET Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: ServerThread: sniff: timestamp=1542921586.4 pktlen=60 data=b8 27 eb 6f e8 24 24 c8 6e 0a 9b 74 08 00 45 00 00 28 09 3b 40 00 80 06 41 8a c0 a8 06 41 68 4b 80 d6 2f fe 00 50 aa b7 d4 1e 41 e4 e8 5d 50 10 1c 8c 09 d7 00 00 00 00 00 00 00 00 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: ServerThread: sniff: skip 00 00 00 00 00 00 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: raw data: ID=KCARAMONXXXX&PASSWORD=xxxxxxx&softwaretype=myAcuRite&dateutc=now&action=updateraw&realtime=1&rtfreq=36&action=updateraw&realtime=1&rtfreq=35&baromin=28.68&humidity=67&tempf=64.0&windspeedmph=5&winddir=270&windgustmph=11&windgustdir=270&dewptf=52.8&dailyrainin=0.34&rainin=0.02 HTTP/1.1#015#012Host:www.wunderground.com#015#012Content-Type:application/x-www-form-urlencoded#015#012Content-Length:0#015#012Connection:close#015#012User-Agent: Atlas/047 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: using rain_total 0.34 from dailyrainin Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: firmware myAcuRite: using baromin as barometer Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: unrecognized parameter rainin=0.02 HTTP/1.1#015#012Host:www.wunderground.com#015#012Content-Type:application/x-www-form-urlencoded#015#012Content-Length:0#015#012Connection:close#015#012User-Agent: Atlas/047 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: ignored parameter softwaretype=myAcuRite Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: ignored parameter realtime=1 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: ignored parameter rtfreq=35 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: ignored parameter action=updateraw Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: ignored parameter PASSWORD=xxxxxxx Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: ignored parameter ID=KCARAMONXXXX Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: unrecognized parameter windgustdir=270 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: skipping rain measurement of 0.34: no last rain Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: raw packet: {'wind_speed': 5.0, 'barometer': 28.68, 'wind_gust': 11.0, 'dewpoint': 52.8, 'humidity_out': 67.0, 'rain': None, 'dateTime': 1542921586, 'temperature_out': 64.0, 'wind_dir': 270.0, 'rain_total': 0.34, 'usUnits': 1} Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: MainThread: mapped packet: {'barometer': 28.68, 'dewpoint': 52.8, 'outTemp': 64.0, 'outHumidity': 67.0, 'dateTime': 1542921586, 'windDir': 270.0, 'pressure': 28.68, 'windSpeed': 5.0, 'windGust': 11.0, 'rainTotal': 0.34, 'altimeter': 28.68, 'usUnits': 1} Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: ServerThread: sniff: timestamp=1542921586.43 pktlen=60 data=b8 27 eb 6f e8 24 24 c8 6e 0a 9b 74 08 00 45 00 00 28 09 3c 40 00 80 06 41 89 c0 a8 06 41 68 4b 80 d6 2f fe 00 50 aa b7 d4 1e 41 e4 e8 5d 50 11 20 00 06 62 00 00 00 00 00 00 00 00 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: ServerThread: sniff: skip 00 00 00 00 00 00 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: ServerThread: sniff: timestamp=1542921586.45 pktlen=60 data=b8 27 eb 6f e8 24 24 c8 6e 0a 9b 74 08 00 45 00 00 28 09 3d 40 00 80 06 41 88 c0 a8 06 41 68 4b 80 d6 2f fe 00 50 aa b7 d4 1f 41 e4 e8 5d 50 14 00 00 26 5e 00 00 00 00 00 00 00 00 Nov 22 13:19:46 raspberrypi weewx[1963]: interceptor: ServerThread: sniff: skip 00 00 00 00 00 00

kevinkey619 commented 5 years ago

Seems to suddenly be working now. Closing this issue.