Difference between revisions of ":Templates/5/en"

From meteobridge
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
Line 1: Line 1:
 
Apart from selectors that use absolute, predefined time slots there are also selectors that look for a certain amount of time into the past.
 
Apart from selectors that use absolute, predefined time slots there are also selectors that look for a certain amount of time into the past.
* '''val2''', '''val5''', '''val10''', '''val15''', '''val30''', '''val60''': selects the value the sensor has shown 2, 5, 10, 15, 30 or 60 minutes ago
+
* '''val2''', '''val5''', '''val10''', '''val15''', '''val30''', '''val60''': selects the value the sensor has shown 2, 5, 10, 15, 30 or 60 minutes ago (This is only available for sensors with ID 0 and 1, like "th0temp" or "th1temp")
 
* '''max2''', '''max5''', '''max10''', '''max15''', '''max30''', '''max60''': selects the maximum value from the last 2, 5, 10, 15, 30 or 60 minutes
 
* '''max2''', '''max5''', '''max10''', '''max15''', '''max30''', '''max60''': selects the maximum value from the last 2, 5, 10, 15, 30 or 60 minutes
 
* '''min2''', '''min5''', '''min10''', '''min15''', '''min30''', '''min60''': selects the minimum value from the last 2, 5, 10, 15, 30 or 60 minutes
 
* '''min2''', '''min5''', '''min10''', '''min15''', '''min30''', '''min60''': selects the minimum value from the last 2, 5, 10, 15, 30 or 60 minutes

Revision as of 19:46, 4 June 2015

Apart from selectors that use absolute, predefined time slots there are also selectors that look for a certain amount of time into the past.

  • val2, val5, val10, val15, val30, val60: selects the value the sensor has shown 2, 5, 10, 15, 30 or 60 minutes ago (This is only available for sensors with ID 0 and 1, like "th0temp" or "th1temp")
  • max2, max5, max10, max15, max30, max60: selects the maximum value from the last 2, 5, 10, 15, 30 or 60 minutes
  • min2, min5, min10, min15, min30, min60: selects the minimum value from the last 2, 5, 10, 15, 30 or 60 minutes
  • avg2, avg5, avg10, avg15, avg30, avg60: selects average value from the last 2, 5, 10, 15, 30 or 60 minutes

For sensors delivering cumulated values like "rain0total" and "sol0evo" the following selectors are defined:

  • sum2, sum5, sum10, sum15, sum30, sum60, sum1h, sum3h, sum6h, sum12h, sum24h: selects summerized delta values from the last 2, 5, 10, 15, 30, 60 minutes or 1, 3, 6, 12, 24 hours. This is useful to get amount of total rain in a certain time frame: "rain0total-sum60" is rainfall im mm of last 60 minutes.