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 (This is only available for sensors with ID 0 and 1, like "th0temp" or "th1temp")
+
* '''val1''', '''val1''', '''val3''', ..., '''val60''': selects the value the sensor has shown one to 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
+
* '''max1''', '''max2''', '''max3''', ..., '''max60''': selects the maximum value from the last one to 60 minutes
* '''min2''', '''min5''', '''min10''', '''min15''', '''min30''', '''min60''': selects the minimum value from the last 2, 5, 10, 15, 30 or 60 minutes
+
* '''min1''', '''min2''', '''min3''', ..., '''min60''': selects the minimum value from the last one to 60 minutes
* '''avg2''', '''avg5''', '''avg10''', '''avg15''', '''avg30''', '''avg60''': selects average value from the last 2, 5, 10, 15, 30 or 60 minutes
+
* '''avg1''', '''avg2''', '''avg3''', ..., '''avg60''': selects average value from the last one to 60 minutes
 
For sensors delivering cumulated values like "rain0total" and "sol0evo" the following selectors are defined:
 
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.
+
* '''sum1''', '''sum2''', '''sum3''', ..., '''sum60''', '''sum1h''', '''sum2h''', '''sum3h''', ..., '''sum24h''': selects summarized delta values from the last one to 60 minutes or one to 24 hours. This is useful to get amount of total rain in a certain time frame: "rain0total-sum60" is rainfall in mm of last 60 minutes.

Revision as of 11:03, 28 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.

  • val1, val1, val3, ..., val60: selects the value the sensor has shown one to 60 minutes ago (This is only available for sensors with ID 0 and 1, like "th0temp" or "th1temp")
  • max1, max2, max3, ..., max60: selects the maximum value from the last one to 60 minutes
  • min1, min2, min3, ..., min60: selects the minimum value from the last one to 60 minutes
  • avg1, avg2, avg3, ..., avg60: selects average value from the last one to 60 minutes

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

  • sum1, sum2, sum3, ..., sum60, sum1h, sum2h, sum3h, ..., sum24h: selects summarized delta values from the last one to 60 minutes or one to 24 hours. This is useful to get amount of total rain in a certain time frame: "rain0total-sum60" is rainfall in mm of last 60 minutes.