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 when your WeatherFlow Smart Weather Station detected a lightning strike.
- API endpoint slug
- weatherflow.history_of_lightning_strikes
- Runtime method
- performQuery("weatherflow.history_of_lightning_strikes")
Query fields
Location ID Dropdown list
- Label
- Which Station?
- Slug
- location_id
- Required
- true
- Can have default value
- false
Units distance Dropdown list
- Label
- Which distance unit?
- Slug
- units_distance
- Required
- true
- Can have default value
- true
Ingredients
TimestampThe date and time event was created.
- Slug
- timestamp
- Filter code
- Weatherflow.historyOfLightningStrikes.Timestamp
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Station nameThe name of your WeatherFlow Smart Weather Station.
- Slug
- station_name
- Filter code
- Weatherflow.historyOfLightningStrikes.StationName
- Type
- String
- Example
- Home
Lightning strike distanceThe distance of the lightning strike from your station.
- Slug
- lightning_strike_distance
- Filter code
- Weatherflow.historyOfLightningStrikes.LightningStrikeDistance
- Type
- String
- Example
- 22
Units distanceThe distance measurement unit.
- Slug
- units_distance
- Filter code
- Weatherflow.historyOfLightningStrikes.UnitsDistance
- Type
- String
- Example
- km
Timestamp epochThe timestamp in epoch seconds.
- Slug
- timestamp_epoch
- Filter code
- Weatherflow.historyOfLightningStrikes.TimestampEpoch
- Type
- String
- Example
- 1495654920