{"id":13435945,"url":"https://github.com/sbabcock23/hass-tryfi","last_synced_at":"2026-01-23T03:36:44.725Z","repository":{"id":36978548,"uuid":"303827752","full_name":"sbabcock23/hass-tryfi","owner":"sbabcock23","description":"Home Assistant integration for TryFi Dog Collar GPS monitoring.","archived":false,"fork":false,"pushed_at":"2025-01-03T21:34:41.000Z","size":249,"stargazers_count":52,"open_issues_count":20,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-03T22:26:07.432Z","etag":null,"topics":["dog","dog-collar","gps","hacs","home-assistant","homeassistant-integration","iot","python","tryfi"],"latest_commit_sha":null,"homepage":"https://github.com/sbabcock23/hass-tryfi","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbabcock23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-13T21:00:51.000Z","updated_at":"2025-01-03T21:32:19.000Z","dependencies_parsed_at":"2023-12-14T19:53:14.088Z","dependency_job_id":"73995174-df94-4369-889d-03015f5c3558","html_url":"https://github.com/sbabcock23/hass-tryfi","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbabcock23%2Fhass-tryfi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbabcock23%2Fhass-tryfi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbabcock23%2Fhass-tryfi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbabcock23%2Fhass-tryfi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbabcock23","download_url":"https://codeload.github.com/sbabcock23/hass-tryfi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244222101,"owners_count":20418445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dog","dog-collar","gps","hacs","home-assistant","homeassistant-integration","iot","python","tryfi"],"created_at":"2024-07-31T03:00:41.117Z","updated_at":"2026-01-23T03:36:39.702Z","avatar_url":"https://github.com/sbabcock23.png","language":"Python","funding_links":[],"categories":["Software"],"sub_categories":["Home"],"readme":"# TryFi for Home Assistant\n![beta_badge](https://img.shields.io/badge/maturity-Beta-yellow.png?style=for-the-badge)\n[![](https://img.shields.io/github/release/sbabcock23/hass-tryfi/all.svg?style=for-the-badge)](https://github.com/sbabcock23/hass-tryfi/releases)\n![release_date](https://img.shields.io/github/release-date/sbabcock23/hass-tryfi.svg?style=for-the-badge)\n[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/hacs/integration)\n[![](https://img.shields.io/github/license/sbabcock23/hass-tryfi?style=for-the-badge)](LICENSE)\n[![](https://img.shields.io/github/workflow/status/sbabcock23/hass-tryfi/Validate%20with%20hassfest?style=for-the-badge)](https://github.com/sbabcock23/hass-tryfi/actions)\n\nThis allows you to integrate [TryFi](https://tryfi.com) Smart GPS Collars with Home Assistant.\n\n## Features\nCurrent functionality includes:\n* Device Tracker - your pet will show up in HA using the GPS coordinates from the collar\n* Step Counter - it will report your pets daily, weekly, and monthly steps\n* Distance Counter - it will report your pets daily, weekly and monthly distance\n* Battery Level - it will report your Pet's collar battery level\n* Battery Charging - it will report if your Pet's collar is charging\n* Collar Light - you can control the light on the collar by turning it on and off and setting the color\n* Lost Dog Mode - allows you to select Lost mode if your dog if it is lost and select Safe if it is found\n* Bases - reports the status of the base (online/offline)\n\n## Donate\nIf you would like to donate you can use my TryFi referral code \"[395FX4](https://shop.tryfi.com/r/395FX4/?utm_source=referrals)\" on your next purchase.\n\n# Installation\n## Pre-Requisities\n* Home Assistant \u003e= 2023.1.0\n* TryFi dog collar with active cellular subscription\n* [HACS](https://github.com/custom-components/hacs) is already installed\n\n## Installation Methods\n\n### HACS Install\n1. Search for `TryFi` under `Integrations` in the HACS Store tab.\n2. Add the [Integration](#configuration) to your HA and configure.\n\n### Manual Install\n1. In your `/config` directory, create a `custom_components` folder if one does not exist.\n2. Copy the [tryfi](https://github.com/sbabcock23/hass-tryfi/tree/master/custom_components) folder and all of it's contents to your `custom_components` directory.\n3. Restart Home Assistant.\n4. Add the [Integration](#configuration) to your HA and configure.\n\n## Configuration\n1. After installing TryFi go to Configuration --\u003e Integrations and add a new Integration\n2. Search for TryFi\n3. Enter in your TryFi username and password. Optionally you can select a polling frequency option (in seconds). Suggestion is nothing less then 5.\n4. Click Submit\n\n![Setup](https://github.com/sbabcock23/hass-tryfi/blob/master/docs/setup.jpg?raw=true)\n\n## Validation\nOnce you have added the integration, you will see 1 or more devices and entities associated with this integration. To validate its accuracy, you can review the steps and distance counters for your pet or its current whereabouts.\n\n![Integration](https://github.com/sbabcock23/hass-tryfi/blob/master/docs/tryfiaftersetup.jpg?raw=true)\n\n### Dog Device and Entities\n#### Device\n\n![Dog Device](https://github.com/sbabcock23/hass-tryfi/blob/master/docs/dogdevice.jpg?raw=true)\n\n#### Entities\n\n![Dog Entities](https://github.com/sbabcock23/hass-tryfi/blob/master/docs/dogentities.jpg?raw=true)\n\n### Base Device and Entities\n\n![Base Device and Entities](https://github.com/sbabcock23/hass-tryfi/blob/master/docs/dogbase.jpg?raw=true)\n\n# How to Use\n## Light Collar\nThe light on your Pet's collar is represented as a light switch in HA. It can either be turned on or off.\nThe color can be set. The collar only supports Red, Green, Blue, LightBlue, Purple, Yellow, and White. The closest color to your selection will be used.\n\n![Lovelace](https://github.com/sbabcock23/hass-tryfi/blob/master/docs/doglight.jpg?raw=true)\n\n## Lost Dog Mode\nTryFi is equiped with a \"Lost Dog Mode\" functionality. In HA this is represented by a select entity.\nSelect Lost if your pet is lost or Safe if your pet is OK.\n\n![Lovelace](https://github.com/sbabcock23/hass-tryfi/blob/master/docs/doglostmode.png?raw=true)\n\n# Lovelace\n\n## Entities\n```\ntype: entities\nentities:\n  - entity: select.harley_lost_state\n  - entity: sensor.harley_collar_battery_level\n  - entity: binary_sensor.harley_collar_battery_charging\n  - entity: sensor.home_base\n  - entity: sensor.harley_daily_steps\n  - entity: sensor.harley_weekly_steps\n  - entity: sensor.harley_monthly_steps\n  - entity: sensor.harley_daily_distance\n  - entity: sensor.harley_weekly_distance\n  - entity: sensor.harley_monthly_distance\n  - entity: sensor.harley_daily_sleep\n  - entity: sensor.harley_weekly_sleep\n  - entity: sensor.harley_monthly_sleep\n  - entity: sensor.harley_daily_nap\n  - entity: sensor.harley_weekly_nap\n  - entity: sensor.harley_monthly_nap\n```\n## Light\n```\ntype: light\nentity: light.harley_collar_light\n```\n\n# Automation Examples\n## Turn on the Collar Light After Dark\nTurns on the collar light after dark if the pet is not home.\n```\n- id: '1604060166498'\n  alias: Turn on Light After Dark If Not Home\n  description: ''\n  trigger:\n  - platform: sun\n    event: sunset\n  condition:\n  - condition: and\n    conditions:\n    - condition: device\n      device_id: a7237a6c1144fcd90828b21de2572603\n      domain: device_tracker\n      entity_id: device_tracker.pet_tracker\n      type: is_not_home\n  action:\n  - type: turn_on\n    device_id: a7237a6c1144fcd90828b21de2572603\n    entity_id: light.pet_collar_light\n    domain: light\n  mode: single\n```\n## Fully Charged Notification\nSends notification when battery has charged to 100%.\n```\n- id: '1661129896868'\n  alias: Pet's Collar - Fully Charged\n  description: ''\n  trigger:\n  - platform: state\n    entity_id:\n    - sensor.pet_collar_battery_level\n    to: '100'\n    for:\n      hours: 0\n      minutes: 0\n      seconds: 0\n  condition:\n  - condition: state\n    entity_id: binary_sensor.pet_collar_battery_charging\n    state: 'on'\n  action:\n  - service: notify.everyone_phone\n    data:\n      message: Pet's collar is fully charged!\n  mode: single\n```\n# Known Issues\n* It sometimes takes time for the status to accurately refresh in HA. For example the light on/off status and the Lost Mode select status.\n\n# Future Enhacements\n* Allow for the selection of the LED light color\n* Enable possibility of if pet not home and not with owner then trigger lost dog mode\n\n# Version History\n## 0.0.24 \n* updated deprecated classes\n## 0.0.23\n* Added support for dynamic lighting choices. \n## 0.0.22\n* Added support for changing the color of the colar's LED light. This is currently based on a pre-defined set of colors.\n## 0.0.21\n* Version bump of pytry package\n## 0.0.20\n* Fix - Due to recent changes by TryFi, additional changes were required in the pytryfi library. Bumping version to include those changes/fixes.\n## 0.0.19\n* Fix - pets without collars were causing errors.\n## 0.0.18\n* Enhancement - Battery Charging - it will report if your Pet's collar is charging\n## 0.0.17\n* Enhancement - added the attribute ConnectedTo which will determine if the pet is connected to a person, base, etc.\n* Fix - base data was not updating. This issue is resolved.\n## 0.0.16\n* Enhancement - requested to add the attributes Activity Type, Current Place Name and Current Place Address.\n## 0.0.15\n* Version bump to support latest pytryfi version 0.0.16 that includes multiple households\n## 0.0.14\n* Fix - fixed sleep and nap units from hours to minutes with proper conversion\n## 0.0.13\n* Enhancement - Added Sleep and Nap \"sensors\"/attributes based on new version of pytryfi\n## 0.0.12\n* Fix - Issue where base status (online/offline) was not set correctly.\n## 0.0.11\n* Version bump to support latest pytryfi version 0.0.14.1\n## 0.0.10\n* Lost Mode is now a select entity instead of a lock entity\n## 0.0.9\n* Updated dependency version of pytryfi\n* Fixed [Issue #30](https://github.com/sbabcock23/hass-tryfi/issues/30) - Convert to Async\n## 0.0.8\n* Updating dependency version of pytryfi\n## 0.0.7\n* Updating dependency version of pytryfi\n## 0.0.6\n* Steps unit was added to enable charting of dogs steps over time.\n## 0.0.5\n* Fixed [Issue #15](https://github.com/sbabcock23/hass-tryfi/issues/15) - dependency update\n## 0.0.4\n* Fixed [Issue #17](https://github.com/sbabcock23/hass-tryfi/issues/17) - converted to async\n## 0.0.3\n* Multiple bases fix\n## 0.0.2\n* Documentation updates\n## 0.0.1\n* Initial Release with basic functionality including light on/off, device tracker, lock mode of dog and general stats\n\n# Links\n* [Python TryFi Interface](https://github.com/sbabcock23/pytryfi)\n* [TryFi]((https://tryfi.com/))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbabcock23%2Fhass-tryfi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbabcock23%2Fhass-tryfi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbabcock23%2Fhass-tryfi/lists"}