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.

    BigBot89 MMM-AccuWeatherForecastDeluxe TypeError Cannot read properties of undefined (reading 'Temperature')

    Scheduled Pinned Locked Moved Solved Troubleshooting
    3 Posts 2 Posters 200 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.
    • A Offline
      anakin15969
      last edited by

      Re: MMM-AccuWeatherForecastDeluxe stuck loading.

      I installed the BigBot89 MMM-AccuWeatherForecastDeluxe and it is not loading and the console shows below error.

      MMM-AccuWeatherForecastDeluxe.js:338 MMM-AccuWeatherForecastDeluxe in notification === ACCUWEATHER_ONE_CALL_FORECAST_DATA Object
      MMM-AccuWeatherForecastDeluxe.js:386 MMM-AccuWeatherForecastDeluxe processWeatherData Partly sunny this weekend
      MMM-AccuWeatherForecastDeluxe.js:407 MMM-AccuWeatherForecastDeluxe about to create dailies
      MMM-AccuWeatherForecastDeluxe.js:420 MMM-AccuWeatherForecastDeluxe daily Object
      MMM-AccuWeatherForecastDeluxe.js:420 MMM-AccuWeatherForecastDeluxe daily Object
      MMM-AccuWeatherForecastDeluxe.js:420 MMM-AccuWeatherForecastDeluxe daily Object
      MMM-AccuWeatherForecastDeluxe.js:499 MMM-AccuWeatherForecastDeluxe forecastItemFactory Object 1 12.6 29.3
      MMM-AccuWeatherForecastDeluxe.js:766 icons/4c/partly-cloudy-day.svg
      MMM-AccuWeatherForecastDeluxe.js:517 Object
      MMM-AccuWeatherForecastDeluxe.js:499 MMM-AccuWeatherForecastDeluxe forecastItemFactory Object 2 12.6 29.3
      MMM-AccuWeatherForecastDeluxe.js:766 icons/4c/clear-day.svg
      MMM-AccuWeatherForecastDeluxe.js:517 Object
      MMM-AccuWeatherForecastDeluxe.js:499 MMM-AccuWeatherForecastDeluxe forecastItemFactory Object 3 12.6 29.3
      MMM-AccuWeatherForecastDeluxe.js:766 icons/4c/clear-day.svg
      MMM-AccuWeatherForecastDeluxe.js:517 Object
      MMM-AccuWeatherForecastDeluxe.js:435 [MMM-AccuWeatherForecastDeluxe] 10-Dec-24 01:33 unitsFormatted: Metric
      MMM-AccuWeatherForecastDeluxe.js:439 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘Temperature’)
      at Class.processWeatherData (MMM-AccuWeatherForecastDeluxe.js:439:76)
      at Class.socketNotificationReceived (MMM-AccuWeatherForecastDeluxe.js:348:46)
      at module.js:240:9
      at Socket. (socketclient.js:32:4)
      at Emitter.emit (index.js:136:20)
      at Socket.emitEvent (socket.js:553:20)
      at Socket.onevent (socket.js:540:18)
      at MMSocket.socket.onevent (socketclient.js:26:11)
      at Socket.onpacket (socket.js:508:22)
      at Emitter.emit (index.js:136:20)
      weather.js:164

      S 1 Reply Last reply Reply Quote 0
      • A Offline
        anakin15969 @sdetweil
        last edited by

        @sdetweil Thanks Sam.

        Finally found the fix. In config if there is no APIkey2 then it has to be null so commented it out.

        //apikey2: "SUPER SECRET!!!",
        
        1 Reply Last reply Reply Quote 1
        • S Offline
          sdetweil @anakin15969
          last edited by sdetweil

          @anakin15969 looks like that is a reported problem

          https://github.com/maxbethge/MMM-AccuWeatherForecastDeluxe/issues/4

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            anakin15969 @sdetweil
            last edited by

            @sdetweil Thanks Sam.

            Finally found the fix. In config if there is no APIkey2 then it has to be null so commented it out.

            //apikey2: "SUPER SECRET!!!",
            
            1 Reply Last reply Reply Quote 1
            • S sdetweil has marked this topic as solved on
            • 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