Hi Tom,

Many thanks, the second option works perfectly!

Craig


On Monday, January 8, 2018 at 3:55:52 PM UTC+1, Tom Keffer wrote:
>
> The RF frequency is set by the frequency of your LOOP (aka raw) packets. 
> On the Vantage stations, this is every 2 seconds. I can think of two ways 
> of working around your problem of super long latency.
>
> 1. There is a timeout of the uploader which can be set. The default is 10 
> seconds. You could set it to something longer. Of course, that will cause 
> the packets to back up, but there is an option to limit how big the backup 
> queue can get. 
>
> Putting these two things together, you would want:
>
>     [[Wunderground]]
>
>         ...
>
>         
>
>         rapidfire = True
>
>         timeout = 15     # 15 second timeout
>
>         max_backlog = 5  # Trim the queue if it exceeds 5 packets
>
> 2. Another option would be to limit the uploads to every 15 or 20 seconds. 
> You can do that with option post_interval:
>
>     [[Wunderground]]
>
>         ...
>
>         
>
>         rapidfire = True
>
>         post_interval = 20 # Only post once every 20 seconds
>
> NB: I have not tested either of these options.
>
> Frankly, the WU servers are very unreliable and you can drive yourself 
> crazy trying to get this stuff to work consistently.
>
> -tk
>
>
> On Mon, Jan 8, 2018 at 5:19 AM, ON9CB <[email protected] <javascript:>> 
> wrote:
>
>> Hi All,
>>
>> I just updated to 3.8.0 and have run into an issue with randomly failing 
>> WU rapid fire uploads.  Something like 80 to 90% of the rapid fire uploads 
>> fail.  There are 8 attempts in the syslog fragment below.  Of those 8 
>> attempts, 7 failed.  Some attempts show timed out and others show ' '.  
>> These were around 1219 UTC.  No uploads to other sites fail.  I've attached 
>> a debug report just in case.
>>
>> Per a tip from another thread, I'm able to get a 'success' response 100% 
>> of the time using a  browser but - it consistently takes between 15 and 20 
>> seconds for each response.  The RTU server (at 54.187.172.130) is somewhere 
>> beyond 170 ms and 26 hops from my location, but that alone doesn't explain 
>> 15+ second response times.  For what it's worth, I've been experiencing 
>> consistently slow response times and generally poor performance on the 
>> Wunderground site which seems to have started about 3 or 4 months back.
>>
>> My questions are, where can I change the the rapid fire upload frequency 
>> (or period) which seems to be around 5 seconds, and do I want to change the 
>> response failure timeout value?
>>
>> Thanks!!
>>
>> Craig
>>
>>
>>
>> >>>>>>>>>>>>
>>
>> Jan  8 13:19:22 Weewx weewx[1684]: restx: Ambient: url: 
>> http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A23&rtfreq=2.5&dailyrainin=0.00&winddir=069&tempf=37.0&windspeedmph=4.0&windgustmph=7.0&rainin=0.00
>>
>> Jan  8 13:19:23 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload 
>> attempt 1: ''
>>
>> Jan  8 13:19:28 Weewx weewx[1684]: restx: Ambient: url: 
>> http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A27&rtfreq=2.5&dailyrainin=0.00&winddir=063&tempf=37.0&windspeedmph=7.0&windgustmph=7.0&rainin=0.00
>>
>> Jan  8 13:19:38 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload 
>> attempt 1: timed out
>>
>> Jan  8 13:19:43 Weewx weewx[1684]: restx: Ambient: url: 
>> http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A43&rtfreq=2.5&dailyrainin=0.00&winddir=061&tempf=37.0&windspeedmph=7.0&windgustmph=8.0&rainin=0.00
>>
>> Jan  8 13:19:43 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload 
>> attempt 1: ''
>>
>> Jan  8 13:19:48 Weewx weewx[1684]: restx: Ambient: url: 
>> http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A49&rtfreq=2.5&dailyrainin=0.00&winddir=078&tempf=37.0&windspeedmph=9.0&windgustmph=10.0&rainin=0.00
>>
>> Jan  8 13:19:49 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload 
>> attempt 1: ''
>>
>> Jan  8 13:19:54 Weewx weewx[1684]: restx: Ambient: url: 
>> http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A19%3A53&rtfreq=2.5&dailyrainin=0.00&winddir=135&tempf=37.0&windspeedmph=6.0&windgustmph=10.0&rainin=0.00
>>
>> Jan  8 13:20:03 Weewx weewx[1684]: restx: Ambient: url: 
>> http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A20%3A03&rtfreq=2.5&dailyrainin=0.00&winddir=057&tempf=37.0&windspeedmph=7.0&windgustmph=7.0&rainin=0.00
>>
>> Jan  8 13:20:10 Weewx weewx[1684]: vantage: Getting archive packets since 
>> 2018-01-08 13:19:00 CET (1515413940)
>>
>> Jan  8 13:20:10 Weewx weewx[1684]: vantage: Gentle wake up of console 
>> successful
>>
>> Jan  8 13:20:10 Weewx weewx[1684]: vantage: Retrieving 1 page(s); 
>> starting index= 3
>>
>> Jan  8 13:20:11 Weewx weewx[1684]: manager: Added record 2018-01-08 
>> 13:20:11 CET (1515414011) to database 'cmon.sdb'
>>
>> Jan  8 13:20:11 Weewx weewx[1684]: manager: Added record 2018-01-08 
>> 13:20:11 CET (1515414011) to daily summary in 'cmon.sdb'
>>
>> Jan  8 13:20:13 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload 
>> attempt 1: timed out
>>
>> Jan  8 13:20:18 Weewx weewx[1684]: restx: Ambient: url: 
>> http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?action=updateraw&ID=ILIMBURG74&PASSWORD=XXX&softwaretype=weewx-3.8.0&realtime=1&baromin=30.159&dewptf=33.5&humidity=087&dateutc=2018-01-08%2012%3A20%3A11&rtfreq=2.5&dailyrainin=0.00&winddir=076&tempf=37.0&windspeedmph=7.0&windgustmph=7.0&rainin=0.00
>>
>> Jan  8 13:20:19 Weewx weewx[1684]: restx: Wunderground-RF: Failed upload 
>> attempt 1: ''
>>
>> Jan  8 13:20:21 Weewx weewx[1684]: manager: Added record 2018-01-08 
>> 13:20:00 CET (1515414000) to database 'weewx.sdb'
>>
>> Jan  8 13:20:21 Weewx weewx[1684]: manager: Added record 2018-01-08 
>> 13:20:00 CET (1515414000) to daily summary in 'weewx.sdb'
>>
>> Jan  8 13:20:24 Weewx weewx[1684]: forecast: MainThread: Zambretti: 
>> starting thread
>>
>> Jan  8 13:20:24 Weewx weewx[1684]: forecast: ZambrettiThread: Zambretti: 
>> forecast was already calculated for 2018-01-08 09:00:00 CET (1515398400)
>>
>> Jan  8 13:20:24 Weewx weewx[1684]: forecast: MainThread: WU: not yet time 
>> to do the forecast
>>
>> Jan  8 13:20:24 Weewx weewx[1684]: forecast: ZambrettiThread: Zambretti: 
>> terminating thread
>>
>> <<<<<<<<<<<<<<<<<<<<<<<<<<
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to