// WapSeer Control // // Averages/Extreme // ================ // // // month and then the year numbers // e.g %houraveragetemp%08032003 for the average temperature for 8am (use a 24 hour clock) (hour preceding that, for the // // month of March 2003) // // month and then the year numbers // // // // // (total for the current month) // // current month as total) (from your entered averages) // // // // // // // // // // Temperature/Humidity // ==================== // Current: // -------- $temperature = "%temp%"; // temperature $humidity = "%hum%"; // humidity $dewpt = "%dew%"; // dew point $maxtemp = "%maxtemp%"; // today's maximum temperature $maxtempt = "%maxtempt%"; // time this occurred $mintemp = "%mintemp%"; // today's minimum temperature $mintempt = "%mintempt%"; // time this occurred // VP soil temperature) $feelslike = "%feelslike%"; // Shows heat index or humidex or windchill (if less than 16oC) $heati = "%heati%"; // current heat index $heatinodp = "%heatinodp%"; // current heat index,no decimal place $windch = "%windch%"; // current wind-chill $windchnodp = "%windchnodp%"; // current wind-chill, no decimal place $humidexfaren = "%humidexfaren%"; // Humidex value in oF $humidexcelsius = "%humidexcelsius%"; // Humidex value in oC $apparenttemp = "%apparenttemp%"; // Apparent temperature $apparentsolartemp = "%apparentsolartemp%"; // Apparent temperature in the sun (you need a solar sensor) $apparenttempc = "%apparenttempc%"; // Apparent temperature, °C $apparentsolartempc = "%apparentsolartempc%"; // Apparent temperature in the sun, °C (you need a solar sensor) $apparenttempf = "%apparenttempf%"; // Apparent temperature, °F $apparentsolartempf = "%apparentsolartempf%"; // Apparent temperature in the sun, °F (you need a solar sensor) // // Yesterday: // ---------- $tempchangehour = "%tempchangehour%"; // Temperature change in the last hour $maxtempyest = "%maxtempyest%"; // Yesterday's max temperature $maxtempyestt = "%maxtempyestt%"; // Time of yesterday's max temperature $mintempyest = "%mintempyest%"; // Yesterday's min temperature $mintempyestt = "%mintempyestt%"; // Time of yesterday's min temperature // // // Trends: // ------- $temp24hoursago = "%temp24hoursago%"; // The temperature 24 hours ago $humchangelasthour = "%humchangelasthour%"; // Humidity change last hour $dewchangelasthour = "%dewchangelasthour%"; // Dew point change last hour $barochangelasthour = "%barochangelasthour%"; // Baro change last hour // // Wind // ==== // Current: // -------- // $avgspd = "%avgspd%"; // average wind speed (current) $gstspd = "%gstspd%"; // current/gust wind speed $maxgst = "%maxgst%"; // today's maximum wind speed $maxgstt = "%maxgstt%"; // time this occurred $maxgsthr = "%maxgsthr%"; // maximum gust last hour $dirdeg = "%dirdeg%"; // wind direction (degrees) $dirlabel = "%dirlabel%"; // wind direction (NNE etc) //$maxgustlastimediatehourtime = "%maxgustlastimediatehourtime%"; // %maxgustlastimediatehourtime% time that the max gust last prior 1 hour occured $avwindlastimediate10 = "%avwindlastimediate10%"; // Average wind for the last immediate 10 minute period // $avdir10minute = "%avdir10minute%"; // average ten minute wind direction (degrees) // // Yesterday: // ---------- // // // Baromometer // =========== // Current: // -------- $baroinusa2dp = "%baroinusa2dp%"; // Current barometer reading in inches, 2 decimal places only. $trend = "%trend%"; // amount of change in the last hour // // // Yesterday: // ---------- // // Rain // ==== // Current: // -------- $dayrn = "%dayrn%"; // today's rain $monthrn = "%monthrn%"; // rain so far this month $yearrn = "%yearrn%"; // rain so far this year $dayswithnorain = "%dayswithnorain%"; // Consecutative days with no rain $dayswithrain = "%dayswithrain%"; // Days with rain for the month $dayswithrainyear = "%dayswithrainyear%"; // Days with rain for the year $currentrainratehr = "%currentrainratehr%"; // Current rain rate, mm/hr (or in./hr) $maxrainrate = "%maxrainrate%"; // Max rain rate,for the day, mm/min (or in./min) $maxrainratehr = "%maxrainratehr%"; // Max rain rate,for the day, mm/hr (or in.mm) $maxrainratetime = "%maxrainratetime%"; // Time that occurred // Yesterday: // ---------- $yesterdayrain = "%yesterdayrain%"; // Yesterday rain // // Over the last Week // ------------------ // // // Sunshine/Solar/ET // ================= $VPsolar = "%VPsolar%"; // Solar energy number (W/M2) $VPuv = "%VPuv%"; // UV number $highsolar = "%highsolar%"; // Daily high solar (for Davis VP and Grow stations) $highuv = "%highuv%"; // Daily high UV (for Davis VP stations) $currentsolarpercent = "%currentsolarpercent%"; // Current solar percent for stations with a temperature solar sensor (like the dallas 1 wire) $highsolartime = "%highsolartime%"; // Time that the daily high solar occured $lowsolartime = "%lowsolartime%"; // Time that the daily low solar occured $highuvtime = "%highuvtime%"; // Time that the daily high UV occured $lowuvtime = "%lowuvtime%"; // Time that the daily low UV occured $highuvyest = "%highuvyest%"; // Yesterday's high UV $highuvyesttime = "%highuvyesttime%"; // Time of yesterday's high UV $burntime = "%burntime%"; // Time (minutes) to burn (normal skin) at the current UV rate, from the Davis VP with UV sensor // // the solar setup. // // // Number of resynchronizations, The largest number of packets in a row that were received., and the number of CRC errors // // detected. // // // Record Readings // =============== // // for current month to date: // $mrecordwindgust = "%mrecordwindgust%"; // All time record high wind gust $mrecordhighgustday = "%mrecordhighgustday%"; // Day of record high wind gust // // // Current weather warning/forecast from input daily weather // --------------------------------------------------------- // // GPS // --- // // // // History data // ------------ // // // // // // // // // // // // // repeat up to // // // // // CURRENT CONDITIONS ICONS FOR clientraw.txt // create array for icons. There are 35 possible values in clientraw.txt // It would be simpler to do this with array() but to make it easier to // modify each element is defined individually. Each index [#] corresponds // to the value provided in clientraw.txt $icon_array[0] = "day_clear.gif"; // imagesunny.visible $icon_array[1] = "night_clear.gif"; // imageclearnight.visible $icon_array[2] = "day_partly_cloudy.gif"; // imagecloudy.visible $icon_array[3] = "day_partly_cloudy.gif"; // imagecloudy2.visible $icon_array[4] = "night_partly_cloudy.gif"; // imagecloudynight.visible $icon_array[5] = "day_clear.gif"; // imagedry.visible $icon_array[6] = "fog.gif"; // imagefog.visible $icon_array[7] = "haze.gif"; // imagehaze.visible $icon_array[8] = "day_heavy_rain.gif"; // imageheavyrain.visible $icon_array[9] = "day_mostly_sunny.gif"; // imagemainlyfine.visible $icon_array[10] = "mist.gif"; // imagemist.visible $icon_array[11] = "fog.gif"; // imagenightfog.visible $icon_array[12] = "night_heavy_rain.gif"; // imagenightheavyrain.visible $icon_array[13] = "night_cloudy.gif"; // imagenightovercast.visible $icon_array[14] = "night_rain.gif"; // imagenightrain.visible $icon_array[15] = "night_light_rain.gif"; // imagenightshowers.visible $icon_array[16] = "night_snow.gif"; // imagenightsnow.visible $icon_array[17] = "night_tstorm.gif"; // imagenightthunder.visible $icon_array[18] = "day_cloudy.gif"; // imageovercast.visible $icon_array[19] = "day_partly_cloudy.gif"; // imagepartlycloudy.visible $icon_array[20] = "day_rain.gif"; // imagerain.visible $icon_array[21] = "day_rain.gif"; // imagerain2.visible $icon_array[22] = "day_light_rain.gif"; // imageshowers2.visible $icon_array[23] = "sleet.gif"; // imagesleet.visible $icon_array[24] = "sleet.gif"; // imagesleetshowers.visible $icon_array[25] = "snow.gif"; // imagesnow.visible $icon_array[26] = "snow.gif"; // imagesnowmelt.visible $icon_array[27] = "snow.gif"; // imagesnowshowers2.visible $icon_array[28] = "day_clear.gif.gif"; // imagesunny.visible $icon_array[29] = "day_tstorm.gif"; // imagethundershowers.visible $icon_array[30] = "day_tstorm.gif"; // imagethundershowers2.visible $icon_array[31] = "day_tstorm.gif"; // imagethunderstorms.visible $icon_array[32] = "tornado.gif"; // imagetornado.visible $icon_array[33] = "windy.gif"; // imagewindy.visible $icon_array[34] = "day_partly_cloudy.gif"; // stopped rainning $current_icon = $icon_array[%iconnumber%]; // name of our condition icon $current_summary = '%weathercond%' . "
" . '%Currentsolardescription%'; // // // // end of generation script ?>