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.
    • S Offline
      soshea1
      last edited by

      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

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

        @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 Reply Quote 0
        • S Offline
          soshea1 @Mykle1
          last edited by soshea1

          @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
          • yawnsY Offline
            yawns Moderator
            last edited by

            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

              @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!

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

                @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

                  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

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

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

                      @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

                        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 Reply Quote 2
                        • G Offline
                          ganther
                          last edited by

                          Hi Cowboydude,

                          after the last MMM-NOAA update it’s not possible to show MMM-NOAA and MMM-CalendarExt at the same time.
                          If both modules are activated in config MMM-CalendarExt will not be shown.
                          If I comment out MMM-NOAA everything works fine.

                          I deleted MMM-NOAA module and made a clean install but no effect.

                          Any ideas?

                          Thank you.

                          Sandy

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

                            I forgot:
                            No errors shown at pm2 log mm or npm start dev

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              core
                              last edited by

                              Hi everyone,

                              I have problems with regard to the latest version of this module.

                              I updated to the new version, including the updated weather service provider and since then, two of my other modules (MMM-Fuel and MMM-Sonos) are not working any more. The position (bottom_left) is just blank now, wheras the MMM-NOAA (position: top_right) module works. Even a re-install of MMM-NOAA and reboot of my Rpi3 did not fix this issue.
                              When I delete the module from my config, all other modules are working again, so I can clearly assign the problem to the MMM-NOAA module.
                              Until now, I don´ t use this module and all modules are working smoothly. However, I like this module so hopefully, the problems will be fixed soon. Any news about it?

                              Thanks!

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                redink
                                last edited by

                                I am also having problems with MMM-NOAA coming up, as well as MMM-CalendarExt. The reason I am posting this here is because i see an error in the browser console related to NOAA. I am posting the log below. mm-error-0.log file doesn’t show any errors.

                                (index):41 GET http://192.168.1.243:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js 404 (Not Found)
                                (index):41 GET http://192.168.1.243:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js 404 (Not Found)
                                (index):1 Refused to execute script from 'http://192.168.1.243:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
                                main.js:447 Initializing MagicMirror.
                                translator.js:201 Loading core translation file: translations/en.json
                                translator.js:224 Loading core translation fallback file: translations/en.json
                                loader.js:182 Load script: modules/MMM-CalendarExt//MMM-CalendarExt.js
                                module.js:476 Module registered: MMM-CalendarExt
                                loader.js:152 Bootstrapping module: MMM-CalendarExt
                                loader.js:182 Load script: vendor/node_modules/moment/min/moment-with-locales.js
                                loader.js:182 Load script: modules/MMM-CalendarExt/Configs.js
                                loader.js:182 Load script: modules/MMM-CalendarExt/Render.js
                                loader.js:157 Scripts loaded for: MMM-CalendarExt
                                loader.js:197 Load stylesheet: vendor/node_modules/font-awesome/css/font-awesome.min.css
                                loader.js:197 Load stylesheet: modules/MMM-CalendarExt/custom.css
                                loader.js:197 Load stylesheet: modules/MMM-CalendarExt/preset.css
                                loader.js:159 Styles loaded for: MMM-CalendarExt
                                loader.js:161 Translations loaded for: MMM-CalendarExt
                                loader.js:182 Load script: modules/MMM-NOAA//MMM-NOAA.js
                                module.js:476 Module registered: MMM-NOAA
                                loader.js:152 Bootstrapping module: MMM-NOAA
                                loader.js:237 File already loaded: moment.js
                                loader.js:157 Scripts loaded for: MMM-NOAA
                                loader.js:197 Load stylesheet: modules/MMM-NOAA/MMM-NOAA.css
                                loader.js:197 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons.css
                                loader.js:159 Styles loaded for: MMM-NOAA
                                translator.js:174 MMM-NOAA - Load translation fallback: translations/en.json
                                loader.js:161 Translations loaded for: MMM-NOAA
                                loader.js:182 Load script: modules/MMM-Traffic//MMM-Traffic.js
                                module.js:476 Module registered: MMM-Traffic
                                loader.js:152 Bootstrapping module: MMM-Traffic
                                loader.js:157 Scripts loaded for: MMM-Traffic
                                loader.js:197 Load stylesheet: modules/MMM-Traffic/traffic.css
                                loader.js:237 File already loaded: font-awesome.css
                                loader.js:159 Styles loaded for: MMM-Traffic
                                loader.js:161 Translations loaded for: MMM-Traffic
                                loader.js:182 Load script: modules/default/alert//alert.js
                                module.js:476 Module registered: alert
                                loader.js:152 Bootstrapping module: alert
                                loader.js:182 Load script: modules/default/alert/classie.js
                                loader.js:182 Load script: modules/default/alert/modernizr.custom.js
                                loader.js:182 Load script: modules/default/alert/notificationFx.js
                                loader.js:157 Scripts loaded for: alert
                                loader.js:197 Load stylesheet: modules/default/alert/ns-default.css
                                loader.js:159 Styles loaded for: alert
                                translator.js:174 alert - Load translation fallback: translations/en.json
                                loader.js:161 Translations loaded for: alert
                                loader.js:182 Load script: modules/default/updatenotification//updatenotification.js
                                module.js:476 Module registered: updatenotification
                                loader.js:152 Bootstrapping module: updatenotification
                                loader.js:157 Scripts loaded for: updatenotification
                                loader.js:159 Styles loaded for: updatenotification
                                loader.js:161 Translations loaded for: updatenotification
                                loader.js:182 Load script: modules/default/clock//clock.js
                                module.js:476 Module registered: clock
                                loader.js:152 Bootstrapping module: clock
                                loader.js:237 File already loaded: moment.js
                                loader.js:182 Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
                                loader.js:157 Scripts loaded for: clock
                                loader.js:197 Load stylesheet: modules/default/clock/clock_styles.css
                                loader.js:159 Styles loaded for: clock
                                loader.js:161 Translations loaded for: clock
                                loader.js:197 Load stylesheet: css/custom.css
                                MMM-NOAA.js:89 Starting module: MMM-NOAA
                                MMM-Traffic.js:42 Starting module: MMM-Traffic
                                alert.js:151 Starting module: alert
                                updatenotification.js:10 Start updatenotification
                                clock.js:40 Starting module: clock
                                main.js:465 All modules started!
                                module.js:155 MMM-Traffic received a system notification: ALL_MODULES_STARTED
                                module.js:155 clock received a system notification: ALL_MODULES_STARTED
                                TypeError: Cannot read property '0' of undefined
                                    at Class.getDom (MMM-NOAA.js:344)
                                    at Promise (main.js:110)
                                    at new Promise ()
                                    at updateDom (main.js:109)
                                    at modules.forEach.module (main.js:53)
                                    at Array.forEach ()
                                    at createDomObjects (main.js:24)
                                    at Object.modulesStarted (main.js:468)
                                    at startModules (loader.js:59)
                                    at loader.js:40
                                Promise.catch (async)
                                modules.forEach.module @ main.js:57
                                createDomObjects @ main.js:24
                                modulesStarted @ main.js:468
                                startModules @ loader.js:59
                                (anonymous) @ loader.js:40
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadNextModule @ loader.js:38
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                loadFile @ loader.js:238
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                (anonymous) @ translator.js:185
                                xhr.onreadystatechange @ translator.js:22
                                XMLHttpRequest.send (async)
                                loadJSON @ translator.js:25
                                load @ translator.js:179
                                loadTranslations @ module.js:330
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                loadFile @ loader.js:238
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                (anonymous) @ translator.js:185
                                xhr.onreadystatechange @ translator.js:22
                                XMLHttpRequest.send (async)
                                loadJSON @ translator.js:25
                                load @ translator.js:179
                                loadTranslations @ module.js:330
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                loadFile @ loader.js:238
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                loadModules @ loader.js:46
                                loadModules @ loader.js:223
                                init @ main.js:450
                                (anonymous) @ main.js:577
                                module.js:155 MMM-Traffic received a system notification: MODULE_DOM_CREATED
                                module.js:155 clock received a system notification: MODULE_DOM_CREATED
                                MMM-NOAA.js:344 Uncaught (in promise) TypeError: Cannot read property '0' of undefined
                                    at Class.getDom (MMM-NOAA.js:344)
                                    at Promise (main.js:110)
                                    at new Promise ()
                                    at updateDom (main.js:109)
                                    at modules.forEach.module (main.js:53)
                                    at Array.forEach ()
                                    at createDomObjects (main.js:24)
                                    at Object.modulesStarted (main.js:468)
                                    at startModules (loader.js:59)
                                    at loader.js:40
                                getDom @ MMM-NOAA.js:344
                                Promise @ main.js:110
                                updateDom @ main.js:109
                                modules.forEach.module @ main.js:53
                                createDomObjects @ main.js:24
                                modulesStarted @ main.js:468
                                startModules @ loader.js:59
                                (anonymous) @ loader.js:40
                                stylesheet.onload @ loader.js:203
                                Promise.then (async)
                                createDomObjects @ main.js:62
                                modulesStarted @ main.js:468
                                startModules @ loader.js:59
                                (anonymous) @ loader.js:40
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadNextModule @ loader.js:38
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                loadFile @ loader.js:238
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                (anonymous) @ translator.js:185
                                xhr.onreadystatechange @ translator.js:22
                                XMLHttpRequest.send (async)
                                loadJSON @ translator.js:25
                                load @ translator.js:179
                                loadTranslations @ module.js:330
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                loadFile @ loader.js:238
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                (anonymous) @ translator.js:185
                                xhr.onreadystatechange @ translator.js:22
                                XMLHttpRequest.send (async)
                                loadJSON @ translator.js:25
                                load @ translator.js:179
                                loadTranslations @ module.js:330
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                loadFile @ loader.js:238
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                loadModules @ loader.js:46
                                loadModules @ loader.js:223
                                init @ main.js:450
                                (anonymous) @ main.js:577
                                undefined.png:1 GET http://192.168.1.243:8080/modules/MMM-NOAA/images/undefined.png 404 (Not Found)
                                Image (async)
                                getDom @ MMM-NOAA.js:293
                                Promise @ main.js:110
                                updateDom @ main.js:109
                                modules.forEach.module @ main.js:53
                                createDomObjects @ main.js:24
                                modulesStarted @ main.js:468
                                startModules @ loader.js:59
                                (anonymous) @ loader.js:40
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadNextModule @ loader.js:38
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                loadFile @ loader.js:238
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                (anonymous) @ translator.js:185
                                xhr.onreadystatechange @ translator.js:22
                                XMLHttpRequest.send (async)
                                loadJSON @ translator.js:25
                                load @ translator.js:179
                                loadTranslations @ module.js:330
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                loadFile @ loader.js:238
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                (anonymous) @ translator.js:185
                                xhr.onreadystatechange @ translator.js:22
                                XMLHttpRequest.send (async)
                                loadJSON @ translator.js:25
                                load @ translator.js:179
                                loadTranslations @ module.js:330
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                loadFile @ loader.js:238
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                (anonymous) @ loader.js:31
                                (anonymous) @ loader.js:126
                                (anonymous) @ loader.js:163
                                loadTranslations @ module.js:333
                                (anonymous) @ loader.js:160
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                stylesheet.onload @ loader.js:203
                                load (async)
                                loadFile @ loader.js:202
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadStyles @ module.js:268
                                (anonymous) @ loader.js:158
                                loadNextDependency @ module.js:298
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:261
                                loadNextDependency @ module.js:293
                                (anonymous) @ module.js:295
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadFile @ loader.js:254
                                loadNextDependency @ module.js:293
                                loadDependencies @ module.js:302
                                loadScripts @ module.js:277
                                bootstrapModule @ loader.js:156
                                afterLoad @ loader.js:125
                                (anonymous) @ loader.js:138
                                script.onload @ loader.js:187
                                load (async)
                                loadFile @ loader.js:186
                                loadModule @ loader.js:136
                                loadNextModule @ loader.js:29
                                loadModules @ loader.js:46
                                loadModules @ loader.js:223
                                init @ main.js:450
                                (anonymous) @ main.js:577
                                MMM-Traffic.js:273 received TRAFFIC_COMMUTE
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TokTias
                                  last edited by TokTias

                                  Hi !

                                  I am really gloing bananas here. I got several other MMM-modules running in my Ubuntu machine, but MMM-NOAA just won’t start. I get, depending on how I start MM :

                                  node serveronly
                                  Starting MagicMirror: v2.3.1
                                  Loading config ...
                                  Loading module helpers ...
                                  WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
                                  Loading module helpers ...
                                  Whoops! There was an uncaught exception...
                                  [SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode]
                                  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://github.com/MichMich/MagicMirror/issues
                                  

                                  Or

                                  npm start
                                  
                                  > magicmirror@2.3.1 start /home/ranix/MagicMirror
                                  > sh run-start.sh
                                  
                                  
                                  npm ERR! Linux 4.13.0-43-generic
                                  npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
                                  npm ERR! node v4.2.6
                                  npm ERR! npm  v3.5.2
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! magicmirror@2.3.1 start: `sh run-start.sh`
                                  npm ERR! Exit status 1
                                  npm ERR!
                                  npm ERR! Failed at the magicmirror@2.3.1 start script 'sh run-start.sh'.
                                  npm ERR! Make sure you have the latest version of node.js and npm installed.
                                  npm ERR! If you do, this is most likely a problem with the magicmirror package,
                                  npm ERR! not with npm itself.
                                  npm ERR! Tell the author that this fails on your system:
                                  npm ERR!     sh run-start.sh
                                  npm ERR! You can get information on how to open an issue for this project with:
                                  npm ERR!     npm bugs magicmirror
                                  npm ERR! Or if that isn't available, you can get their info via:
                                  npm ERR!     npm owner ls magicmirror
                                  npm ERR! There is likely additional logging output above.
                                  
                                  npm ERR! Please include the following file with any support request:
                                  npm ERR!     /home/ranix/MagicMirror/npm-debug.log
                                  

                                  I did not get any issues when running npm install, and as mentioned above, no issues with other modules.

                                  npm run config:check
                                  

                                  runs ok and I even removed my MM-instalaltion, reinstalled it and I tried a minimal config.js file like this :

                                  var config = {
                                  	address: "0.0.0.0",
                                  	port: 8070,
                                  	ipWhitelist: [],
                                  
                                  	language: "en",
                                  	timeFormat: 24,
                                  	units: "metric",
                                  
                                  	modules: [
                                  		{
                                  	    		module: 'MMM-NOAA',
                                  			position: 'top_center',
                                  			config:{
                                  				apiKey: '----',
                                  				airKey: '----',
                                  			},
                                  		},
                                  	]
                                  
                                  };
                                  
                                  /*************** DO NOT EDIT THE LINE BELOW ***************/
                                  if (typeof module !== "undefined") {module.exports = config;}
                                  

                                  And it just shows the errors as listed above.

                                  Is there anyone who can help me figure out what’s going south here before I have to give up ?

                                  Cheers & TIA !
                                  /T

                                  Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @TokTias
                                    last edited by

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

                                    This may or may not be related but your node seems like it could be updated.

                                    Create a working config
                                    How to add modules

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

                                      @toktias Sent you a PM…

                                      In reality all mirrors are different and from time to time these things happen :)

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TokTias @Mykle1
                                        last edited by TokTias

                                        @mykle1 Thanks, but as far as I can see, I got the latest version; “4.2.6~dfsg-1ubuntu4.1”. Or am I missing some new/hidden version out there ? :)

                                        Cheers !
                                        /T

                                        strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                        • strawberry 3.141S Offline
                                          strawberry 3.141 Project Sponsor Module Developer @TokTias
                                          last edited by

                                          @toktias you are running node v4.2.6 the current version is v10.4.1 https://nodejs.org/en/

                                          Please create a github issue if you need help, so I can keep track

                                          T cowboysdudeC 2 Replies Last reply Reply Quote 3
                                          • T Offline
                                            TokTias @strawberry 3.141
                                            last edited by

                                            @strawberry-3-141
                                            Thanks for pointing me in the correct direction !
                                            My Linux-box was pointing to ppa:chris-lea/node.js as the source for Node.js, I removed that (reference and unistalled it) and installed per the intrucitons you linked to in your post above a voilá, MMM-NOAA works perfect now !

                                            Thanks a lot & Cheers !
                                            /T

                                            1 Reply 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
                                            • 25
                                            • 26
                                            • 27
                                            • 28
                                            • 29
                                            • 34
                                            • 35
                                            • 27 / 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