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 3.1k 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

      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/

      KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
      • KristjanESPERANTOK Offline
        KristjanESPERANTO Module Developer @ChrisLeduex
        last edited by

        Do you use the fork fromPhantomOffKanagawa?

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

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          ChrisLeduex @KristjanESPERANTO
          last edited by

          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.

          KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
          • KristjanESPERANTOK Offline
            KristjanESPERANTO Module Developer @ChrisLeduex
            last edited by

            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 Reply Quote 0
            • C Offline
              ChrisLeduex @KristjanESPERANTO
              last edited by

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

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

                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

                mumblebajM S 2 Replies Last reply Reply Quote 0
                • mumblebajM Offline
                  mumblebaj Module Developer @ChrisLeduex
                  last edited by

                  @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
                  Check my blog-post: https://mumblebaj.xyz/
                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                    @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 Reply Quote 0
                    • C Offline
                      ChrisLeduex @sdetweil
                      last edited by

                      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 KristjanESPERANTOK 2 Replies Last reply Reply Quote 0
                      • S Offline
                        sdetweil @ChrisLeduex
                        last edited by

                        @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
                        • KristjanESPERANTOK Offline
                          KristjanESPERANTO Module Developer @ChrisLeduex
                          last edited by

                          @ChrisLeduex said in Has anyone been able to get MMM-PetFinder to work?:

                          Do you recommend updating npm?

                          Since I prefer to have a somewhat up-to-date system, I make npm updates when I notice them. So far I haven’t had any problems with it.

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

                            @KristjanESPERANTO we dont test with uplevel npm. and try to stay in sync w the level of node we test on

                            this just adds to the complexity of support

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            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 / 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