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 36.5k 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.
    • lavolp3L Offline
      lavolp3 Module Developer @lavolp3
      last edited by lavolp3

      @cowboysdude @chassain-0 @Stoffbeuteluwe
      Its obviously an API problem. The API page returns an Application Error.
      I guess we need another API.

      How about this one?
      https://uselessfacts.jsph.pl/random.json
      It seems to use (at least) the german source “neon”.
      I was actually looking for that for some time because neon has published a range of books called “useless facts”. FOund it accidentally just now.

      It could be implemented and then translated from the source language to the user language.
      If it uses all of neon’s facts there quite a lot.

      If you don’t want to use this source, no problem, then I’d build an own module.

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

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        chassain 0 @lavolp3
        last edited by

        @lavolp3 we can use this for the moment…and see after…the modul is so fine that i can 't work without :)//how integrate this new api ?

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

          @chassain-0 I have it working but changed lots of things on the frontend and in node_helper.js. So need to check the changes again.

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

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

            @lavolp3
            PR sent
            https://github.com/cowboysdude/MMM-rfacts/pull/12

            It seems I have done a bit too much JS programming in recent months… Lol.

            @cowboysdude have a look at it and let me know what you think.

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

            C 1 Reply Last reply Reply Quote 3
            • C Offline
              chassain 0 @lavolp3
              last edited by

              @lavolp3 It works fine for me (in french) with the changes manualy

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

                Thanks Guys…even with the world in chaos I am busy…VERY.

                Thank you @lavolp3 working perfectly ;)

                The new api I had gotten apparently ONLY works in the US for some reason…

                1 Reply Last reply Reply Quote 0
                • StoffbeuteluweS Offline
                  Stoffbeuteluwe Project Sponsor
                  last edited by

                  Hi to all …thanks for your work, everything works nice

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

                    Hey, first of all, awesome module and I really like it!
                    Thank you :)

                    One thing I see is that on my English system, from time to time I get facts in German.
                    For example in one run, I get 3 in English, number 4 is in German and then English again.
                    The behaviour is quite random, sometimes it’s a first one etc.
                    Any idea why this happens?

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