Difference between revisions of ":Templates/5/en"
From meteobridge
(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. | ||
− | * ''' | + | * '''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: | 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. |
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.