• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.3m 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.
  • S Offline
    soshea1
    last edited by Apr 28, 2018, 10:28 PM

    Hey there,

    Im hoping that someone can help me out with an error on this module. I am a complete newbie to this, so please bare with me.

    I have loaded the MMM-NOA module onto the config script, created the API key and selected the PWS on wundermap. However when i load up Magic Mirror- The module displays 'Undefined and NAN with no information loaded. It seems like it is just not pulling the info from the PWS correctly.

    I followed the instructions correctly, but dont seem to be able to fix this.

    Thank you

    M 1 Reply Last reply Apr 29, 2018, 1:20 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @soshea1
      last edited by Apr 29, 2018, 1:20 AM

      @soshea1

      Did you try another PWS? They can fail. Also, post your config entry for NOAA here (in a code block) so we can have a look at it.

      Create a working config
      How to add modules

      S 1 Reply Last reply Apr 29, 2018, 2:39 PM Reply Quote 0
      • S Offline
        soshea1 @Mykle1
        last edited by soshea1 Apr 29, 2018, 2:42 PM Apr 29, 2018, 2:39 PM

        @Mykle1

        Yes i tried using multiple different PWS codes, and still none of them display.

        Ill try upload a picture in a separate reply of what displays.

        Thanks for any help

        /* Magic Mirror Config Sample
         *
         * By Michael Teeuw http://michaelteeuw.nl
         * MIT Licensed.
         *
         * For more information how you can configurate this file
         * See https://github.com/MichMich/MagicMirror#configuration
         *
         */
        
        var config = {
        	address: "localhost", // Address to listen on, can be:
        	                      // - "localhost", "127.", "::1" to listen on loopback interface
        	                      // - another specific IPv4/6 to listen on a specific interface
        	                      // - "", "0.0.0.0", "::" to listen on any interface
        	                      // Default, when address config is left out, is "localhost"
        	port: 8080,
        	ipWhitelist: ["127.0.0.1", "::ffff:127", "::1"], // Set [] to allow all IP addresses
        	                                                       // or add a specific IPv4 of 192.****** :
        	                                                       // ["127.0.0.1", "::ffff:127", "::1", "::ffff:192."],
        	                                                       // or IPv4 range of 192. --> 192.1 use CIDR format :
        	                                                       // ["127.0.0.1", "::ffff:127.", "::1", "::ffff:192/28"],
        
        	language: "en",
        	timeFormat: 24,
        	units: "metric",
        
        	modules: [
        		{
        			module: "alert",
        		},
        		{
        			module: "updatenotification",
        			position: "top_bar"
        		},
        		{
        			module: "clock",
        			position: "top_left"
        		},
        		{
        			module: "calendar",
        			header: "Canada Holidays",
        			position: "top_left",
        			config: {
        				calendars: [
        					{
        						symbol: "calendar-check-o ",
        						url: "webcal://www.calendarlabs.com/ical-calendar/ics/39/Canada_Holidays.ics"
        					}
        				]
        			}
        		},
        		{
        			module: "compliments",
        			position: "lower_third"
        		},
        		{
        			disabled: true,
        			module: "currentweather",
        			position: "top_right",
        			config: {
        				location: "New York",
        				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
        				appid: "YOUR_OPENWEATHER_API_KEY"
        			}
        		},
        		{
        			disabled: true,
        			module: "weatherforecast",
        			position: "top_right",
        			header: "Weather Forecast",
        			config: {
        				location: "New York",
        				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
        				appid: "YOUR_OPENWEATHER_API_KEY"
        			}
        		},
        		{
        			module: "newsfeed",
        			position: "bottom_bar",
        			config: {
        				feeds: [
        					{
        						title: "New York Times",
        						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
        					}
        				],
        				showSourceTitle: true,
        				showPublishDate: true
        			}
        		},
        		{
        			disabled: false,
        			module: 'MMM-NOAA',
        			position: "top_right",
        			config: {
        			apiKey: "f78fa7e86*****",
        			useAir: false,
        			psw1: "IONTARIO1060",
        			lat: "43.177",
        			long: "-79.800",
        		}
          		},
        	
        		]
        };
        
        /*************** DO NOT EDIT THE LINE BELOW ***************/
        if (typeof module !== "undefined") {module.exports = config;}
        
        1 Reply Last reply Reply Quote 0
        • Y Offline
          yawns Moderator
          last edited by Apr 29, 2018, 3:23 PM

          It is pws1, not psw1
          And according to the readme you don’t need lat and long

          1 Reply Last reply Reply Quote 2
          • S Offline
            soshea1
            last edited by Apr 29, 2018, 3:51 PM

            @yawns

            Thank you so much!. Such a small detail caused me hours of pain!

            I must of looked at that config 100 times and didnt spot that!

            M 1 Reply Last reply Apr 29, 2018, 10:05 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @soshea1
              last edited by Apr 29, 2018, 10:05 PM

              @soshea1

              @yawns is KING! :-)

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • cowboysdudeC Offline
                cowboysdude Module Developer
                last edited by May 24, 2018, 1:40 AM

                Folks NOAA 3 is WELL under development BUT with Wunderground going belly up on users I’ll have to reconfigure a lot of stuff… at this point Wunderground will no longer be used to get the weather for NOAA, NOAA2 or 3.

                IF you’re having issues with either NOAA or NOAA2 please post them here …
                http://108.29.66.102:443/

                1 Reply Last reply Reply Quote 1
                • cowboysdudeC Offline
                  cowboysdude Module Developer
                  last edited by May 24, 2018, 10:19 PM

                  I’ll be reconfiguring NOAA2 this evening… will let you know.

                  M 1 Reply Last reply May 25, 2018, 12:30 AM Reply Quote 1
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @cowboysdude
                    last edited by May 25, 2018, 12:30 AM

                    @cowboysdude

                    Hurry up. I don’t have all night. ;-)

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • cowboysdudeC Offline
                      cowboysdude Module Developer
                      last edited by May 25, 2018, 2:46 AM

                      Description:

                      New Service Provider…since wunderground is NO longer offering free api keys…

                      SEE README …on Github.

                      Version 2.1.7

                      Download:

                      [card:cowboysdude/MMM-NOAA]

                      N 1 Reply Last reply Jun 21, 2018, 4:07 AM Reply Quote 2
                      • 1
                      • 2
                      • 38
                      • 39
                      • 40
                      • 41
                      • 42
                      • 68
                      • 69
                      • 40 / 69
                      • 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