MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Weather module with openmeteo sends wrong Data

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 88 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      TiLow
      last edited by

      TLDR: Weather module using openmeteo as provider randomly starts throwing the Error: “[openmeteo] Could not find current time in hourly data, using index 0” and then displays wrong Data.

      Hello everyone,

      since some time I have a problem that my weather Data (especially the Feels Like Temperature) is completely wrong.
      The error only comes up sometimes, but I have not figured out a pattern yet, it seems to be random.

      I have looked a little bit into it and found that sometimes there is a debug message in my Logs saying: “[openmeteo] Could not find current time in hourly data, using index 0”.

      I am guessing that this is the reason for the wrong data, but I have no Idea how to fix this.
      I hope some of you are smarter than I am :)

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @TiLow
        last edited by

        @TiLow what MagicMirror version are you on?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • T Offline
          TiLow
          last edited by

          I am using version 2.35.0 on a Raspberry Pi 3B+.

          I have just found another Error Message that is being created in the Terminal Logs when starting up the MagicMirror: [ERROR] [unknown] (node:8839) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use electron --trace-deprecation … to show where the warning was created).
          But i doubt that this has anything to do with the weather module not showing the correct Data.

          Thanks in advance :)

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @TiLow
            last edited by sdetweil

            @TiLow I’ve opened issue in the MagicMirror repo

            https://github.com/MagicMirrorOrg/MagicMirror/issues/4122

            Could you post your weather config
            Thx

            The punycode problem Is a different module that hasn’t been updated in a while MMM-HomeAssistantDisplay was one I checked out before release .

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • T Offline
              TiLow
              last edited by

              Sure, here is the weather part of my config.js file (I just redacted some personal information).
              I have three different parts of this module (Current, hourly and daily).
              The one with the problem (Feels like temperature wrong) is the first instance (current).

              	{
              		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
              		}
              	},
              
              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @TiLow
                last edited by

                @TiLow thanks

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TiLow
                  last edited by

                  Hi,
                  I just checked the Github issue that you created and it seems like the problem has been solved.
                  Thank you very much for your help :).

                  Just another question as you seem to know a lot more about MagicMirror than I do:
                  Is there some kind of fix for the punycode problem that I can do, or can I just ignore it as it seems to work fine the way it is.

                  Additional modules that I am using are:
                  https://github.com/ZachR19/MMM-Todoist2
                  https://github.com/LukeSkywalker92/MMM-Globe
                  https://github.com/fewieden/MMM-Fuel

                  Thanks in advance.

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @TiLow
                    last edited by

                    @TiLow just ignore the punycode message.

                    We are discussing ways to distribute a number of fixes

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy