Relay app for Google Find Hub devices

Anton Tananaev 2 days ago

By the way, I recommend disabling battery optimization. Next version automatically requests it on app launch.

mjktfw 2 days ago

But it is by design that we don't send frequent updates. I'm afraid that Google will ban this usage if it's abused

Seems reasonable to me, thanks

By the way, I recommend disabling battery optimizat

Yes, already done that. It works well on waydroid too, so probably less issues with battery there.

pizzulicchio 15 hours ago

How is possible to do a position request from Traccar side, as suggested ?

Anton Tananaev 14 hours ago

Same way as for all other devices - using commands.

pizzulicchio 13 hours ago

I'm testing the relay app with the latest stable build. What is the command to use for asking the position?
I have added my two devices inserting the key from relay app, but no gps position at the moment

Anton Tananaev 13 hours ago

Have you enabled push commands in your Traccar instance?

mjktfw 12 hours ago

testing the relay app with the latest stable build

Will it work with the Traccar stable? It was said before Relay requires server in beta.

Anton Tananaev 11 hours ago

We already released a new version since that comment.

pizzulicchio 10 hours ago

I'm using traccar-linux-64-6.13.2
Is this build, ok?
I don't know where to config the push command into my traccar server. Where is possible to set it?
( I know it's a very new feature, but , when possible, add more details into the doc section of the site. :-)

This is my log with hostname changed with XXXXXXXX for privacy:

2026-05-05 23:04:21  WARN: Unknown device - 6800113f-0000-282b-9174-14c14ef78a70 (10.0.10.1)
2026-05-05 23:04:21  INFO: [Te2e825b6: osmand > 10.0.10.1] HTTP/1.1 400 Bad Request\r\ncontent-length: 0\r\n\r\n
2026-05-05 23:04:21  INFO: [Te2e825b6: osmand < 10.0.10.1] POST / HTTP/1.1\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: 202\r\nHost: XXXXXXXXXXXXXX:5055\r\nConnection: Keep-Alive\r\nAccept-Encoding: gzip\r\nUser-Agent: okhttp/5.3.2\r\n\r\nid=67d79b55-0000-2295-954d-883d24f9aed0&notificationToken=dzEHZnBxSqyaJHVxUR7Ax-%3AAPA91bHK9jmUO0TNxKYNSuOEVbieAPBiEd4DBJC2ubCMSRP__PsfoEsZd-n8YS3e8OphVpWo5VgGcGtai2Bd6aIhp8tU_svEPXAOLA8rr5brplTZxg0-Sq8
2026-05-05 23:04:21  WARN: Unknown device - 67d79b55-0000-2295-954d-883d24f9aed0 (10.0.10.1)
2026-05-05 23:04:21  INFO: [Te2e825b6: osmand > 10.0.10.1] HTTP/1.1 400 Bad Request\r\ncontent-length: 0\r\n\r\n
2026-05-05 23:04:22  INFO: [Te2e825b6: osmand < 10.0.10.1] POST / HTTP/1.1\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: 202\r\nHost: XXXXXXXXXXXXXX:5055\r\nConnection: Keep-Alive\r\nAccept-Encoding: gzip\r\nUser-Agent: okhttp/5.3.2\r\n\r\nid=6948c598-0000-2963-aa0d-883d24f9bdd0&notificationToken=dzEHZnBxSqyaJHVxUR7Ax-%3AAPA91bHK9jmUO0TNxKYNSuOEVbieAPBiEd4DBJC2ubCMSRP__PsfoEsZd-n8YS3e8OphVpWo5VgGcGtai2Bd6aIhp8tU_svEPXAOLA8rr5brplTZxg0-Sq8
2026-05-05 23:04:22  INFO: [Te2e825b6: osmand > 10.0.10.1] HTTP/1.1 200 OK\r\ncontent-length: 0\r\n\r\n
2026-05-05 23:04:23  INFO: [Te2e825b6] id: 664ff19b-0000-2515-b86a-94eb2c19c5f2, time: 1980-01-06 01:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
2026-05-05 23:04:24  INFO: [Te2e825b6] id: 6948c598-0000-2963-aa0d-883d24f9bdd0, time: 1980-01-06 01:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
2026-05-05 23:04:25  INFO: [Te2e825b6] id: 664ff19b-0000-2515-b86a-94eb2c19c5f2, time: 1980-01-06 01:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
2026-05-05 23:04:25  INFO: [Te2e825b6] id: 6948c598-0000-2963-aa0d-883d24f9bdd0, time: 1980-01-06 01:00:00, lat: 0.00000, lon: 0.00000, course: 0.0
Kevin Hartin 8 hours ago

I've installed the app and logged in and can see my Phone, which has a big ID string, which I assume is the Device identifier. Do I simply add a device with this identifier?

What configuration do I have to put in the traccar.xml? I only see a reference to notificator.traccar.key in Anton's first post, but no explanation of what that key is to be set to and where you get it.

Thanks,
Kev

Kevin Hartin 8 hours ago

Also,

What is the command to send to the App?

and how is the server to send this, Push notifications?

I see the Push notifications API key on the my Account page, but can I use this in a self hosted server?

Kev

Anton Tananaev 3 hours ago

Commands are send via push notifications, so you should configure this:

https://www.traccar.org/notifications/#push