• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 33.8k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer
    last edited by Feb 3, 2018, 3:58 PM

    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 Feb 4, 2018, 3:30 PM

      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 Feb 5, 2018, 8:06 AM

        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 Nov 8, 2018, 1:40 PM

          @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.
          
          L 1 Reply Last reply Nov 8, 2018, 3:22 PM Reply Quote 0
          • L Offline
            lavolp3 Module Developer @Ramez
            last edited by Nov 8, 2018, 3:22 PM

            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

            L 1 Reply Last reply Nov 8, 2018, 3:25 PM Reply Quote 0
            • L Offline
              lavolp3 Module Developer @lavolp3
              last edited by Nov 8, 2018, 3:25 PM

              @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 Nov 8, 2018, 4:08 PM Reply Quote 0
              • R Offline
                Ramez @lavolp3
                last edited by Nov 8, 2018, 4:08 PM

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

                L 1 Reply Last reply Nov 9, 2018, 2:00 PM Reply Quote 0
                • L Offline
                  lavolp3 Module Developer @Ramez
                  last edited by lavolp3 Nov 9, 2018, 2:02 PM Nov 9, 2018, 2:00 PM

                  @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

                  C 1 Reply Last reply Nov 11, 2018, 2:07 AM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @lavolp3
                    last edited by cowboysdude Nov 11, 2018, 2:36 AM Nov 11, 2018, 2:07 AM

                    @lavolp3 said in Random Fact:

                    updateInterval: 10 * 60 * 1000, // every 10 minutes
                    animationSpeed: 10,
                    initialLoadDelay: 875, // 0 seconds delay
                    retryDelay: 1500,
                    fadeSpeed: 7

                    Do a git pull…should be fixed now :) Check the config below…
                    Actually this is THE only thing you need in your config.js file …

                    ```
                     {
                        disabled: false,
                        module: 'MMM-rfacts',
                        position: 'top_right', 
                      },
                    
                    R 1 Reply Last reply Nov 12, 2018, 9:33 PM Reply Quote 0
                    • R Offline
                      Ramez @cowboysdude
                      last edited by Nov 12, 2018, 9:33 PM

                      @cowboysdude sorry, but still same error

                      C 1 Reply Last reply Nov 13, 2018, 2:12 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 2 / 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