Skip to content
This repository was archived by the owner on Aug 26, 2023. It is now read-only.
This repository was archived by the owner on Aug 26, 2023. It is now read-only.

Automatic weather data polling #288

@Matsyir

Description

@Matsyir

Is your feature request related to a problem? Please describe.
I am using this app in a way that it's always open to display the weather. Having it automatically update as time passes would be very convenient.

Describe the solution you'd like
Automatically refresh the weather data every N minutes depending on config (or never). This should probably not be available until you've entered a custom api key.

Additional context
@mhmdanas seemed to show support for this in #275, and as long as this has a "never" option, it shouldn't affect those who only want manual polling.

The free tier of openweathermap offers a API limit of 1000 requests/day, which is enough to refresh the weather every 2 minutes and still have 280 requests left over, so that would be a comfortable maximum for the free tier. (You could do every 1.5 minutes also, but then barely have any left over, and 2 minutes is MORE than enough anyways)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions