• 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.

Has anyone been able to get MMM-PetFinder to work?

Scheduled Pinned Locked Moved Unsolved Troubleshooting
12 Posts 4 Posters 461 Views 4 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.
  • C Offline
    ChrisLeduex
    last edited by Apr 9, 2025, 1:18 AM

    Has anyone been able to get MMM-PetFinder to work recently? I’m working on a gift for someone but it looks like the PetFinder API has changed since the last module update. Going through the documentation and I can’t get past the Token Request part. Has anyone else had any luck with this?

    https://www.petfinder.com/developers/v2/docs/

    K 1 Reply Last reply Apr 9, 2025, 7:24 AM Reply Quote 0
    • K Offline
      KristjanESPERANTO Module Developer @ChrisLeduex
      last edited by Apr 9, 2025, 7:24 AM

      Do you use the fork fromPhantomOffKanagawa?

      The module needs request. Did you installed it via npm install request?

      C 1 Reply Last reply Apr 9, 2025, 4:08 PM Reply Quote 0
      • C Offline
        ChrisLeduex @KristjanESPERANTO
        last edited by Apr 9, 2025, 4:08 PM

        Hi @KristjanESPERANTO Yes, I tried both forks just to be sure. And going through the js files, everything looks like it should work fine. I think the issue might be with the API key/secret Petfinder game me, I can’t even get it to return token for me when testing in the terminal.

        K 1 Reply Last reply Apr 9, 2025, 6:19 PM Reply Quote 0
        • K Offline
          KristjanESPERANTO Module Developer @ChrisLeduex
          last edited by Apr 9, 2025, 6:19 PM

          I just registered and got an API key. I entered it and the module works :-) I didn’t used the secret key.

          I use the mentioned fork and installed request manually.

          C 1 Reply Last reply Apr 9, 2025, 8:43 PM Reply Quote 0
          • C Offline
            ChrisLeduex @KristjanESPERANTO
            last edited by Apr 9, 2025, 8:43 PM

            Ok, I must just be missing something then. I’ll try again. Thank you for checking.

            C 1 Reply Last reply Apr 10, 2025, 5:01 PM Reply Quote 0
            • C Offline
              ChrisLeduex @ChrisLeduex
              last edited by Apr 10, 2025, 5:01 PM

              Ok I’ve tried a couple installs starting completely over from scratch with fresh versions of Raspberry Pi OS, MagicMirror, Request, and MMM-PetFinder from PhantomOffKanagawa and I am still unable to get the module to work.

              I am using a new Pi 5 and am installing MagicMirror using sdetweil’s script.

              The only issues I see are related to Request. When I install it I get these issues below. But when searching on them I couldn’t find any solutions. Are these issues normal? Or is there anything else I’m missing?

              20250410_09h29m30s_grim.png
              20250410_09h39m17s_grim.png

              M S 2 Replies Last reply Apr 10, 2025, 5:46 PM Reply Quote 0
              • M Offline
                mumblebaj Module Developer @ChrisLeduex
                last edited by Apr 10, 2025, 5:46 PM

                @ChrisLeduex Never use sudo to install anything on your mirror. Ideally you want to be in the module folder that requires request, i…e cd ~/MagicMirror/modules/MMM-PetFinder/. Once in the folder you want to then install request , npm i request. You can ignore the funding stuff.

                Check out my modules at: https://github.com/mumblebaj?tab=repositories

                1 Reply Last reply Reply Quote 1
                • S Offline
                  sdetweil @ChrisLeduex
                  last edited by Apr 10, 2025, 5:47 PM

                  @ChrisLeduex you have to run

                  npm install request
                  

                  in the module folder of the module missing it. not in the users hone folder

                  cd ~/MagicMirror/modules/MMM-PetFinder

                  also ignore the audit info, as there is more damage done trying audit fix

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply Apr 10, 2025, 7:46 PM Reply Quote 0
                  • C Offline
                    ChrisLeduex @sdetweil
                    last edited by Apr 10, 2025, 7:46 PM

                    Awesome, thanks guys! It’s finally up and running.

                    One last question: Do you recommend updating npm?

                    Installing dependencies …
                    npm notice
                    npm notice New major version of npm available! 10.9.2 -> 11.3.0
                    npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.3.0
                    npm notice To update run: npm install -g npm@11.3.0
                    npm notice

                    S K 2 Replies Last reply Apr 10, 2025, 8:17 PM Reply Quote 0
                    • S Offline
                      sdetweil @ChrisLeduex
                      last edited by Apr 10, 2025, 8:17 PM

                      @ChrisLeduex no. ignore that too

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        3/12
                        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