Recued
Menu
← Back to recipes

Weather lookup (place and date)

by recued-core v2 46 views

Use “Weather lookup (place and date)” in Recued. Everything about the weather at one place on one date, in one answer: conditions, high and low, rain, wind, sunrise and sunset, air quality on both scales, and European pollen. 🔑 Temperature, air, wind and sun are not different subjects — they are properties of one thing, the weather at {place, date}.

How it works 29 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (29 steps)
■ wanted trim
Trim whitespace from setting place
■ wanted_required template
Generate text from a template
fail: step.wanted is_empty
◆ geocode recued-core.nominatim.geo.search
Search geo on nominatim
■ hits default
Apply default
■ hit_count count
Count items in hits
■ top default
Apply default
■ resolved default
Apply default
■ resolved_required template
Generate text from a template
fail: step.resolved is_empty
■ lat to_number
Convert top lat to a number
■ lon to_number
Convert top lon to a number
■ now_ts date_add
Add 0 days to
■ today date_format
Format as a date
■ day default
Apply default
■ temp_unit switch
Map setting units to one of: metric, imperial
■ wind_unit switch
Map setting units to one of: metric, imperial
■ precip_unit switch
Map setting units to one of: metric, imperial
◆ wx recued-core.open-meteo.weather.range
Range weather on open meteo
◆ aq recued-core.open-meteo-air-quality.air.range
Range air on open meteo air quality
■ defaults defaults
Apply defaults
■ have_day template
Generate text from a template
fail: step.code is_null
■ conditions switch
Map code to one of: 0, 1, 2, 3, 45, 48, 51, 53, 55, 56, 57, 61, 63, 65, 66, 67, 71, 73, 75, 77, 80, 81, 82, 85, 86, 95, 96, 99
■ aq_rows default
Apply default
■ aq_known filter
Filter by condition
■ aq_count count
Count items in aq known
■ aq_peak max_by
Find the maximum by us_aqi
■ card to_summary
Format results as a summary card
■ aq_absent template
Generate text from a template
skip: step.aq_count greater 0
■ hosts_note template
Generate text from a template
■ ambiguity template
Generate text from a template
skip: step.hit_count less 2
▼
Output
summary card
text aq_absent
text hosts_note
text ambiguity
Settings 3 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

date setting =
place setting =
units setting = metric

Uses (3 operations)

Pack operation Search geo on nominatim recued-core.nominatim.geo.search
Pack operation Range weather on open meteo recued-core.open-meteo.weather.range
Pack operation Range air on open meteo air quality recued-core.open-meteo-air-quality.air.range

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Air_quality connectionRead your Nominatim connectionRead your Open_meteo connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

open-meteoopen-meteo-air-qualitynominatim weatherair-qualityforecastopen-meteonominatimlookupread-onlypack:weather-desk

Details

29 steps 3 configurable settings recipe_id: weather-lookup-open-meteo