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-Random Fact

    Scheduled Pinned Locked Moved Education
    59 Posts 12 Posters 40.9k Views 11 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @cowboysdude
      last edited by

      @cowboysdude

      Good stuff! :-)

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • B Offline
        barnosch
        last edited by

        Very nice module.
        But sadly your source doesn’t deliver in german aswell :(

        cowboysdudeC 2 Replies Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer @barnosch
          last edited by

          @barnosch It’s funny you said that because I’m trying to put in in different languages too! I will let you know if I succeed :)

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

            @barnosch Will this work?

            0_1514510356077_de.png

            if so you may install it… it’s working :)

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

              Description:

              Well sure why not learn a random fact? Well here’s a module you can do just that with!
              NOW with language support… :)

              Screenshots:

              0_1514417815239_Capture.PNG
              German
              0_1514510667342_de.png

              See readme for other languages…

              Download:

              [card:cowboysdude/MMM-rfacts]

              Version 1.1.0

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

                awesome! You’re the greatest!

                1 Reply Last reply Reply Quote 1
                • L Offline
                  lauxtert
                  last edited by

                  Nice module just all the time is “getting a fact…”
                  What can do?

                  Mykle1M R 2 Replies Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @lauxtert
                    last edited by

                    @lauxtert

                    I just installed it and it fires right up. What language is set in your config?

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lauxtert
                      last edited by

                      System Language german

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • L Offline
                        lauxtert
                        last edited by

                        after the second reboot it went, awsone module, thanks for the answer

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

                          @lauxtert

                          Have you installed the dependencies as per the README file?

                          Create a working config
                          How to add modules

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

                            @lauxtert said in Random Fact:

                            thanks for the answer

                            You’re welcome, mate. :-)

                            Create a working config
                            How to add modules

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

                              You know what? This is a pretty damn good module. Informative and fun. I’m only sorry that it wasn’t my idea. :-)

                              Well done @cowboysdude.

                              Create a working config
                              How to add modules

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                Fonfon
                                last edited by

                                Hi good module

                                For another language
                                i suppose in config file

                                language: ‘german’

                                that its ?

                                1 Reply Last reply Reply Quote 0
                                • L Offline
                                  lauxtert
                                  last edited by

                                  The language was set automatically, after a reboot of the pi it ran then.

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Ramez @lauxtert
                                    last edited by

                                    @lauxtert @cowboysdude same here it stays in" getting a fact" (in my language)…restarting does nothing and setting global config language also does nothing only english is working! here is the error I get

                                    {node:1148} UnhandeledPromiseRejectWarning: Unhandeled promise rejection {rejection id: 1}: Error
                                    {node:1148} [DEP0018] DeprecationWarning: Unhandeled promise rejection are deprecated. In the future, promise rejections that are not handeled will terminate the Node.js process with a non-zer exit code.
                                    
                                    lavolp3L 1 Reply Last reply Reply Quote 0
                                    • lavolp3L Offline
                                      lavolp3 Module Developer @Ramez
                                      last edited by

                                      My module fails as well and I blame the following message in my developer’s console

                                      [Violation] 'message' handler took 767ms
                                      

                                      It is not directly linked to the module but is coming up since I had it installed just now

                                      How to troubleshoot modules
                                      MMM-soccer v2, MMM-AVStock

                                      lavolp3L 1 Reply Last reply Reply Quote 0
                                      • lavolp3L Offline
                                        lavolp3 Module Developer @lavolp3
                                        last edited by

                                        @lavolp3 module works after a complete reboot. Sorry for the bothering :-)

                                        How to troubleshoot modules
                                        MMM-soccer v2, MMM-AVStock

                                        R 1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          Ramez @lavolp3
                                          last edited by

                                          @lavolp3 glad it’s working…could you try to change it’s language and see if it still works?

                                          lavolp3L 1 Reply Last reply Reply Quote 0
                                          • lavolp3L Offline
                                            lavolp3 Module Developer @Ramez
                                            last edited by lavolp3

                                            @ramez to be honest, it doesn’t work again. Can’t really find the reason for that.
                                            My confige entry:

                                                {
                                                    disabled: false,
                                                    module: 'MMM-rfacts',
                                                    position: 'top_right',
                                                    config: {
                                                        lang: "de",  //facts will be translated to this language according to ISO-639$
                                                        updateInterval: 10 * 60 * 1000, // every 10 minutes
                                                        animationSpeed: 10,
                                                        initialLoadDelay: 875, // 0 seconds delay
                                                        retryDelay: 1500,
                                                        fadeSpeed: 7
                                                    }
                                                },
                                            

                                            IN the pm2 logs I only get this

                                            0|mm       | (node:10423) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 53): Error
                                            

                                            How to troubleshoot modules
                                            MMM-soccer v2, MMM-AVStock

                                            cowboysdudeC 1 Reply 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
                                            • 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