Skip to content

Add Weather API Provider #4036

Merged
KristjanESPERANTO merged 3 commits intoMagicMirrorOrg:developfrom
angeldeejay:develop
Feb 21, 2026
Merged

Add Weather API Provider #4036
KristjanESPERANTO merged 3 commits intoMagicMirrorOrg:developfrom
angeldeejay:develop

Conversation

@angeldeejay
Copy link
Contributor

@angeldeejay angeldeejay commented Feb 15, 2026

Added Weather Provider for Weather API

Implementation of a weather provider for a new REST API.

Pull Requests:

APIs used

Config examples:

let config = {
  // ...
  modules: [
    {
      module: "weather",
      position: "top_right",
      config: {
        weatherProvider: "weatherapi",
        apiKey: <api key here>,
        lat: <number here>,
        lon: <number here>,
        type: "current",
        // ...
      }
    },
    {
      module: "weather",
      position: "top_right",
      config: {
        weatherProvider: "weatherapi",
        apiKey: <api key here>,
        lat: <number here>,
        lon: <number here>,
        type: "daily",
        // ...
      }
    },
    {
      module: "weather",
      position: "top_right",
      config: {
        weatherProvider: "weatherapi",
        apiKey: <api key here>,
        lat: <number here>,
        lon: <number here>,
        type: "hourly",
        // ...
      }
    },
}

Screenshots

image

Copy link
Collaborator

@KristjanESPERANTO KristjanESPERANTO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for implementing this new provider! I found some little issues during testing. Checkout the comments.

The module works with my changes 😃

@angeldeejay
Copy link
Contributor Author

angeldeejay commented Feb 15, 2026

All requested changes were fixed now, @KristjanESPERANTO. Please take a look.

Question: Do you want me to make another PR to the master branch, or should we wait for the next release?

@KristjanESPERANTO
Copy link
Collaborator

KristjanESPERANTO commented Feb 16, 2026

Do you want me to make another PR to the master branch, or should we wait for the next release?

The master branch is only for releases. So your change will only be included in the next release. The next release will be on April 1 🙂

Copy link
Collaborator

@KristjanESPERANTO KristjanESPERANTO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Let's merge 🙂

@KristjanESPERANTO KristjanESPERANTO merged commit 80c4879 into MagicMirrorOrg:develop Feb 21, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants