Alright, so I added windGustDir = wind_gust_dir to the sensor_map stanza, but I am still getting the same message in my syslog. Any ideas?
On Thursday, December 6, 2018 at 10:58:47 AM UTC-6, Alan Bryant wrote: > > Ok, so apparently I did not read everything on the Github readme for the > interceptor extension. I ran it manually with debug and this is what I am > seeing: > > raw packet: {'wind_speed': 9.0, 'barometer': 30.18, 'wind_gust': 11.0, > 'dewpoint': 63.5, 'humidity_out': 81.0, 'rain': 0.0, 'dateTime': > 1544115304, 'temperature_out': 69.6, 'wind_dir': 113.0, 'rain_total': 0.0, > 'usUnits': 1} > mapped packet: {'barometer': 30.18, 'dewpoint': 63.5, 'outHumidity': 81.0, > 'rain': 0.0, 'dateTime': 1544115304, 'windDir': 113.0, 'outTemp': 69.6, > 'windSpeed': 9.0, 'windGust': 11.0, 'usUnits': 1} > identifiers: {} > raw data: > ID=KTXTAFT8&PASSWORD=4wqrc4c0&softwaretype=myAcuRite&dateutc=now&action=updateraw&realtime=1&rtfreq=36&action=updateraw&realtime=1&rtfreq=35&baromin=30.18&humidity=81&tempf=69.6&windspeedmph=12&winddir=135&windgustmph=12&windgustdir=135&dewptf=63.5&dailyrainin=0.00&rainin=0.00 > > HTTP/1.1 > Host:www.wunderground.com > Content-Type:application/x-www-form-urlencoded > Content-Length:0 > Connection:close > User-Agent: Atlas/047 > > So it looks like I mapped most things wrong in the sensor_maps. How would > I go about mapping the windgustdir correctly? I did not see it in the debug > output. If it follows the convention of the others, I am assuming it would > b wind_gust_dir, would that be correct? Since it seems to be mapping the > others, would this be the only one I would need to put in the sensor_map > stanza? > > Thank you for any help! > > On Thursday, December 6, 2018 at 10:14:40 AM UTC-6, Alan Bryant wrote: >> >> I have an Acurite 5n1 with a base station and Access hub. I do not have a >> computer near where the station is, so I'm using Interceptor to sniff the >> traffic from the Access to WU. I've got weewx up and running and installed >> the Interceptor extension and it seems to be detecting the data sent to WU. >> Thanks Matthew! I'm getting a message in syslog that seems to be telling me >> that it cannot understand the windgustdir parameter that my Access is >> sending to WU. I did map it to windGustDir in weewx.conf. >> >> Here is the relevant line from syslog: >> >> Dec 6 10:11:01 jakku weewx[8952]: interceptor: MainThread: unrecognized >> parameter windgustdir=113 >> >> The message repeats quite a lot and the only thing changes is the >> direction. >> >> Here is my Interceptor config from weewx.conf: >> >> [Interceptor] >> # This section is for the network traffic interceptor driver. >> >> # The driver to use: >> driver = user.interceptor >> >> # Specify the hardware device to capture. Options include: >> # acurite-bridge - acurite internet bridge >> # observer - fine offset WH2600/HP1000/HP1003, aka 'observer' >> # lw30x - oregon scientific LW301/LW302 >> # lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge >> device_type = observer >> mode = sniff >> iface = eth1 >> pcap_filter = src 192.168.1.240 and dst port 80 >> >> [[sensor_map]] >> barometer = baromin >> outHumidity = humidity >> outTemp = tempf >> windSpeed = windspeedmph >> windDir = winddir >> windGust = windgustmph >> windGustDir = windgustdir >> dewpoint = dewpointf >> rain = rainin >> >> >> Here is what the access is sending to WU according to a tcpdump capture: >> >> 10:13:29.780975 IP 192.168.1.240.18347 > >> a23-67-156-86.deploy.static.akamaitechnologies.com.http: Flags [P.], seq >> 1:470, ack 1, win 8192, length 469: HTTP: GET >> /weatherstation/updateweatherstation.php?ID=KTXTAFT8&PASSWORD=4wqrc4c0&softwaretype=myAcuRite&dateutc=now&action=updateraw&realtime=1&rtfreq=36&action=updateraw&realtime=1&rtfreq=35&baromin=30.18&humidity=79&tempf=69.8&windspeedmph=10&winddir=135&windgustmph=10&windgustdir=135&dewptf=63.0&dailyrainin=0.00&rainin=0.00 >> >> HTTP/1.1 >> >> I believe I have everything configured correctly. Where else can I look >> to figure this out? >> > -- 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. For more options, visit https://groups.google.com/d/optout.