37 lines
1.4 KiB
Plaintext
37 lines
1.4 KiB
Plaintext
---
|
|
title: "Weather"
|
|
description: "Displays current weather and a forecast for a location."
|
|
hide_title: true
|
|
---
|
|
|
|
import { WidgetInteractionGuide } from "@site/src/components/widgets/interactions";
|
|
|
|
import { AddingWidget } from "@site/src/components/widgets/adding";
|
|
import { WidgetConfig } from "@site/src/components/widgets/configuration";
|
|
import { WidgetHeader } from "@site/src/components/widgets/header";
|
|
import { weatherWidget } from ".";
|
|
|
|
<WidgetHeader widget={weatherWidget} categories={["Weather"]} />
|
|
|
|
The Weather widget shows current conditions and a responsive forecast. Select a forecast day for details; advanced view
|
|
adds hourly temperature and precipitation charts and the complete seven-day forecast.
|
|
|
|
<WidgetInteractionGuide />
|
|
|
|
### Adding the widget
|
|
|
|
<AddingWidget />
|
|
|
|
### Configuration
|
|
|
|
<WidgetConfig configuration={weatherWidget.configuration} />
|
|
|
|
### Data source
|
|
|
|
Weather and location data come from Open-Meteo. Active weather refreshes every ten minutes; identical location requests
|
|
can reuse a server response for five minutes. Failed refreshes keep the last successful data with an error indicator.
|
|
|
|
Set `NO_EXTERNAL_CONNECTION=true` to disable this and other internet-backed requests. Weather data and the city search
|
|
inside the widget configuration are unavailable while it is enabled. Allowlist `https://open-meteo.com` when outbound
|
|
access is restricted.
|