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

    Scheduled Pinned Locked Moved Education
    33 Posts 10 Posters 17.4k Views 8 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.
    • J Offline
      jeffreyking
      last edited by yawns

      Hi I am new to this and I did so I think all that is to be done and it still do not work tell me to config.js file

                       {
                               module: 'MMM-Jnews'
                                   config: {
      	                             apiKey: "my api", 
                                           image : true, [default is false, Raspberry Pi's don't like the images]
                                           rotateInterval: 25 * 1000 [This is default set to 25 seconds, you can change this if you'd like]
                              }
                       }, 
                       {  
                               module: 'MMM-MovieListings',
                                      position: 'top_center',   // This can be any of the regions. Best results in left or$
                                      config: {
      					apiKey: 'de1d0b92bb87bncbbbbbbbbbbbbbbbbbbbbbb9f7a57b',
      					region: 'US',
      					language: 'EN',
      					interface: 'poster', //'list', 'poster', 'detailed'
      					includeMoviePlot: false,
      					maxPlotLength: 198,
      					header: 'Movie Listings',
      					moviesPerPage: 0,
      					refreshInterval: 1000 * 60 * 60 * 24, //Once a day
      					baseUrl: 'https://api.themoviedb.org/3/movie/now_playing',
      					animationSpeed: 2.5 * 1000,
      					pageChangeInterval: 35 * 1000
      		         }
                      },
      
      cowboysdudeC bheplerB 2 Replies Last reply Reply Quote 0
      • B Offline
        bjoern
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer @jeffreyking
          last edited by

          @jeffreyking said in MMM-Jnews:

          Hi I am new to this and I did so I think all that is to be done and it still do not work tell me to config.js file
          },
          {
          module: ‘MMM-Jnews’
          config: {
          apiKey: “my api”,
          image : true
          }
          },

          OK first off you have to go to https://newsapi.org/ and get your api key…the key they give you has to go in between the quotes like this [for example]

          apiKey : “aabjadjfadfas9adfajsdlfja”

          The rest of the config should work for you as I’ve rewritten it… use the above example only go get the api and replace “my apikey” with “YOUR KEY” put in quotes that you get from the newsapi.org link :)

          1 Reply Last reply Reply Quote 0
          • justjim1220J Offline
            justjim1220 Module Developer @cowboysdude
            last edited by

            @cowboysdude

            You know I just had to give you some sh** a little bit.

            It is a nice module, as I suspected, no way to get local news without making some changes to your code.

            I really like the set up though.

            Great job! (as usual!) :grinning_face: :grinning_face: :grinning_face:

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

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

              @justjim1220 said in MMM-Jnews:

              @cowboysdude

              You know I just had to give you some sh** a little bit.

              It is a nice module, as I suspected, no way to get local news without making some changes to your code.

              I really like the set up though.

              Great job! (as usual!) :grinning_face: :grinning_face: :grinning_face:

              Yes it’s news from a bunch of different sources all brought together…

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

                @cowboysdude said in MMM-Jnews:

                Yes it’s news from a bunch of different sources all brought together…

                I’m getting just a little bit tired of all your success. ;-)

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • B Offline
                  bjoern
                  last edited by

                  Great module. I like it. Question: Some lines of text consist of 3 lines and the next message is 4. As a result, the modules above will always jump “up and down”. Can you set the module to 4 lines and these automatically fill depending on the content? Do you understand what I want to express?

                  cowboysdudeC 1 Reply Last reply Reply Quote 0
                  • bheplerB Offline
                    bhepler Module Developer @jeffreyking
                    last edited by bhepler

                    @jeffreyking -
                    Just in case nobody else mentions it, you should delete the advice in the square brackets from your config.js file. The part that looks like this: [default is false, Raspberry Pi's don't like the images]

                    Delete in the part in the square brackets from the next line as well. They are commentary from the developer.

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

                      @bjoern I do and I will look at it :)

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

                        @bhepler Changed the README.md as this has happened more than once LOL

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