Skip to content

Add a live weather display #777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ItzCrazyKns opened this issue May 28, 2025 · 0 comments
Open

Add a live weather display #777

ItzCrazyKns opened this issue May 28, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ItzCrazyKns
Copy link
Owner

Add a live weather display by querying Open-Meteo’s API for the user’s current weather (temperature and weather code) and rendering the matching SVG icon from the Makin-Things/weather-icons set (https://github.com/Makin-Things/weather-icons). The widget should fetch current_weather.temperature_2m and current_weather.weathercode on page load (and refresh at a sensible interval, e.g. every 15 minutes) to keep the display up to date.

Use the official Open-Meteo documentation (https://open-meteo.com/en/docs?forecast_days=1&hourly=temperature_2m,weather_code&current=weather_code) to map each weather code to its meaning and corresponding icon filename. Reference that guide when wiring up your code so every code renders the correct icon and tooltip.

@ItzCrazyKns ItzCrazyKns self-assigned this May 28, 2025
@ItzCrazyKns ItzCrazyKns added the enhancement New feature or request label May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant