Repository navigation
Open
Labels
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.
Milestone
Description
Parent
Refs #18020: themes: bedroom roadmap after the time, weather and sound round
Depends on
- none: on the frontier now, but held for the owner (see Done when, first check)
Outcome
With a US zip code entered, the bedroom's auto weather shows the real weather at that place. Without one, auto stays random, as it is today.
Demo: enter a zip code, run /bedroom weather, and see the reply name the real conditions and the window match them.
Decisions
- Real weather is opt-in: the user enters a US zip code. No IP lookup. US first.
autoweather is real once connected and random until then;randomstays made-up.- Zip code to latitude and longitude comes from a table built from the Census ZCTA Gazetteer file and shipped with the plugin.
- Forecasts come from api.weather.gov: no key, a User-Agent header is required, the rate limit is unpublished.
- A zip code with no ZCTA row gets a not-found reply and random weather: Census says not every valid ZIP code has a ZCTA.
Key interfaces
None.
Done when
- The Census file's copyright status is confirmed before the table ships: 17 U.S.C. 105 read on an official site, and the file's own readme read. No census.gov page read so far states it.
- A setting and a
/bedroomcommand take a zip code; the zip code is stored on the user's machine only. -
autoweather maps the forecast toclear,overcast,rain,downpourorstorm, and/bedroom weathersays whether the weather is real or random. - A zip code with no table row, and a failed or slow forecast call, each fall back to random weather with a reply that says why.
- Forecast calls are spaced so a session cannot flood api.weather.gov.
- Winter conditions (snow, a blizzard) follow whatever the seasons work decides; until then they map to the nearest existing weather.
Out of scope
- Weather outside the US.
- Location by IP address or by any means other than a typed zip code.
- New weather pictures or sounds.
Metadata
Metadata
Assignees
Labels
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.
Type
Fields
No fields configured for Feature.
Activity