Fressnapf GPS/GSM Tracker for pets

Hit folks,

is there s possibility to integrate the pet GPS tracker signal from Fressnapf to HA?

2 Likes

I actually have a working Integration in HACS. But to use it you have to get a token by intercepting traffic between the app and it’s server. As I am unclear if that violates the terms of service I have not published the procedure. You can PM me if you are up for setting up Android Studio and a HTTP Interceptor and fiddle around a bit.

1 Like

I’m afraid this is beyond my abilities.

Hallo eifinger,

Can you explain to me how you integrated the Fressnapf Tracker into Home Assistant?

My goal is to have a GPS tracker that sends its position directly to my server. But this is not the case here if I understand correctly, it still sends to fressnapf with its own SIM card, fressnapf sends to your mobile app, and that’s the point where you extract it to send it to HA?
To achieve what I want it’d be necessary to change things in the tracker itself, like change the address of the server, change the address of the nameserver or sth. like that, what probably isn’t possible out of the box via app or so? Do you know if there is some kind of debug port on the tracker? TIA!

Hey - I’d be very interested in your solution.
Could you share a few details on how you did it?

I’ve had those same questions and decided to put this project aside for now as I’m quite busy with other stuff right now. I hover accidentally came across a super helpful app for iOS that allows you to install a local proxy right on your device and receive a very comfortable overview over all http-calls that are made from your phone…

Long story short:
This is a rather easy way to determine the needed values for this integration (if you’re on iOS).
check out ‎Proxyman - Network Debug Tool on the App Store
hope that helps!
Cudos to @eifinger for putting together this very helpful integration!

2 Likes

Hey there!
Just found this thread today but actually worked on that topic about a year ago too. I actually went so far to contact the developer via Fressnapf directly and got a ticket opened in their Jira (don’t be excited yet).

Long story short it took them almost a year to react by simply closing it multiple times without any comment. :confused: My query was mainly about an API endpoint to get the token not about the ToS of using it. I also gave up the integration about a year ago. ^^"

I sadly couldn’t find @eifinger integration in the HACS repo. Has it been removed?

I tried the same and got the answer that there won’t be any official support but here is the repo: GitHub - eifinger/hass-fressnapf-tracker: Homeassistant Custom Component for Fressnapf Trackers

3 Likes

Thank you so much for your help! Was able to get everything setup using Android Studio and HTTP Toolkit. :partying_face:

1 Like

Can you explain how you did it? Your help isappreciated! Thanks

Depending on your system you can either go with the iOS solution or for Android you can use Android Studio + HttpToolkit (for example). Using a search engine you’ll get a pretty good guide on how both of those work together.
I don’t remember which requests have which value but they’re not too hard to find. ^^"

As @eifinger mentioned, it’s unsure whether that’s a violation of the tos, so use it at your own risks.

hi im not able to find the “device token”

i have

Authorization
Token token=XXXXXXX

under Query

user id 2424XX
user acc token (XXXXXXXXXXXXXX)

Authorization

Data
token=XXXXXXXXXXXXXXXXX

For me the Tracker App keeps crashing in Android Studio Virtual Device (Pixel 4a).
So I used an old Galaxy S6 with LOS & HTTP Toolkit. Worked flawlessly.

2 Likes