Skip to content

[Bug] weather with openmateo Provider fails #4122

Closed

Description

@sdetweil

Environment

MagicMirror² version: 2.35
Node version:
npm version:
Platform:

Which start option are you using?

node --run start

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: "openmeteo",
			type: "current",
			appendLocationNameToHeader: false,
			lat: ,
			lon: ,
			degreeLabel: true,
			updateInterval: 300000,
			showPrecipitationProbability: true,
			showPrecipitationAmount: true,
			showUVIndex: true,
			showFeelsLike: true	
		}
	},
	{
		module: "weather",
		position: "bottom_right",
		config: {
			weatherProvider: "openmeteo",
			type: "hourly",
			appendLocationNameToHeader: false,
			lat: ,
			lon: ,
			degreeLabel: true,
			updateInterval: 300000,
			fade: false,
			maxEntries: 12,
			showPrecipitationProbability: true,
			showPrecipitationAmount: true,
			showUVIndex: true
		}
	},
	{
		module: "weather",
		position: "bottom_right",
		config: {
			weatherProvider: "openmeteo",
			type: "daily",
			appendLocationNameToHeader: false,
			lat: ,
			lon: ,
			degreeLabel: true,
			updateInterval: 300000,
			fade: false,
			maxEntries: 5,
			ignoreToday: false,
			showPrecipitationProbability: true,
			showPrecipitationAmount: true
		}
	},
<!-- Paste relevant code here -->

Steps to reproduce the issue:

What did you expect to happen?

No failure like v 2.34 and before

What actually happened?

[openmeteo] Could not find current time in hourly data, using index 0

Additional comments

User reported on forum

See https://forum.magicmirror.builders/topic/20225/weather-module-with-openmeteo-sends-wrong-data

Participation

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

Activity

  1. khassel commented on Apr 27, 2026

    @khassel
    Collaborator

    this is only a debug message

    [2026-04-27 22:41:04.602] [DEBUG] [providers] [openmeteo] Could not find current time in hourly data, using index 0

    The module is still working and there are no other errors/warnings in console or browser.

  2. sdetweil commented on Apr 27, 2026

    @sdetweil
    CollaboratorAuthor

    the user says it is not working, displaying wrong data after this message

  3. KristjanESPERANTO commented on Apr 27, 2026

    @KristjanESPERANTO
    Collaborator

    In the forum post, the part that said "displays wrong Data" made my curious, so I took a look at the hourly data path and think I’ve found a bug. I’m working on it 🙂

  4. sdetweil commented on Apr 28, 2026

    @sdetweil
    CollaboratorAuthor

    pasted users module config
    note lat/lon not specified in the copy

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions