• 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.
  • N Offline
    Nystro0m
    last edited by Nystro0m Sep 24, 2017, 6:31 PM Sep 24, 2017, 4:33 PM

    @cowboysdude
    I got a error after the update with following:

    /home/pi/MagicMirror/modules/MMM-NOAA/MMM-NOAA.js:399
    =======
    ^^^
    SyntaxError: Unexpected token ===
    
    

    I removed the ====== on line 399 with success to get the module working.

    Im not sure if this is just on my side, im still new to this. But i thought it could good to be shared.

    Edit: This could make a problem with updating the the module. I experience the clock getting stuck from time to time.

    P 1 Reply Last reply Sep 24, 2017, 7:28 PM Reply Quote 1
    • P Offline
      pjkoeleman @Nystro0m
      last edited by Sep 24, 2017, 7:28 PM

      @Nystro0m
      Looks to me that there is two times the same code in the js-file ecxept for the language settings. So @cowboysdude has to look into this.

      M 1 Reply Last reply Sep 24, 2017, 9:27 PM Reply Quote 1
      • M Offline
        Mykle1 Project Sponsor Module Developer @pjkoeleman
        last edited by Sep 24, 2017, 9:27 PM

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

        So @cowboysdude has to look into this.

        He’s doing a roofing job in 90° heat at the moment. On a Sunday! Who does that?

        I’m sure he’ll fix it as soon as possible. That’s what he does.

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • C Offline
          cowboysdude Module Developer
          last edited by Sep 24, 2017, 11:46 PM

          @Nystro0m and @pjkoeleman

          Thank you both!!! IT was doubled, not sure how that happened but all fixed!! :)

          N 1 Reply Last reply Sep 27, 2017, 5:36 PM Reply Quote 0
          • J Offline
            Johans
            last edited by Johans Sep 25, 2017, 5:43 PM Sep 25, 2017, 5:41 PM

            installed module last night, settings all according the help file, but nothing is displayed.
            Switched back to the wunderground module, that’s working fine.
            any idea. I suppose that when the API key is working with the Wunderground module it should work with yours too.

            what information do i need to provide for further investigation - also tell me how to get that. (I’m newbee - sorry for this - i’m in a learning process )
            (language was set to “nl” and then changed again to “en”).
            And I see module is loaded, but not displayed.

            C N 2 Replies Last reply Sep 25, 2017, 7:58 PM Reply Quote 0
            • C Offline
              cowboysdude Module Developer @Johans
              last edited by cowboysdude Sep 25, 2017, 8:20 PM Sep 25, 2017, 7:58 PM

              @Johans check the console log and see what that tells you when it’s loading…

              You need to start your mirror and hit the ‘ALT’ key there will be a menu at the top…you want ‘toggle developer…’

              That’ll open up a side panel on the right and it will tell you what error there is…let me know so I can help you fix it :)

              J 1 Reply Last reply Sep 26, 2017, 4:09 PM Reply Quote 1
              • N Offline
                Nystro0m @Johans
                last edited by Sep 26, 2017, 8:41 AM

                @Johans
                Im running on a Raspberry pi B ver.1 and it have some problems loading information from time to time when it been pushed to far.
                I would make sure that it is no error in the console from NOAA or other modules:
                Either by Comwboysdude method, but you could also run: “npm start dev” when starting MagicMirror.
                Another way that i did find more speed efficient is to open the MagicMirror interface on a secondary computer by going to: “Your.PI.LocalIP:8080/”.
                And then right-click and choose “inspect” in Chrome. Here you can find the console.

                Make sure to have your WhitelistIP set properly.

                I could also recommend Jophys - Remote Control Module.
                With this you can restart you MagicMirror, enter the web interface and such remotely if you are not comfortable with ssh.

                J 1 Reply Last reply Sep 26, 2017, 4:01 PM Reply Quote 1
                • J Offline
                  Johans @Nystro0m
                  last edited by Sep 26, 2017, 4:01 PM

                  @Nystro0m
                  thanks, learned again something new, on how to remotely connect to the MagicMirror.
                  Meanwhile problem is solved.

                  removed the line 400.
                  these chars created an error ==========

                  1 Reply Last reply Reply Quote 1
                  • J Offline
                    Johans @cowboysdude
                    last edited by Sep 26, 2017, 4:09 PM

                    @cowboysdude

                    thanks for showing me how to track & trace errors.
                    Found root cause - line 400 in module MMM-NOAA.js.
                    I removed the =========.

                    Also added the “nl”: “nl-NL” into the lang file section.

                    So now it’s all working - and in dutch - makes my wife happy :).
                    Very beautifull - thanks for you support.

                    C 1 Reply Last reply Sep 26, 2017, 9:47 PM Reply Quote 0
                    • C Offline
                      cowboysdude Module Developer @Johans
                      last edited by Sep 26, 2017, 9:47 PM

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

                      @cowboysdude

                      thanks for showing me how to track & trace errors.
                      Found root cause - line 400 in module MMM-NOAA.js.
                      I removed the =========.

                      Also added the “nl”: “nl-NL” into the lang file section.

                      So now it’s all working - and in dutch - makes my wife happy :).
                      Very beautifull - thanks for you support.

                      You are welcome… yes I fixed that on Github

                      Thank you!!! :)

                      Glad you made your wife happy! We have a saying here…

                      “Happy wife, happy life.” HAHAA

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 68
                      • 69
                      • 7 / 69
                      7 / 69
                      • First post
                        62/690
                        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