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-News

    Scheduled Pinned Locked Moved Utilities
    55 Posts 15 Posters 44.1k Views 14 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.
    • swvalentiS Offline
      swvalenti Project Sponsor
      last edited by

      @Bugsounet ok thanks, let me know if I can do anything to help.

      1 Reply Last reply Reply Quote 0
      • swvalentiS Offline
        swvalenti Project Sponsor
        last edited by

        Anything I can do in the mean time to troubleshoot to help get this resolved. It is happening now, I looked in the dev window but didn’t see any errors. I don’t know where else to look. Attached should show the news on the bottom bar but nothing there. Thanks, Scott

        Capture.PNG

        1 Reply Last reply Reply Quote 0
        • swvalentiS Offline
          swvalenti Project Sponsor
          last edited by

          @Bugsounet Just circling back on this…would it be easier if I created an issue on github or leave it here?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @swvalenti
            last edited by

            @swvalenti whos news? did u look in the console window where u started MM?

            or pm2 logs if using pm2?

            news and calendar use the node_helper to fetch info…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • swvalentiS Offline
              swvalenti Project Sponsor
              last edited by

              Thanks Sam, checked the pm2 logs and unbeknownst to me…they now went to a paid tier api it seems!

              
              1|MagicMir | [2020-11-17 16:23:16.523] [LOG]    [NEWS] Error :  https://newsapi.org/v2/top-headlines?country=us&pageSize=20&apiKey=99d1bd76c7f140f58c237d54c41ab334 result.code:You have made too many requests recently. Developer accounts are limited to 100 requests over a 24 hour period (50 requests available every 12 hours). Please upgrade to a paid plan if you need more requests.
              
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @swvalenti
                last edited by

                @swvalenti said in MMM-News:

                50 requests available every 12 hours

                change the refresh rate to 15 minutes that would be 48 per 12 hours

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • swvalentiS Offline
                  swvalenti Project Sponsor
                  last edited by

                  @sdetweil I don’t see that as an option in the config…

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @swvalenti
                    last edited by

                    @swvalenti edit line 48 of node_helper.js

                    change

                        this.scanInterval = 1000*60*10
                    

                    to this

                        this.scanInterval = 1000*60*15
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    ? 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @sdetweil
                      last edited by

                      @sdetweil yes, it’s new they have limited request. So I will add new part of code for define interval, quickly

                      1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User
                        last edited by

                        Hi, I have upgraded to v2.1.2 with personal fetch interval.
                        By default i put 30 min in default config

                        1 Reply Last reply Reply Quote 2
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 3 / 6
                        • 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