Read the statement by Michael Teeuw here.
Weather module with openmeteo sends wrong Data
-
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 :) -
@TiLow what MagicMirror version are you on?
-
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 :)
-
@TiLow I’ve opened issue in the MagicMirror repo
https://github.com/MagicMirrorOrg/MagicMirror/issues/4122
Could you post your weather config
ThxThe punycode problem Is a different module that hasn’t been updated in a while MMM-HomeAssistantDisplay was one I checked out before release .
-
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 } }, -
@TiLow thanks
-
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-FuelThanks in advance.
-
@TiLow just ignore the punycode message.
We are discussing ways to distribute a number of fixes
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