Google Find Hub devices in Traccar

homa2 months ago

could my problem be related to google famili link? My account is parent for children in google famili link. When I login to google account in ChromeDriver in AuthFlow, google ask me "who will use this device" and I can chose "I'm" or "child". I can see all my devices location at https://www.google.com/android/find/ but I doesn't see available devices in main.py's output

Anton Tananaev2 months ago

homa your output shows no devices available. Either something is not supported or some configuration issue.

homa2 months ago
Anton Tananaev2 months ago

That's unfortunate. Sounds like you won't be able to use it then.

Kaldek2 months ago

I have confirmed that shared devices work. I shared a tag from my personal account into the account used for our testing. It took a few minutes to work, but the tracker can be seen by the microservice.

renauda month ago

Too bad it doesn't seem possible to make it run headless on a non linux/macos machine :(
When I try after copying Auth/secrets.json created on a linux machine, I get "[SharedKeyRetrieval] You need to log in again to access end-to-end encrypted keys to decrypt location reports" and chrome is a no go on a lot of OSes.

Anton Tananaeva month ago

It's definitely possible to run headless.

renauda month ago

Well, it seems that copying keys (Auth/secrets.json) generated with linux on an OpenBSD system doesn't work. Given that chrome is not available on OpenBSD, I can't use it to validate the keys again.

Anton Tananaeva month ago

Well, you might need to use the same type of machine as you generated keys on. Not sure what the restrictions are exactly.

redge76a month ago

I'm running headless but I created the secrets.json using xvnc.
I copied the file from one user to another service user.(hint that only copying the file is enough)

Bernharda month ago

I was looking for a way to add Apple Airtags to Traccar ... I found a python library (last release is 3 weeks old at the time of this post) that looks promissing:
https://github.com/malmeloo/FindMy.py

Anton Tananaeva month ago

Yeah, looks interesting.