{
  "name": "weather",
  "kind": "registry",
  "title": "Weather",
  "description": "Current local weather from Open-Meteo, with no account or key. The bar stays out of the way in ordinary weather and shows up for rain, fog, wind or uncomfortable temperatures.",
  "version": "0.1.0",
  "icon": {
    "tile": {
      "glyph": "󰖙",
      "bg": "cyan"
    }
  },
  "author": "pal",
  "spec": "github:zcag/pal/extensions/weather@v0.9.1",
  "source": "https://github.com/zcag/pal/tree/HEAD/extensions/weather",
  "commit": "63287e180ce349dac3aa87c68ce4c80bc42ad409",
  "manifest": {
    "name": "weather",
    "title": "Weather",
    "description": "Current local weather from Open-Meteo, with no account or key. The bar stays out of the way in ordinary weather and shows up for rain, fog, wind or uncomfortable temperatures.",
    "version": "0.1.0",
    "icon": {
      "tile": {
        "glyph": "󰖙",
        "bg": "cyan"
      }
    },
    "author": "pal",
    "repo": "bundled",
    "license": "MIT",
    "settings": [
      {
        "kind": "text",
        "id": "location",
        "label": "Location",
        "description": "A place name, optionally narrowed by region or country: “Istanbul”, “London, Ontario”, “Paris, Texas”. Only the first part is searched; the rest choose between same-named places. Resolved privately by Open-Meteo's location search.",
        "placeholder": "Istanbul, Turkey",
        "default": ""
      }
    ],
    "palettes": {
      "weather": {
        "title": "Weather",
        "kind": "live",
        "description": "Current temperature, condition, feels-like temperature, humidity and wind for the configured place."
      }
    },
    "states": {
      "temp": {
        "description": "The temperature now, in the service's unit",
        "kind": "number"
      },
      "code": {
        "description": "The WMO weather code now",
        "kind": "number"
      },
      "quiet": {
        "description": "A clear or cloudy sky (WMO 0 to 3): nothing falling, no fog",
        "kind": "boolean"
      },
      "condition": {
        "description": "The condition's name",
        "kind": "string"
      }
    },
    "bar": {
      "weather": {
        "title": "Weather",
        "description": "A quiet condition-led weather signal: hidden by its rules in ordinary weather (a quiet sky between 10 and 30 degrees), visible for rain, fog, wind or temperatures outside that band, blue when cold and red when hot. The popover is the forecast: the reading now with feels-like, humidity, wind and rain, the next eight hours from this one, then four days of high, low and the chance of rain, with sunrise and sunset.",
        "refresh": {
          "every": 600,
          "on": [
            "wake",
            "network"
          ]
        },
        "mocks": {
          "clear": {
            "title": "Clear, a listed notable condition",
            "item": {
              "icon": "󰖙",
              "title": "22°C",
              "color": "amber",
              "tooltip": "Clear in Istanbul"
            }
          },
          "cold": {
            "title": "Cold",
            "item": {
              "icon": "󰖐",
              "title": "3°C",
              "color": "blue",
              "tooltip": "Overcast in Istanbul"
            }
          },
          "rain": {
            "title": "Rain",
            "item": {
              "icon": "󰖗",
              "title": "14°C",
              "color": "blue",
              "tooltip": "Rain in Istanbul"
            }
          },
          "heat": {
            "title": "Hot",
            "item": {
              "icon": "󰖙",
              "title": "34°C",
              "color": "red",
              "tooltip": "Clear in Istanbul"
            }
          },
          "fog": {
            "title": "Fog",
            "item": {
              "icon": "󰖑",
              "title": "12°C",
              "color": "teal",
              "tooltip": "Fog in Istanbul"
            }
          },
          "quiet": {
            "title": "Ordinary weather",
            "item": {
              "hidden": true,
              "empty": {
                "icon": "󰖕",
                "title": "19°C",
                "tooltip": "Partly cloudy in Istanbul"
              }
            }
          },
          "unavailable": {
            "title": "Weather unavailable",
            "item": {
              "icon": "󰖪",
              "title": "Weather",
              "color": "red",
              "stale": true,
              "tooltip": "Weather service did not answer"
            }
          }
        },
        "keys": [
          {
            "keys": "o",
            "title": "Open the place in Maps"
          },
          {
            "keys": "r",
            "title": "Read the forecast again now"
          }
        ],
        "rules": [
          {
            "id": "ordinary",
            "when": "weather.quiet and weather.temp \u003e= 10 and weather.temp \u003c= 30",
            "description": "A quiet sky inside the comfort band: off the strip (move the band here).",
            "hidden": true,
            "color": "muted"
          },
          {
            "id": "cold",
            "when": "weather.temp \u003c 10",
            "description": "Below the comfort band.",
            "color": "blue"
          },
          {
            "id": "hot",
            "when": "weather.temp \u003e 30",
            "description": "Above the comfort band.",
            "color": "red"
          }
        ]
      }
    },
    "store": {
      "tagline": "Local weather on the bar, only when it is worth noticing",
      "category": "system",
      "features": [
        "Your city or postal code, looked up through Open-Meteo; no account, key or Home Assistant",
        "Current condition, temperature, feels-like, humidity and wind",
        "The bar item hides in ordinary weather and comes back for rain, fog, wind, heat or cold"
      ],
      "permissions": [
        "network"
      ],
      "platforms": [
        "macos",
        "linux"
      ],
      "screenshots": [
        {
          "file": "1-current.png",
          "caption": "The temperature and condition for the place you set, then feels-like, humidity and wind"
        },
        {
          "file": "2-actions.png",
          "caption": "The current reading opens the place on a map"
        },
        {
          "file": "bar-menubar.png",
          "caption": "On the menu bar only when the weather is worth a look: a shower passing, its glyph and the temperature in blue",
          "kind": "bar"
        },
        {
          "file": "bar-menubar-storm.png",
          "caption": "A thunderstorm turns it red",
          "kind": "bar"
        },
        {
          "file": "bar-popover.png",
          "caption": "A click opens the popover: the reading now, the next eight hours, four days of forecast, sunrise and sunset",
          "kind": "bar",
          "box": [
            418,
            64,
            840,
            960
          ]
        },
        {
          "file": "bar-sketchybar.png",
          "caption": "On sketchybar: the weather glyph and the temperature",
          "kind": "bar"
        }
      ],
      "actions": [
        {
          "title": "Open map",
          "description": "Open the configured place in Maps.",
          "keys": "o"
        }
      ]
    }
  },
  "playable": false,
  "updated_at": "2026-09-30T01:45:08Z",
  "url": "https://pal.cagdas.io/extensions/weather",
  "tagline": "Local weather on the bar, only when it is worth noticing",
  "category": "system",
  "screenshots": [
    "https://pal.cagdas.io/extensions/weather/screenshots/1-current-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/1-current.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/2-actions-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/2-actions.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-storm-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-storm.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-popover-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-popover.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-sketchybar-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-sketchybar.png"
  ],
  "panel_screenshots": [
    "https://pal.cagdas.io/extensions/weather/screenshots/1-current.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/2-actions.png"
  ],
  "bar_screenshots": [
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-storm.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-popover.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-sketchybar.png"
  ],
  "panel_screenshots_dark": [
    "https://pal.cagdas.io/extensions/weather/screenshots/1-current-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/2-actions-dark.png"
  ],
  "bar_screenshots_dark": [
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-storm-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-menubar-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-popover-dark.png",
    "https://pal.cagdas.io/extensions/weather/screenshots/bar-sketchybar-dark.png"
  ],
  "has_bar": true,
  "bar_items": [
    {
      "id": "weather",
      "title": "Weather",
      "description": "A quiet condition-led weather signal: hidden by its rules in ordinary weather (a quiet sky between 10 and 30 degrees), visible for rain, fog, wind or temperatures outside that band, blue when cold and red when hot. The popover is the forecast: the reading now with feels-like, humidity, wind and rain, the next eight hours from this one, then four days of high, low and the chance of rain, with sunrise and sunset.",
      "refresh": {
        "every": 600,
        "on": [
          "wake",
          "network"
        ]
      },
      "refresh_words": "every 10 min, on wake, when the network is back"
    }
  ],
  "has_links": false,
  "links": [],
  "multi": false,
  "has_readme": true
}
