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 4.0k 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
      Check my blog-post: https://mumblebaj.xyz/
      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

      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
          Check my blog-post: https://mumblebaj.xyz/
          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

          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
              Check my blog-post: https://mumblebaj.xyz/
              Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

              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 and AI is my best friend) ☺

                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
                  Check my blog-post: https://mumblebaj.xyz/
                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                  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 and AI is my best friend) ☺

                    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 and AI is my best friend) ☺

                      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 and AI is my best friend) ☺

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

                          @htilburgs I will have a look at weatherbit. They may have changed icons.

                          Just a little busy today but when I get a moment I will definitely have a look.

                          I also require your lat and lon so I can get the data/icons for your region/area

                          Check out my modules at: https://github.com/mumblebaj?tab=repositories
                          Check my blog-post: https://mumblebaj.xyz/
                          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                            @mumblebaj
                            userlat: “51.479256”,
                            userlon: “5.657010”,

                            (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

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

                              @htilburgs Good morning. I have just tested weatherbit using you lat and lon and not seeing any errors.

                              66d2c376-82f3-4e23-8a48-58fe4e2208de-image.png

                              Check out my modules at: https://github.com/mumblebaj?tab=repositories
                              Check my blog-post: https://mumblebaj.xyz/
                              Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                                @mumblebaj
                                I see It.
                                I don’t what was wrong, you sas the messages for MM in console. Thanks for looking into It, maybe It was a one the thing.

                                (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

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

                                  @htilburgs Thanks for confirming. I double checked the icons available from weatherbit and compared to the list and they are all covered. Hopefully it was just a once off thing. 🙏

                                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                  Check my blog-post: https://mumblebaj.xyz/
                                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                  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