MyWeather is a Dify weather plugin that requires no API key.
- Primary source is selectable:
open-meteoorwttr - Default primary source:
wttr - Non-primary source is always used as fallback
- Supports English, Simplified Chinese, Traditional Chinese, Japanese, and Korean input and output
- Automatic language detection via Unicode script analysis
English (input: London)
London, City of London Greater London, United Kingdom: Sunny. Temp 34.0°C, feels like 33.0°C, humidity 28%, wind 13.0 km/h.
Workflow: Start (city) → Weather Lookup → Output
- Install plugin
MyWeatherin Dify. - Add tool node
Weather Lookup. - Set
source_preference:wttr(default): wttr first, Open-Meteo fallbackopen-meteo: Open-Meteo first, wttr fallback
- Pass user location text to
location.
location(required): city, region, airport code, or place name. Supports English, Chinese, Japanese, and Korean.language(optional): output language.auto(default) detects from input — Hangul → Korean, hiragana/katakana → Japanese, CJK → Simplified Chinese, otherwise English. Can be set explicitly toen-US,zh-Hans,zh-Hant,ja, orko.units(optional):metricoruscs.source_preference(optional):wttr(default) oropen-meteo.include_raw_json(optional): include upstream raw payload in JSON output.
Returned by weather_lookup:
source: actual provider used (wttroropen-meteo).source_display: UI-ready source label (Source: wttr.in.orSource: Open-Meteo.).language: resolved output language (en-US,zh-Hans,zh-Hant,ja, orko).location: resolved location name from provider.condition: weather condition text (translated when CJK/Japanese output).temperature: current temperature in selected units.temperature_unit:°Cor°F.feels_like: feels-like temperature.humidity: relative humidity percentage.wind_speed: wind speed in selected units.wind_speed_unit:km/hormph.summary: concise weather sentence without inline source text (localized).open_meteo_compliance_notice: Open-Meteo attribution plus modification declaration (only when source is Open-Meteo).rate_limit_notice: fallback notice (only when Open-Meteo fails, including HTTP 429, and fallback is triggered).
| Language | Detection | Weather Translation | Geocoding |
|---|---|---|---|
| English (en-US) | Default | Passthrough | Standard |
| Simplified Chinese (zh-Hans) | CJK characters | Full (160+ terms) | zh + en |
| Traditional Chinese (zh-Hant) | Explicit only | Full (zh-Hans + override) | zh + en |
| Japanese (ja) | Hiragana/Katakana | Full (160+ terms) | ja + en |
| Korean (ko) | Hangul | Full (160+ terms) | ko + en |
Auto-detection rules:
- Hangul Syllables (U+AC00–U+D7AF) →
ko - Hiragana (U+3040–U+309F) or Katakana (U+30A0–U+30FF) →
ja - CJK characters →
zh-Hans - Otherwise →
en-US
- For CC BY scenarios, render
open_meteo_compliance_noticein a visible area whensource=open-meteo. - Do not silently drop
open_meteo_compliance_noticewhen Open-Meteo is the actual source. sourceandsource_displayare useful for traceability and UI, but they do not replaceopen_meteo_compliance_notice.rate_limit_noticeis returned only when Open-Meteo fails and fallback is activated.
Open-Meteo:
- Supports Chinese, Japanese, and Korean geocoding input.
- Weather condition text is translated in plugin logic.
- Forecast response is numeric and weather-code based.
wttr.in:
- Supports Unicode locations.
- Can provide localized weather descriptions.
References:
- Open-Meteo Geocoding API: https://open-meteo.com/en/docs/geocoding-api
- Open-Meteo Forecast API: https://open-meteo.com/en/docs
- Open-Meteo License: https://open-meteo.com/en/licence
- Open-Meteo Terms: https://open-meteo.com/en/terms
- wttr.in Help: https://wttr.in/:help
- wttr.in Repository: https://github.com/chubin/wttr.in
- GitHub profile: https://github.com/AlexMultiAgent
- GitHub Issues: https://github.com/AlexMultiAgent/dify-plugin-myweather/issues
MIT License. See LICENSE.