Skip to content
Samer Albahra edited this page Feb 9, 2014 · 7 revisions

The webapp supports automatic rain delay based on current weather conditions. This feature is supported with Weather underground and Yahoo. The service also removes rain delay if the weather is considered too hot. The current protocol is listed below:

Delay Method

The program will check the weather every hour and if the weather code is considered "adverse" the rain delay is set using the automatic rain delay duration variable. This can be configured from the rain delay page on the webapp. Additionally, if the weather is marked as hot the rain delay will be removed.

Yahoo!

The following weather codes are considered "adverse" and will trigger rain delay: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,35,37,38,39,40,41,42,43,44,45,46,47

The following weather codes are considered "reset" codes and will remove rain delay: 36

Source which includes description of codes: Yahoo! Developer

Weather Underground

The following weather codes are considered "adverse" and will trigger rain delay: flurries, sleet, rain, sleet, snow, tstorms, nt_flurries, nt_sleet, nt_rain, nt_sleet, nt_snow, nt_tstorms

The reset codes: sunny, nt_sunny

Clone this wiki locally