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.7m 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.
    • cowboysdudeC Offline
      cowboysdude Module Developer @Chris
      last edited by

      @Chris start the mirror like this
      npm start dev

      in that window let me know what if any errors you’re getting :)

      1 Reply Last reply Reply Quote 0
      • ChrisC Offline
        Chris
        last edited by

        Thank you for your prompt response,
        here is what is indicated at startup:

        > magicmirror@2.2.1 start /home/pi/MagicMirror
        > sh run-start.sh "dev"
        
        Starting MagicMirror: v2.2.1
        Loading config ...
        Loading module helpers ...
        No helper found for module: alert.
        Initializing new module helper ...
        Module helper loaded: updatenotification
        No helper found for module: calendar_monthly.
        Initializing new module helper ...
        Module helper loaded: calendar
        Initializing new module helper ...
        Module helper loaded: MMM-MyCommute
        Initializing new module helper ...
        Module helper loaded: MMM-SoccerLiveScore
        Initializing new module helper ...
        Module helper loaded: MMM-soccer
        No helper found for module: MMM-Globe.
        Initializing new module helper ...
        Module helper loaded: MMM-Remote-Control
        No helper found for module: clock.
        Initializing new module helper ...
        Module helper loaded: mmm-suncalc
        Initializing new module helper ...
        Module helper loaded: MMM-NOAA
        No helper found for module: mmm-wu-moonphase.
        Initializing new module helper ...
        Module helper loaded: MMM-Tools
        Initializing new module helper ...
        Module helper loaded: newsfeed
        No helper found for module: MMM-Snow.
        All module helpers loaded.
        Starting server on port 8080 ... 
        Server started ...
        Connecting socket for: updatenotification
        Connecting socket for: calendar
        Starting node helper for: calendar
        Connecting socket for: MMM-MyCommute
        ====================== Starting node_helper for module [MMM-MyCommute]
        Connecting socket for: MMM-SoccerLiveScore
        MMM-SoccerLiveScore helper started...
        Connecting socket for: MMM-soccer
        Starting module: MMM-soccer
        Connecting socket for: MMM-Remote-Control
        Starting node helper for: MMM-Remote-Control
        Connecting socket for: mmm-suncalc
        Starting node_helper for mmm-suncalc: 
        Connecting socket for: MMM-NOAA
        Starting module: MMM-NOAA
        Connecting socket for: MMM-Tools
        Connecting socket for: newsfeed
        Starting module: newsfeed
        Sockets connected & modules started ...
        Launching application.
        Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/XXXX/basic.ics - Interval: 300000
        Get league table for url http://api.football-data.org/v1/competitions/450/leagueTable
        Create new news fetcher for url: http://www.leparisien.fr/actualites-a-la-une.rss.xml#xtor=RSS-1481423633 - Interval: 300000
        Whoops! There was an uncaught exception...
        TypeError: Cannot read property 'observation_location' of undefined
            at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-NOAA/node_helper.js:26:49)
            at Request.self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
            at emitTwo (events.js:106:13)
            at Request.emit (events.js:191:7)
            at Request. (/home/pi/MagicMirror/node_modules/request/request.js:1163:10)
            at emitOne (events.js:96:13)
            at Request.emit (events.js:188:7)
            at IncomingMessage. (/home/pi/MagicMirror/node_modules/request/request.js:1085:12)
            at IncomingMessage.g (events.js:286:16)
            at emitNone (events.js:91:20)
        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
        
        

        Thanks for your help

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

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

          Cannot read property ‘observation_location’ of undefined

          Not seeing your location…

          ChrisC 1 Reply Last reply Reply Quote 0
          • ChrisC Offline
            Chris @cowboysdude
            last edited by Chris

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

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

            Cannot read property ‘observation_location’ of undefined

            Not seeing your location…

            I corrected the pws value and it works. I made a mistake in the way of writing it.

            pws: "pws:I93SEVRA3",
            

            instead of

            pws: "I93SEVRA3",
            

            Sorry to have bothered you for so little

            Thank you very much for your help

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

              @Chris Hahhahaahha it happens :) Glad you got it working!!! You didn’t bother me!!

              1 Reply Last reply Reply Quote 1
              • P Offline
                Peter
                last edited by

                First: this is a beautiful module, I like it very much!
                But sometimes it does strange things: today is thursday and normally the module would show today, friday, saturday, etc.
                But sometimes the module suddenly shows wednesday (yesterday) only.
                After restarting (or from itself) the module is normal again.
                Somebody any idea?
                Peter

                cruunnerrC 1 Reply Last reply Reply Quote 0
                • cruunnerrC Offline
                  cruunnerr @Peter
                  last edited by

                  @Peter

                  It sounds like your whole MagicMirror instance freezes. But you can only see this at the NOAA module, because once the modules have loaded their informations they will show (without updated informations) their stuff.
                  So the other modules freezes, too but u can’t recognize it because u normally see no refreshing data. But on the NOAA module u expect a change of the shown data.

                  Sorry, my english is bad. Hope u could understand.

                  please check your log files and post the content

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Peter @cruunnerr
                    last edited by

                    @cruunnerr your english is good to understand.
                    I think my MM is freezing indeed (see my other thread “something is wrong”).
                    But I do not understand why NOAA gives yesterdays weather while freezing.
                    If it gave only todays wheather I would understand.
                    I suspect one of the other modules making my MM freeze.
                    But which one …
                    Peter

                    1 Reply Last reply Reply Quote 0
                    • cruunnerrC Offline
                      cruunnerr
                      last edited by

                      if u use pm2, u should check pm2 logs and check the errors. Other way is to start MM with develop mode: npm start dev or with ssh: DISPLAY=:0 npm start dev

                      Or start it with Firefox on your pc and use Firebug

                      P 1 Reply Last reply Reply Quote 1
                      • P Offline
                        Peter @cruunnerr
                        last edited by

                        @cruunnerr , I am very sorry and it sounds stupid, but I have no idea how my MM starts.
                        I had a lot problems to make its start automatically, but now it works.
                        I cannot stop MM, only minimalise it with CRTL-M.
                        SSH does not work (for some reason) VNC works well.
                        Peter

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 24
                        • 25
                        • 26
                        • 27
                        • 28
                        • 68
                        • 69
                        • 26 / 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