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.

    DumbassCats

    Scheduled Pinned Locked Moved Solved Troubleshooting
    10 Posts 2 Posters 910 Views 2 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.
    • plainbrokeP Offline
      plainbroke
      last edited by

      Hey @mykle1 ,
      What am I looking for at RapidAPI.com to get this module to show something besides Meow ? I have an API but it does not seem to work.

      Slow learner. But trying anyways.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @plainbroke
        last edited by

        @plainbroke so, theres a bug in the module

        MMM-DumbAssCatFacts.js
        change line 102,

        from

                this.facts = data.body.all;
        

        to this

                this.facts = data.body;
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        plainbrokeP 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @plainbroke
          last edited by

          @plainbroke what module is that? he is currently unavailable.

          no two apis are alike… so you can’t just replace one with another.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          plainbrokeP 1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke @sdetweil
            last edited by plainbroke

            @sdetweil
            https://github.com/mykle1/MMM-DumbAssCatFacts
            The readme has you go to RapidAPI.com and get an API.
            From looking around in there, It looks like they use the same api for anything you want in their site… Ya I forgot he told someone on here he was out of contact for a bit…

            Slow learner. But trying anyways.

            S 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @plainbroke
              last edited by

              @plainbroke I’ll look at it later today

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @plainbroke
                last edited by

                @plainbroke so, theres a bug in the module

                MMM-DumbAssCatFacts.js
                change line 102,

                from

                        this.facts = data.body.all;
                

                to this

                        this.facts = data.body;
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                plainbrokeP 1 Reply Last reply Reply Quote 0
                • plainbrokeP Offline
                  plainbroke @sdetweil
                  last edited by

                  @sdetweil
                  Well that worked for a couple days but now it is back to “meow…”.
                  I removed and reinstalled and went in and changed that again.
                  Mine is on line 100 though.

                  Slow learner. But trying anyways.

                  S plainbrokeP 3 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @plainbroke
                    last edited by sdetweil

                    @plainbroke you are getting from here, right?
                    https://github.com/mykle1/MMM-DumbAssCatFacts.git

                    line 100 is right, I had added a debug line and a blank line.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    plainbrokeP 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @plainbroke
                      last edited by

                      @plainbroke can u check the startup message log

                      it will produce an error if the API has trouble…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • plainbrokeP Offline
                        plainbroke @plainbroke
                        last edited by

                        @plainbroke
                        well it is back MM is driving me crazy lately and that is a short drive for me. :grinning_face_with_sweat:

                        Slow learner. But trying anyways.

                        1 Reply Last reply Reply Quote 0
                        • plainbrokeP Offline
                          plainbroke @sdetweil
                          last edited by plainbroke

                          @sdetweil said in DumbassCats:

                          @plainbroke you are getting from here, right?
                          https://github.com/mykle1/MMM-DumbAssCatFacts.git

                          line 100 is right, I had added a debug line and a blank line.

                          Yes to your question. I am not sure why because nothing changed overnight, 8pm to 7am next day, but all the sudden it started working. Only thing I can think happened was my internet is hit or miss during really stormy weather and it could not get a good connection to the api provider. If that is even a thing. Which is weird because the RainMap module I have running seems to always work… Oh well problem solved. Not going to worry about it anymore this week.

                          Thank you for all the help you provide.

                          Slow learner. But trying anyways.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • 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