HexaWetter v1.3.0: Add precipitation map feature, update README, and enhance UI elements
This commit is contained in:
@@ -53,7 +53,15 @@ async def check_sources() -> list[dict[str, Any]]:
|
||||
_probe("open_meteo", f"{OPEN_METEO_BASE_URL}/forecast?latitude=52.5&longitude=13.4¤t=temperature_2m"),
|
||||
_probe("brightsky", f"{BRIGHTSKY_BASE_URL}/current_weather?lat=52.5&lon=13.4"),
|
||||
_probe("dwd_radar", f"{DWD_RADAR_BASE_URL}/rv/", timeout=4.0),
|
||||
_probe("dwd_wms", f"{DWD_WMS_URL}?service=WMS&request=GetCapabilities", timeout=6.0),
|
||||
_probe(
|
||||
"dwd_wms",
|
||||
(
|
||||
f"{DWD_WMS_URL}?service=WMS&version=1.1.1&request=GetMap"
|
||||
"&layers=dwd:Niederschlagsradar&format=image/png&transparent=true"
|
||||
"&width=64&height=64&srs=EPSG:4326&bbox=8,50,9,51"
|
||||
),
|
||||
timeout=5.0,
|
||||
),
|
||||
_probe("dwd_warnings", DWD_WARNINGS_URL, timeout=4.0),
|
||||
)
|
||||
results = list(probes)
|
||||
|
||||
Reference in New Issue
Block a user