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 51.8k 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

      Not sure what it means but says initialized with 10 query

      /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
      1|MagicMir | [2020-11-22 18:00:23.595] [LOG]    MMM-PGA Retrieving Tounament List
      1|MagicMir | [2020-11-22 18:00:24.198] [LOG]    MMM-PGA retrieving Tournament Data
      1|MagicMir | [2020-11-22 18:05:22.126] [LOG]    Use existing calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics
      1|MagicMir | [2020-11-22 18:05:22.134] [INFO]   Calendar-Fetcher: Broadcasting 2 events.
      1|MagicMir | [2020-11-22 18:05:22.391] [INFO]   Calendar-Fetcher: Broadcasting 2 events.
      1|MagicMir | [2020-11-22 18:05:24.044] [LOG]    MMM-PGA retrieving Tournament Data
      1|MagicMir | [2020-11-22 18:05:24.437] [LOG]    MMM-PGA Retrieving Tounament List
      1|MagicMir | [2020-11-22 18:07:49.476] [LOG]    Use existing calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics
      1|MagicMir | [2020-11-22 18:07:49.477] [INFO]   Calendar-Fetcher: Broadcasting 2 events.
      1|MagicMir | [2020-11-22 18:07:49.481] [LOG]    MMM-PGA config received
      1|MagicMir | [2020-11-22 18:07:49.485] [LOG]    [NEWS] MMM-News Version: 2.1.2
      1|MagicMir | [2020-11-22 18:07:49.486] [LOG]    [NEWS] Initialized with 10 query
      1|MagicMir | [2020-11-22 18:07:49.720] [LOG]    MMM-PGA Retrieving Tounament List
      1|MagicMir | [2020-11-22 18:07:49.804] [INFO]   Calendar-Fetcher: Broadcasting 2 events.
      1|MagicMir | [2020-11-22 18:07:50.969] [LOG]    MMM-PGA retrieving Tournament Data
      
      
      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by A Former User

        limited to 100 query by day and 50 query for 12 hours

        It’s not me who have set this limit but it’s news api
        and sorry, i don’t work in news api too ! :)

        so now just a little calc…

        you have 10 query and refresh is set to 15m

        for one query for one hour (every 15min) => 4 query
        for 10 query for one hour (every 15 min) => 4*10 = 40 query

        in 12 hours with one query => 12 * 4 = 48 query / 50 max
        in 12 hours with 10 query => 12* 40 = 480 query / 50 max

        in 24 hours with one query => 24 * 4 => 96 query / 100 Max
        in 24 hours with 10 query => 24*40 => 960 query / 100 max

        That why you have this error… and I just calc the number of query

        {
           sources: "fox-news, fox-sports",
        },
        

        –> result: it take 9 query (take a lot of resource)

        {
           country: "us",
           className: "redTitle",
         },
        

        –> result: it take just one query

        Note: personnaly, i use only redTitle of my country
        Note 2: i will add soon a counter for calc if number of query is correct

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

          @Bugsounet Ok thanks for the detailed explanation. Here is my config now so hopefully this should resolve it.

          },
          		{
            		module: "MMM-News",
            		position: "bottom_bar",
            		config: {
              		apiKey : "XXXXXXXXXXXXXXXXXXX",
              		type: "horizontal",
              		query : [
                		{
                  country: "us",
                  className: "redTitle",
                },
              ],
          	touchable: false,
          	scanInterval: 1000*60*30
            }
          },
          
          1 Reply Last reply Reply Quote 1
          • ? Offline
            A Former User
            last edited by

            perfect, it should work perfectly now

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

              Oddly the sizing of the module just randomly changed and got smaller. How do I make the entire module bigger to fill out the bottom_bar? I went into CSS but nothing I did seem to change anything.

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

                I added this to custom css but just doesn’t look right. What could have changed the sizing as nothing was updated from the default install? I uninstalled and re-installed and same thing.

                body  {
                transform:scale(1.0);
                }
                .MMM-News {
                transform:scale(1,1.75);
                }
                
                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by

                  “Oddly”, i have not touch to the css code
                  and “Oddly” i don’t touche the main code
                  and “Oddly” I run this module in 3 differents RPI
                  and “Oddly” … this is no problem !

                  so try to disable all module one by one (except this modules), disable custom.css too

                  and “Oddly”, you will see : it works…

                  swvalentiS 1 Reply Last reply Reply Quote -1
                  • swvalentiS Offline
                    swvalenti Project Sponsor @Guest
                    last edited by

                    @Bugsounet said in MMM-News:

                    “Oddly”, i have not touch to the css code
                    and “Oddly” i don’t touche the main code
                    and “Oddly” I run this module in 3 differents RPI
                    and “Oddly” … this is no problem !

                    so try to disable all module one by one (except this modules), disable custom.css too

                    and “Oddly”, you will see : it works…

                    You need a snickers bar or something? Take it down a notch keyboard warrior

                    cowboysdudeC Mykle1M 2 Replies Last reply Reply Quote 1
                    • ? Offline
                      A Former User
                      last edited by A Former User

                      bad topic response sorry

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

                        @swvalenti LOL

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

                          @swvalenti said in MMM-News:

                          You need a snickers bar or something? Take it down a notch keyboard warrior

                          Bro, fucking hilarious! :thumbsup:

                          Create a working config
                          How to add modules

                          1 Reply Last reply Reply Quote 0
                          • MorgangaM Offline
                            Morganga
                            last edited by

                            Kinda new to this,

                            I have no clue how to install this module ??
                            Could someone please help, I kinda like it

                            Thank you !

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

                              @Morganga it is all laid out for ya below

                              https://github.com/bugsounet/MMM-News

                              MorgangaM 1 Reply Last reply Reply Quote 1
                              • MorgangaM Offline
                                Morganga @swvalenti
                                last edited by Morganga

                                @swvalenti Thank you very much ! Works just fine

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  KillK
                                  last edited by

                                  Hi everyone, newby here… first of all, MMM-news is great, thanks for make it… i am building a MM for my GF Bday.
                                  i want to know 2 things, it is possible to add QR to MMM-news? and anyone knows if there is any API about lifestyle and fashion?

                                  D 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DJBOOB66 @KillK
                                    last edited by

                                    @killk MMM-NewsFeed it has QR

                                    K 1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      KillK @DJBOOB66
                                      last edited by

                                      @djboob66 i have try it, but isn`t possible on windows

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

                                        Images stopped working the other day. I don’t see anything in the logs or dev window. Any thoughts?

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

                                          Seems like the module might not be maintained anymore by developer but seems like they’re several active contributors. How do I fix the image issue when I don’t see much in the logs? Willing to learn and fix this as there are not really any news options for the MM anymore. Thanks, Scott

                                          mumblebajM 1 Reply Last reply Reply Quote 0
                                          • mumblebajM Offline
                                            mumblebaj Module Developer @swvalenti
                                            last edited by

                                            @swvalenti Hi. I don’t maintain the module anymore. You an try the newer MMM-NewsAPI

                                            Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                            Check my blog-post: https://mumblebaj.xyz/
                                            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                            swvalentiS M 2 Replies Last reply Reply Quote 0

                                            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
                                            • 3
                                            • 3 / 3
                                            • 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