Read the statement by Michael Teeuw here.
Has anyone been able to get MMM-PetFinder to work?
-
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?
-
Do you use the fork fromPhantomOffKanagawa?
The module needs
request
. Did you installed it vianpm install request
? -
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.
-
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. -
Ok, I must just be missing something then. I’ll try again. Thank you for checking.
-
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?
-
@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 installrequest
,npm i request
. You can ignore the funding stuff. -
@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
-
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 -
@ChrisLeduex no. ignore that too