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

    Scheduled Pinned Locked Moved Utilities
    47 Posts 9 Posters 40.3k Views 10 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.
    • P Offline
      pheub
      last edited by

      I like your module but I cant seem to get multiple feeds. I have also tried having 2 modules… one for the top bar and one for the bottom bar with 2 different sources. The result is both just showing one of the feeds. Is it possible with your module?

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

        @pheub Not setup to do that… LOL I can look at the possibility but it will be a while… :)

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          pheub @cowboysdude
          last edited by

          @cowboysdude well that’s good news and bad news! Glad I didnt miss something and was failing to catch it as well as sad to see it’s not currently a feature. Good to know on both accounts. Thank you for the reply!

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

            @pheub :)

            1 Reply Last reply Reply Quote 0
            • O Offline
              open_book
              last edited by

              Hey @cowboysdude, thanks for another great module!

              You should update the readme with the correct link for cloning:

              git clone https://github.com/cowboysdude/MMM-PNews.git

              This will save precious seconds for us copy-pasters ;)

              sudo insert motivational.quote

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

                @open_book Thank you!! Good catch!! :) Updated

                1 Reply Last reply Reply Quote 1
                • D Offline
                  DeanoAus
                  last edited by

                  Can this be used with custom RSS feeds, rather than the repository?

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

                    @DeanoAus If you can find a newsource that works with it sure.

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

                      @cowboysdude

                      Dude, you’re unstoppable! Nice work. :thumbsup:

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 1
                      • D Offline
                        DeanoAus
                        last edited by

                        Hey quick question, can’t seem to run two copies of this module at the same time. They both get the feed source from the first one?

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          DeanoAus
                          last edited by

                          If you can’t, can you run multiple sources on the one module? I tried comma seperated, but that loaded neither of them.

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

                            No it wasn’t setup to run multiple instances. The mirror was setup for finite space so the majority of the modules haven’t been built to allow that :)

                            I will look into the possibility of multiple sources but it will be a bit as this is my busiest time of year at work and I am swamped at the moment.

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              DeanoAus
                              last edited by

                              Not a problem - what about multiple sources?

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

                                @DeanoAus said in MMM-Pnews:

                                Not a problem - what about multiple sources?

                                If you do this in the config.js ---->

                                //newsSource:,

                                It will return news from ALL sources that’s the best I can do at the moment.

                                I answered the multiple sources question above ;)

                                “I will look into the possibility of multiple sources but it will be a bit as this is my busiest time of year at work and I am swamped at the moment.”

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

                                  There may be a quickie fix I can do if you tell me what you’re looking for…
                                  ->>>>>

                                  business, entertainment, gaming, general, music, politics, science-and-nature, sport or technology.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DeanoAus
                                    last edited by

                                    Ah, so you did! :D I read that as you’ll look into multiple instances. It’s late. ;)

                                    All good my friend. I’ve somehow killed my MM install after an update.

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

                                      @DeanoAus OH mannnnnnn I hate that… I just redid my bathroom mirror as I killed that one too … I feel your pain.

                                      It’s late for you, I just woke up LOL So let me know if there is a specific category you’re looking for or just taking out the newsource will work for you because if you do that it will return ALL news. :)

                                      Future implementation will be different languages: en, de, fr

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        DeanoAus @cowboysdude
                                        last edited by

                                        @cowboysdude said in MMM-Pnews:

                                        There may be a quickie fix I can do if you tell me what you’re looking for…
                                        ->>>>>

                                        business, entertainment, gaming, general, music, politics, science-and-nature, sport or technology.

                                        Was after one tech, one Australian news. And seeing as I can’t reply before 120 seconds… sigh… i’ll combine my replies.

                                        pi@Pi:~/MagicMirror $ DISPLAY=:0 npm start
                                        
                                        > magicmirror@2.1.1 start /home/pi/MagicMirror
                                        > sh run-start.sh
                                        
                                        run-start.sh: 4: run-start.sh: electron: not found
                                        
                                        npm ERR! Linux 4.9.25-v7+
                                        npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
                                        npm ERR! node v6.10.2
                                        npm ERR! npm  v3.10.10
                                        npm ERR! file sh
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno ENOENT
                                        npm ERR! syscall spawn
                                        npm ERR! magicmirror@2.1.1 start: `sh run-start.sh`
                                        npm ERR! spawn ENOENT
                                        

                                        I’ve tried updating, installing, you name it.
                                        npm install electron
                                        npm install
                                        etc. :/

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

                                          @DeanoAus said in MMM-Pnews:

                                          electron: not found

                                          electron is not installed… i had an issue as well so I just reinstalled the mirror… that fixed the electron issues.

                                          1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            DeanoAus
                                            last edited by

                                            Ugh, I think i found it. You need to do npm install as root…

                                            Wait, nope!

                                            pi@Pi:~/MagicMirror $ sudo npm install
                                            
                                            > electron@1.6.6 postinstall /home/pi/MagicMirror/node_modules/electron
                                            > node install.js
                                            
                                            /home/pi/MagicMirror/node_modules/electron/install.js:47
                                              throw err
                                              ^
                                            
                                            Error: ENOENT: no such file or directory, lstat '/home/pi/MagicMirror/node_modules/electron/dist/resources'
                                                at Error (native)
                                            npm ERR! Linux 4.9.25-v7+
                                            npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
                                            npm ERR! node v6.10.2
                                            npm ERR! npm  v3.10.10
                                            npm ERR! code ELIFECYCLE
                                            
                                            npm ERR! electron@1.6.6 postinstall: `node install.js`
                                            npm ERR! Exit status 1
                                            

                                            Ugh, I give up. Going to bed. Thanks for your help, i’ll fix in the morning. :)

                                            1 Reply Last reply Reply Quote 1

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