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-NOAA3 - Revived

    Scheduled Pinned Locked Moved Utilities
    15 Posts 3 Posters 538 Views 3 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.
    • mumblebajM Offline
      mumblebaj Module Developer
      last edited by mumblebaj

      Hi all,

      I have been using MMM-NOAA3 by @cowboysdude for a few years now. I like the display of it and did not want to go for a different module to replace it. Recently it stopped working and has for a while been throwing lots of errors.

      I have forked the module and have started updating it and trying to bring it back to life. I have managed to update a few things.

      • Removed request and replaced with internal fetch
      • Updated MMM-NOAA3.js to cater for the new response structures.

      Supported Providers:

      • weatherbit
      • piratesky
      • accuweather
      • openweather
      • msn

      I have not had a chance yet to look at the other providers and am not sure if anybody would like them included. Honestly I do not want to create accounts for all of them just to update the provider list but can if I have to. However, I do believe that darksky has been taken over by Apple and it may not work so, I may be removing that from the list of providers.

      However, I am happy to say that the module now works fine for weatherbit and openweather and no longer is throwing any errors.

      I will be pushing a PR to @cowboysdude when I am done making all the changes with the other providers.

      For now, if anybody is interested in using it for either openweather or weatherbit you can use my fork for now.

      Can be found below:
      MMM-NOAA3

      Check out my modules at: https://github.com/mumblebaj?tab=repositories

      S 1 Reply Last reply Reply Quote 1
      • S Offline
        sdetweil @mumblebaj
        last edited by

        @mumblebaj piratesky has a clone of the old darksky api

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        mumblebajM 2 Replies Last reply Reply Quote 0
        • mumblebajM Offline
          mumblebaj Module Developer @sdetweil
          last edited by

          @sdetweil Awesome. Will have a look at it. Thanks Sam

          Check out my modules at: https://github.com/mumblebaj?tab=repositories

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

            @mumblebaj it’s supposed to be change the host part of the url

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • mumblebajM Offline
              mumblebaj Module Developer @sdetweil
              last edited by

              @sdetweil Successfully replaced Darksky with Piratesky.

              Check out my modules at: https://github.com/mumblebaj?tab=repositories

              htilburgsH 1 Reply Last reply Reply Quote 1
              • htilburgsH Offline
                htilburgs @mumblebaj
                last edited by

                @mumblebaj
                I like what you did!
                Keep up the good work!!
                Added an issue for the dutch translations.

                (still trying to learn JS, but not afraid to ask) ☺

                mumblebajM 1 Reply Last reply Reply Quote 0
                • mumblebajM Offline
                  mumblebaj Module Developer @htilburgs
                  last edited by

                  @htilburgs Hi, thanks for the complement. I have updated accordingly. Thanks for that.

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories

                  htilburgsH 1 Reply Last reply Reply Quote 0
                  • htilburgsH Offline
                    htilburgs @mumblebaj
                    last edited by

                    @mumblebaj
                    After updating and reload, I. got Undefined / NaN
                    What can this be?

                    aeaf6109-b7eb-4c30-84a7-0495f20131fd-image.png

                    (still trying to learn JS, but not afraid to ask) ☺

                    htilburgsH 1 Reply Last reply Reply Quote 0
                    • htilburgsH Offline
                      htilburgs @htilburgs
                      last edited by

                      Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘icon’)
                      at Class.processWeather (MMM-NOAA3.js:210:20)
                      at Class.socketNotificationReceived (MMM-NOAA3.js:173:18)
                      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)

                      (still trying to learn JS, but not afraid to ask) ☺

                      htilburgsH 1 Reply Last reply Reply Quote 0
                      • htilburgsH Offline
                        htilburgs @htilburgs
                        last edited by

                        The problem is with Weatherbit.
                        When I try Piratesky, everythings works fine…

                        (still trying to learn JS, but not afraid to ask) ☺

                        mumblebajM 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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