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.
    • J Offline
      jeffreyking
      last edited by

      Thank you I will change units to imperial and see.

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @jeffreyking
        last edited by

        @jeffreyking

        imperial = F
        metric = C

        Create a working config
        How to add modules

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

          Thanks got that I am getting the wrong temp tell me 65 when it should be 27

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @jeffreyking
            last edited by

            @jeffreyking

            NOAA3?

            It works for me. I just tried it. Went right to C when I changed to metric. Have you changed anything in any of the module files?

            Create a working config
            How to add modules

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

              No the default weather module works fine I am using yahoo as provider.

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @jeffreyking
                last edited by

                @jeffreyking

                Well, if you haven’t changed any of the NOAA3 files then you’ll have to wait for the author to take a look at it for you.

                Create a working config
                How to add modules

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

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

                  Hello every one I like this module and it works great, but I would like to know how to change the temp from F to C thank you keep up the good work.

                  The temp will change depending on your setting in your config.js

                  Example = Imperial shows F
                  Metric shows C

                  :)

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

                    Got it up and running it was yahoo weather that was the problem. thank you

                    1 Reply Last reply Reply Quote 1
                    • S Offline
                      Smotx
                      last edited by Smotx

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        Smotx
                        last edited by

                        Hi,

                        Where to set the town/country ?

                        Thx.

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

                          @smotx You don’t. It’s automatically set to read your location.

                          I am working on allowing users to input their own lat and lon… seems that the geolocation isn’t as accurate as I and other would like it to be…

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            Smotx @cowboysdude
                            last edited by Smotx

                            @cowboysdude Ok but how it read my location,

                            actually, it’s not my town (and I dontt know which city it is… 60° Celcius ?)

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

                              @smotx I am working on allowing users to input their own lat and lon…

                              1 Reply Last reply Reply Quote 1
                              • S Offline
                                Smotx
                                last edited by

                                Ok. i’m waiting about.

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

                                  If you’re using DarkSky as your api good news… That one is done…users can now input their own lat and lon to override the geolocation in the provider.

                                  Example config:

                                      module: 'MMM-NOAA3', 
                                     position: 'top_left', 
                                        config: { 
                                            provider: "darksky", // From list above 
                                            apiKey: "YOUR API KEY",        // From one of the providers listed above 
                                            airKey: "YOUR API KEY",  
                                            css: "NOAA3"                   // THIS MUST CONTAIN A CSS STYLE NAME  
                                            userlat: "42.071420",  //overrides the default geolocation with a more precise lat and lon 
                                            userlon: "-76.799440" //ONLY works with the Darksky api at this time!!
                                         } 
                                         },
                                  
                                  Mykle1M 1 Reply Last reply Reply Quote 1
                                  • S Offline
                                    Smotx
                                    last edited by

                                    Cool, so i think now it’s my town^^.

                                    1 Reply Last reply Reply Quote 1
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer @cowboysdude
                                      last edited by

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

                                      If you’re using DarkSky as your api good news… That one is done

                                      YES! Nice work, you ole sum beach. :-)

                                      Create a working config
                                      How to add modules

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

                                        Description:

                                        NEW you must now provide your latitude and longitude… [after fighting with geolocation services it’s just not accurate enough]. SEE the readme on Github!
                                        NOW works with all providers!

                                        To update to a ‘git pull’ in the MagicMirror/modules/MMM-NOAA3 directory

                                        example config:

                                                   module: 'MMM-NOAA3', 
                                                   position: 'top_left', 
                                                   config: { 
                                                     provider: "must be in quotes",  
                                                     apiKey: "YOUR API KEY",  
                                                     airKey: "YOUR API KEY",    
                                                     css: "NOAA3"   
                                                     userlat: "xxxx", 
                                                     userlon: "xxxx"  
                                                   } 
                                                   },  
                                        

                                        Current weather
                                        current condition
                                        current temp
                                        UV Index [using the UV Index color codes]
                                        Humidity [if above certain % changes number color]
                                        Wind and direction
                                        Barometer [Shows number plus if rising, falling or steady]

                                        Sunrise/Sunset times

                                        Forecast
                                        Rotates through 10 day forecast [including today]
                                        Expected condition
                                        with high/low temps
                                        expected humidity

                                        Please follow Readme on Github!

                                        Screenshots:

                                        NONE – See Github

                                        Version 3.1.1

                                        Download:

                                        [card:cowboysdude/MMM-NOAA]

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

                                          Does not run after updated and modified the config file.

                                          /home/pi/.pm2/logs/mm-error.log last 15 lines:
                                          0|mm       | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
                                          0|mm       | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
                                          0|mm       | TypeError: Cannot read property 'data' of undefined
                                          0|mm       |     at Object.parseResponse (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:61:43)
                                          0|mm       |     at Request._callback (/home/pi/MagicMirror/modules/MMM-NOAA3/providers/ds.js:52:28)
                                          0|mm       |     at Request.self.callback (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:185:22)
                                          0|mm       |     at emitTwo (events.js:126:13)
                                          0|mm       |     at Request.emit (events.js:214:7)
                                          0|mm       |     at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1161:10)
                                          0|mm       |     at emitOne (events.js:116:13)
                                          0|mm       |     at Request.emit (events.js:211:7)
                                          0|mm       |     at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-NOAA3/node_modules/request/request.js:1083:12)
                                          0|mm       |     at Object.onceWrapper (events.js:313:30)
                                          0|mm       | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
                                          0|mm       | WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
                                          

                                          My config.js

                                          {
                                          			module: 'MMM-NOAA3',
                                          			position: 'top_right',
                                             			config: {
                                                 			provider: "darksky", // From list above
                                                 			apiKey: "xxxxxx",        // From one of the providers listed above
                                                 			airKey: "xxxxxx",    
                                                 			css: "NOAA3"                   // THIS MUST CONTAIN A CSS STYLE NAME 
                                          			userlat: "43.02xxxx", 
                                                       		userlon: "-81.32xxxx" 
                                          			}
                                          
                                          },
                                          
                                          tbbearT cowboysdudeC 2 Replies Last reply Reply Quote 0
                                          • tbbearT Offline
                                            tbbear Module Developer @JRCelis
                                            last edited by

                                            @jrcelis after your css: … their is no comma

                                            Robert the Bear

                                            cowboysdudeC J Mykle1M 3 Replies Last reply Reply Quote 1

                                            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
                                            • 23
                                            • 24
                                            • 25
                                            • 26
                                            • 27
                                            • 34
                                            • 35
                                            • 25 / 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