Rapid Fire Protocol looks very similar to standard Wunderground updates

347 views
Skip to first unread message

Jim Moudy

unread,
Mar 8, 2013, 3:45:08 PM3/8/13
to weewx...@googlegroups.com

Looks like it should be pretty simple to add an update for rapidfire to Wunderground... I've looked at the code and it seems a pretty simple update. However, I'm not sure how to get the updater to fire more frequently than the archive interval. adding an interval = 5 in  [[Wunderground]] doesn't change anything.


From Wunderground wiki ....


RapidFire Updates

RapidFire Updates allow you to update weather station conditions at a frequency up to once observation every 2.5 seconds. Web site visitors will see these observations change in real-time on the wunderground.com site.

  • A real-time update should look almost like the standard update.
  • However, the server to request is:
  • And, please add to the query string:
    • &realtime=1&rtfreq=2.5
  • where rtrfreq is the frequency of updates in seconds.
  • here is an example:
http://rtupdate.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XXXXXX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windspeedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action=updateraw&realtime=1&rtfreq=2.5
  • We haven't decided whether you should also send standard updates if the user is uploading in real-time. For now, I think we are leaning toward either only sending standard updates, or only sending real-time updates, not requiring that both are sent when the user is in real-time mode. That'll be simpler.

Thomas Keffer

unread,
Mar 8, 2013, 10:05:48 PM3/8/13
to weewx...@googlegroups.com
That's what keeps it from being simple.

I've thought about this as well. The simplest and quickest way to bring in rapidfire would be to write a new service. 

I have not gotten around to doing this because I wanted to unify the present RESTful code along with the rapidfire code. That's a little more complicated.

But, if you want to write your own service, go for it! Great exercise for the student. The only subtle part is that it has to be done in a separate thread so as not to slow down the main loop.  :-)

-tk

--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Tom Keffer
kef...@threefools.org
+1 541-386-8891 (h)
+1 541-490-9507 (c)
Skype: tkeffer
Reply all
Reply to author
Forward
0 new messages