Skip to content

Python script to forward Tile trackers device as Phonetrack clients to nextcloud.

Notifications You must be signed in to change notification settings

P6g9YHK6/TiletoNextcloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

TiletoNextcloud

This script retrieve bluetooth Tile trackers information using the pytile library and send the device position to a Nextcloud Phonetrack server.

With this soft, you can easily obtain details such as device name, latitude, longitude, altitude, and last updated timestamp for your Tile devices. It then constructs a URL with these parameters and sends a GET request to the Nextcloud Phonetrack server to update the device's position.

Execute this script to automate the retrieval of Tile device information and update the device positions in your Nextcloud Phonetrack server effortlessly!

There is a built in rate limit to avoid bloating the nextcloud DB with unhelpfull information.

Todo

🔲Get rid of stderr in case of device without data

🔲Add health monitoring (probabably uptimekuma push)

🔲 pray for tile to support: https://www.bleepingcomputer.com/news/google/google-rolls-out-new-find-my-device-network-to-android-devices/

How to use ?

Replace the following and run the .py as often as you desire to refresh the data

server_url = "https://EXEMPLE.COM/apps/phonetrack/logGet/JOBID/"

email = "TILE@MAIL.ADD"

password = "********"

The name of the logger that your expect after the jobid will be the name of the tile device.

Tested on

Chronos, Windows

About

Python script to forward Tile trackers device as Phonetrack clients to nextcloud.

Topics

Resources

Stars

Watchers

Forks

Languages

  • Python 100.0%