• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

[MMM-OpenWeatherMapForecast] ** ERROR ** null

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 542 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.
  • C Offline
    Chazzer
    last edited by Oct 15, 2023, 11:59 AM

    [15.10.2023 13:51.43.569] [INFO] Checking git for module: MMM-OpenWeatherMapForecast
    [15.10.2023 13:51.43.609] [LOG] [MMM-OpenWeatherMapForecast] 15-Oct-23 13:51 ** ERROR ** null

    Can someone tell me why I get the error null?
    I use a Pi 3b and latest MM2 version. ( MagicMirror: v2.25.0)
    The default weather app function
    Open weather Map "loaded cc5859ce-fbda-4dbd-8396-3c5884cc5466-Bild 15.10.23 um 13.57.jpg

    I install it from here:
    https://github.com/MarcLandis/MMM-OpenWeatherMapForecast

    config
    {
    module: “MMM-OpenWeatherMapForecast”,
    header: “Open Weather Map”,
    position: “top_right”,
    classes: “default everyone”,
    disabled: false,
    config: {
    apikey: “4xxxxSecret”,
    latitude: “51.003610”,
    longitude: “6.889070”,
    iconset: “4c”,
    concise: false,
    forecastLayout: “table”
    }

    },

    1 Reply Last reply Reply Quote 0
    • J Offline
      JeanMichelC
      last edited by Oct 17, 2023, 7:56 PM

      I have the same issue and I spent some time debugging it. It turns out that the API call reference the onecall API which is not free. It requires a subscription https://openweathermap.org/api/one-call-3#error401

      The call is using 2.5 but the documentation online only reference 3.0
      https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&exclude={part}&appid={API key}

      I tried changing the API call to use hte free one but the layout is probably diffrent and therefore fails.
      I think this module won’t work unless you have the OneCall subscription.

      C 1 Reply Last reply Oct 21, 2023, 12:58 AM Reply Quote 0
      • C Offline
        Chazzer @JeanMichelC
        last edited by Oct 21, 2023, 12:58 AM

        @JeanMichelCabf01791-6596-469f-a61a-6985c5c9c515-image.png

        As you described, the solution was to upgrade the subscription to the One Call API 3.0. Subsequently, I created a new API key and configured it in the config.js file for the module. Thank you for the suggestion.

        Now, I just need to align everything to the right.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          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