About this query
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This query returns a list of matches for the specified weather forecast conditions of your installation location.
- API endpoint slug
- WattuneedBatteryUP.weather_hourly_forecast
- Runtime method
- performQuery("WattuneedBatteryUP.weather_hourly_forecast")
Query fields
Installation Dropdown list
- Label
- Which installation?
- Helper text
- Used for local weather forecast
- Slug
- installation
- Required
- false
- Can have default value
- false
Metric 1 Dropdown list
- Label
- Forecast Option
- Slug
- metric_1
- Required
- false
- Can have default value
- true
Condition 1 Dropdown list
- Label
- Condition
- Slug
- condition_1
- Required
- false
- Can have default value
- true
Value 1 Text input > Other
- Label
- Condition Value
- Slug
- value_1
- Required
- false
- Can have default value
- true
Metric 2 Dropdown list
- Label
- Second Forecast Option
- Helper text
- Optional
- Slug
- metric_2
- Required
- false
- Can have default value
- true
Condition 2 Dropdown list
- Label
- Second Condition
- Helper text
- Optional but required when 'Second Forecast Option' has been selected
- Slug
- condition_2
- Required
- false
- Can have default value
- true
Value 2 Text input > Other
- Label
- Second Condition Value
- Helper text
- Optional but required when 'Second Forecast Option' has been selected
- Slug
- value_2
- Required
- false
- Can have default value
- true
Duration Dropdown list
- Label
- Duration in Hours
- Slug
- duration
- Required
- false
- Can have default value
- true
Ingredients
From date timeTimestamp when specified weather forecast conditions are met.
- Slug
- from_ts
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.FromDateTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Until date timeTimestamp until specified weather forecast conditions are met.
- Slug
- to_ts
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.UntilDateTime
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Clouds percentage minMinimum percentage of clouds during the period when weather forecast conditions are met.
- Slug
- clouds_min
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.CloudsPercentageMin
- Type
- String
- Example
- "50.0"
Clouds percentage avgAverage percentage of clouds during the period when weather forecast conditions are met.
- Slug
- clouds_avg
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.CloudsPercentageAvg
- Type
- String
- Example
- "50.0"
Clouds percentage maxMaximum percentage of clouds during the period when weather forecast conditions are met.
- Slug
- clouds_max
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.CloudsPercentageMax
- Type
- String
- Example
- "50.0"
Uv index minMinimum UV index value during the period when weather forecast conditions are met.
- Slug
- uvi_min
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.UvIndexMin
- Type
- String
- Example
- "8.5"
Uv index avgAverage UV index value during the period when weather forecast conditions are met.
- Slug
- uvi_avg
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.UvIndexAvg
- Type
- String
- Example
- "8.5"
Uv index maxMaximum UV index value during the period when weather forecast conditions are met.
- Slug
- uvi_max
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.UvIndexMax
- Type
- String
- Example
- "8.5"
Temperature celsius minMinimum temperature in Celsius during the period when weather forecast conditions are met.
- Slug
- temp_min
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.TemperatureCelsiusMin
- Type
- String
- Example
- "18.0"
Temperature celsius avgAverage temperature in Celsius during the period when weather forecast conditions are met.
- Slug
- temp_avg
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.TemperatureCelsiusAvg
- Type
- String
- Example
- "18.0"
Temperature celsius maxMaximum temperature in Celsius during the period when weather forecast conditions are met.
- Slug
- temp_max
- Filter code
- WattuneedBatteryUP.weatherHourlyForecast.TemperatureCelsiusMax
- Type
- String
- Example
- "18.0"