DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

No Weather data available

Open felows opened this issue 2 months ago • 4 comments

Compositor

  • [x ] niri
  • [ ] Hyprland
  • [ ] dwl (MangoWC)
  • [ ] sway
  • [ ] Other (specify)

Distribution

Arch

dms version

v.0.4.2

Description

Manually configure the latitude and longitude, also try enabling the automatic search option by IP, but the weather data still cannot be retrieved.

Expected Behavior

Steps to Reproduce

Error Messages/Logs

Paste error messages or logs here

Screenshots/Recordings

[

Image

felows avatar Nov 10 '25 23:11 felows

It's probably the inability to access https://open-meteo.com/ APIs, is my guess.

You can try one of their endpoints in a browser https://api.open-meteo.com/v1/forecast?latitude=41.1017272&longitude=-80.764531&current=temperature_2m,relative_humidity_2m,apparent_temperature,is_day,precipitation,weather_code,surface_pressure,wind_speed_10m&daily=sunrise,sunset&timezone=auto&forecast_days=1&temperature_unit=fahrenheit

If it doesnt work, then I would assume:

  • Maybe on a VPN, in which case it could be blocked by open-meteo
  • Maybe blocked by your ISP for whatever reason
  • Maybe a temporary issue that will self-resolve

If none of the above, then maybe we need to support multiple backends besides just open-meteo (probably a good idea anyway)

bbedward avatar Nov 11 '25 01:11 bbedward

i belive this is not weather api problem, cuz i still have "no weather data availible" when api is availble

Image
  • Connection #0 to host api.open-meteo.com:443 left intact {"latitude":56.3125,"longitude":44.0,"generationtime_ms":0.08785724639892578,"utc_offset_seconds":10800,"timezone":"Europe/Moscow","timezone_abbreviation":"GMT+3","elevation":142.0,"current_units":{"time":"iso8601","interval":"seconds","temperature_2m":"°F","relative_humidity_2m":"%","apparent_temperature":"°F","is_day":"","precipitation":"mm","weather_code":"wmo code","surface_pressure":"hPa","wind_speed_10m":"km/h"},"current":{"time":"2025-11-12T10:30","interval":900,"temperature_2m":31.5,"relative_humidity_2m":92,"apparent_temperature":26.2,"is_day":1,"precipitation":0.00,"weather_code":45,"surface_pressure":1006.2,"wind_speed_10m":4.1},"daily_units":{"time":"iso8601","sunrise":"iso8601","sunset":"iso8601"},"daily":{"time":["2025-11-12"],"sunrise":["2025-11-12T07:36"],"sunset":["2025-11-12T16:00"]}}⏎

Snowy-Fluffy avatar Nov 12 '25 07:11 Snowy-Fluffy

and in other (old) dms versions everythink works

Snowy-Fluffy avatar Nov 12 '25 07:11 Snowy-Fluffy

After checking with other locations and insisting on the one I needed, it started to work, although after the restart, the configuration shows up as in the photo. I don't know what could have happened, or if it's a problem with OpenMeteo as bbedward suggests.

Image

P.D. I apologize for not responding sooner; I am very busy with work and I verified it yesterday evening.

felows avatar Nov 12 '25 22:11 felows