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-NOAA - Another Weather Module

    Scheduled Pinned Locked Moved System
    690 Posts 77 Posters 2.9m Views 70 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.
    • H Offline
      Hubschra01
      last edited by

      Hi together,
      I´m new on this nice modul.
      I install and setup the module and use Openweather. The measurements are shown on the Mirror but without any Unit. (% or °C…) And the Images of Sun and Moon and the 4 day Forecast will not appear. Anybody know the Mistakes I do in the Setup. I don´t use the AQI Key because is not nessesary for me.

      In the Termial I got some Whoops… I show below…

      Whoops! There was an uncaught exception...
      TypeError: Cannot read property 'length' of undefined
          at Object.parseForecast (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:184:42)
          at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:55:17)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at emitTwo (events.js:126:13)
          at Request.emit (events.js:214:7)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at emitOne (events.js:116:13)
          at Request.emit (events.js:211:7)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:313:30)
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://gi                                   thub.com/MichMich/MagicMirror/issues
      Whoops! There was an uncaught exception...
      SyntaxError: Unexpected token c in JSON at position 0
          at JSON.parse (<anonymous>)
          at Object.parseUV (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:74:23)
          at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ow.js:69:17)
          at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
          at emitTwo (events.js:126:13)
          at Request.emit (events.js:214:7)
          at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
          at emitOne (events.js:116:13)
          at Request.emit (events.js:211:7)
          at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
      
      
      1 Reply Last reply Reply Quote 0
      • G Offline
        Galm
        last edited by Galm

        Hello,

        I am trying to use your new module. I was using the previous one with openweathermap. I can’t get any info display on the screen as you can seen below :
        0_1538807973103_weathermodule.jpg

        FYI : my API key is working well with the default weather module and i use you API airkey on your 1st module without any problems

        If i do understand well in your ow.js, you use this 1st url : http://api.openweathermap.org/data/2.5/forecast/daily?lat=“+this.config.userlat+”&lon=“+this.config.userlon+”&units=imperial&appid="+this.config.apiKey;

        At 1st sight : you missed the use of one variable. Should it be written like this : http://api.openweathermap.org/data/2.5/forecast/daily?lat=“+this.config.userlat+”&lon=“+this.config.userlon+”&units=“+this.config.units+”&appid="+this.config.apiKey; ?

        Another thing : daily forcast are not allowed in free plan so this url won"t work with free plan. I tested it on my browser, to get the forcast I have to use : http://api.openweathermap.org/data/2.5/forecast?lat=“+this.config.userlat+”&lon=“+this.config.userlon+”&units=imperial&appid="+this.config.apiKey; -> i don’t have any idea if you retrieve the info needed in your parser.

        Hope it helps to debug my problems :)

        Thanks a lot for your work

        cowboysdudeC 1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer
          last edited by cowboysdude

          Thank you to @revere521 for finding a problem I didn’t even know existed!! Missing a file that the module is looking for!! I’ll fix that~ :)

          ALL fixed…do a git pull and all will be well :)

          1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer @Galm
            last edited by

            @galm Do a git pull in the MagicMirror/modules/MMM-NOAA3 dir and it will work for you ;)

            G 2 Replies Last reply Reply Quote 0
            • G Offline
              Galm @cowboysdude
              last edited by

              @cowboysdude said in MMM-NOAA - Another Weather Module:

              MMM-NOAA3

              Hello,

              It did not change anything :( still not showing any values

              1 Reply Last reply Reply Quote 0
              • H Offline
                Hubschra01
                last edited by

                Hello,
                I do the git pull too, but I still get the Errors in the Terminalwindow shown on top.
                No Forecast and now measurement units

                The Api request work in the Browser for my coordinates an id.

                Any Ideas.

                1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer
                  last edited by cowboysdude

                  What provider are you using? OpenWeather is proving to be a problem but I’m working on it.

                  H 1 Reply Last reply Reply Quote 0
                  • H Offline
                    Hubschra01 @cowboysdude
                    last edited by

                    @cowboysdude
                    Yes im Using Openweather

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      JRCelis
                      last edited by

                      Trying to update my MMM-NOAA but I’m getting the following message.

                      pi@raspberrypi:~/MagicMirror/modules/MMM-NOAA3 $ git pull
                      Updating 083122c…747044d
                      error: The following untracked working tree files would be overwritten by merge:
                      latlon.json
                      Please move or remove them before you merge.
                      Aborting

                      justjim1220J 1 Reply Last reply Reply Quote 0
                      • justjim1220J Offline
                        justjim1220 Module Developer @JRCelis
                        last edited by

                        @jrcelis

                        rename or delete that file from the NOAA3 directory,

                        Then try again

                        "Life's Too Short To Dance With Ugly People"
                        Jim Hallock - 1995

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          JRCelis @justjim1220
                          last edited by

                          @justjim1220

                          Thanks!

                          justjim1220J 1 Reply Last reply Reply Quote 1
                          • justjim1220J Offline
                            justjim1220 Module Developer @JRCelis
                            last edited by

                            @jrcelis

                            No Problem. Always glad to help out when I can! :smiling_face_with_sunglasses:

                            "Life's Too Short To Dance With Ugly People"
                            Jim Hallock - 1995

                            1 Reply Last reply Reply Quote 0
                            • cowboysdudeC Offline
                              cowboysdude Module Developer
                              last edited by cowboysdude

                              Description:

                              A fork of @Sean MMM-WeatherBackground but remade for NOAA3

                              Please follow Readme on Github!

                              Day
                              0_1539045680821_scr.png

                              Night
                              0_1539045701304_scr1.png

                              Version 1.0.0

                              Download:

                              [card:cowboysdude/MMM-WeatherBackground]

                              1 Reply Last reply Reply Quote 0
                              • V Offline
                                Vauxdvihl
                                last edited by

                                @cowboysdude
                                Thanks for this great module noaa3
                                One question
                                is there a possiblity to increase the size of the module?
                                Thanks
                                Regards

                                cowboysdudeC justjim1220J 2 Replies Last reply Reply Quote -1
                                • cowboysdudeC Offline
                                  cowboysdude Module Developer @Vauxdvihl
                                  last edited by cowboysdude

                                  @vauxdvihl

                                  This will increase or decrease the body element on the page. You would put that in your custom.css file in the CSS directory.

                                  …the ONLY way to make ONLY NOAA bigger is by editing the css file itself…

                                  body {
                                  zoom: 75%;
                                  }

                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    Galm @cowboysdude
                                    last edited by

                                    @cowboysdude : Hello, did you manage to make the openweather API to work with your module?

                                    cowboysdudeC 1 Reply Last reply Reply Quote 0
                                    • cowboysdudeC Offline
                                      cowboysdude Module Developer @Galm
                                      last edited by

                                      @galm Sir I am working on it and hopefully will make some progress tomorrow before football starts :)

                                      justjim1220J G 2 Replies Last reply Reply Quote 1
                                      • justjim1220J Offline
                                        justjim1220 Module Developer @cowboysdude
                                        last edited by

                                        @cowboysdude

                                        Dude! Cowboys season… :face_with_stuck-out_tongue_closed_eyes:

                                        "Life's Too Short To Dance With Ugly People"
                                        Jim Hallock - 1995

                                        cowboysdudeC 1 Reply Last reply Reply Quote 1
                                        • cowboysdudeC Offline
                                          cowboysdude Module Developer @justjim1220
                                          last edited by

                                          @justjim1220

                                          alt text

                                          justjim1220J 1 Reply Last reply Reply Quote 0
                                          • justjim1220J Offline
                                            justjim1220 Module Developer @cowboysdude
                                            last edited by justjim1220

                                            @cowboysdude

                                            0_1539486790858_kansas-city-chiefs.png

                                            "Life's Too Short To Dance With Ugly People"
                                            Jim Hallock - 1995

                                            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
                                            • 2
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 34
                                            • 35
                                            • 15 / 35
                                            • 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