Skip to content

Python scripts to interact with the Tractive GPS API with extended functionality.

License

Notifications You must be signed in to change notification settings

drrobotk/PyTractive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyTractive GPS

Python module and script to interact with the Tractive GPS tracker.

Requirements

usage: main.py [-h] [--live state] [--led state] [--buzzer state] [--battery_saver state] [--public state] 
 [--trigger radius] [--gps [-I]] [--nloc [-I]] [--pet [-I]] [--export] 

optional arguments:

-h, --help              show this help message and exit

--live state            GPS Live control. 
--led state             LED control. 
--buzzer state          Buzzer control.                           
--battery_saver state   Battery saver control.                                 
--public state          Public link share control.
{state = 'on' or 'off'}

--trigger radius        Trigger action within distance radius.

--gps                   Current GPS location.
--nloc                  New live location.
--pet                   Pet data.
[-I]                    optional: Interactive window.

--export                Export GPS data to file `gps_data.csv`.

Directory layout:

.
├── main.py                    # Main script              
├── tractive.py                # Class and functions for Tractive
├── ble_tractive.py            # Bluetooth low energy control (experimental)  
├── requirements.txt           # Python library requirements
├── login.conf                 # File to store login credentials and home GPS location
└── README.md                  # This README file.

What is Tractive GPS?

tractive_logo

Tractive GPS Activity Monitor allows you to track your pet wherever it goes by showing the live location in the free Tractive GPS app on your smartphone or in your web browser, with location updates every 2-3 seconds in live mode.

tractive_tracker

The cat tracker records the daily activity of your kitty and shows you how active, playful or calm they are, and how much time they are sleeping, as well as being able to set activity goals for them.

The app also allows you to view your cat's location history to see how much they are moving each day as well as finding out where their adventures take them, see the usual places they visit and where they spend most of their time with the heat map.

The tracker collar is waterproof and lightweight at only 30g, making it perfectly designed for adventurous cats. Tractive charges a subscription fee that covers the cost for all mobile charges and provides you with unlimited location tracking.

About

Python scripts to interact with the Tractive GPS API with extended functionality.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages