Skip to content

[Bug] weather module openweathermap with api v2.5 broken with mm release v2.35.0 #4100

Closed

Description

@khassel

Environment

####  System Information  ####
- SYSTEM:   manufacturer: Micro Computer (HK) Tech Limited; model: Docker Container; virtual: false; MM: v2.35.0
- OS:       platform: linux; distro: Debian GNU/Linux; release: 13; arch: x64; kernel: 6.17.0-20-generic
- VERSIONS: electron: undefined; used node: 24.14.1; installed node: 24.14.1; npm: 11.12.1; pm2: 
- ENV:      XDG_SESSION_TYPE: undefined; MM_CONFIG_FILE: undefined
            WAYLAND_DISPLAY:  undefined; DISPLAY: undefined; ELECTRON_ENABLE_GPU: undefined
- RAM:      total: 29854.41 MB; free: 20253.98 MB; used: 9600.43 MB
- OTHERS:   uptime: 299 minutes; timeZone: Europe/Berlin

Which start option are you using?

node --run server

Are you using PM2?

No

Module

weather

Have you tried disabling other modules?

  • Yes
  • No

Have you searched if someone else has already reported the issue on the forum or in the issues?

  • Yes

What did you do?

Configuration
{
            module: "weather",
            position: "top_right",
            config: {
                weatherProvider: "openweathermap",
                type: "current",
                location: "Alphen aan den Rijn",
                locationID: "2759875",
                apiKey: "xxx",
                apiVersion: "2.5",
                weatherEndpoint: "/weather",
            }
},

What did you expect to happen?

Showing weather

Image

What actually happened?

Showing this

Image

Additional comments

If I use v2.34.0 same config works.

Nothing in the logs (browser and backend).

There have also been several issues in the forum on this topic since the new release, however, this was mostly misinterpreted and attributed to the API change in openweathermap from 2.5 to 3.0.

Participation

  • I am willing to submit a pull request for this change.

Activity

  1. khassel commented on Apr 8, 2026

    @khassel
    CollaboratorAuthor

    I don't know if we should even fix this anymore, since API v2.5 should have been deactivated long ago, and that will probably happen by the next MM release.

  2. KristjanESPERANTO commented on Apr 8, 2026

    @KristjanESPERANTO
    Collaborator

    It's a pity, but I also have my doubts about whether we should fix that.

    That surly happened during the big weather refactor (#4032). I hadn't given v2.5 a single thought, since the API was supposed to have been down for a long time and I no longer have an old key to test it with.

  3. khassel commented on Apr 8, 2026

    @khassel
    CollaboratorAuthor

    If you really want to debug I can give you my api key.

  4. KristjanESPERANTO commented on Apr 8, 2026

    @KristjanESPERANTO
    Collaborator

    Hmm... let me sleep on it and think about the effort involved 🙂

  5. added a commit that references this issue on Apr 10, 2026
    22a58d4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions