{"id":18390793,"url":"https://github.com/eifinger/hass-weenect","last_synced_at":"2025-04-07T02:35:24.523Z","repository":{"id":36968004,"uuid":"358505160","full_name":"eifinger/hass-weenect","owner":"eifinger","description":"Homeassistant integration for weenect","archived":false,"fork":false,"pushed_at":"2025-03-06T14:19:59.000Z","size":957,"stargazers_count":16,"open_issues_count":9,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T11:51:09.966Z","etag":null,"topics":["hacktoberfest","hacs","home-assistant","home-assistant-hacs","homeassistant","homeassistant-integration","python","weenect"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eifinger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2021-04-16T06:55:55.000Z","updated_at":"2025-03-06T14:20:04.000Z","dependencies_parsed_at":"2024-08-04T20:28:06.728Z","dependency_job_id":"60591aa6-70a0-4788-bf46-9026bb1a382b","html_url":"https://github.com/eifinger/hass-weenect","commit_stats":null,"previous_names":[],"tags_count":45,"template":false,"template_full_name":"ludeeus/integration_blueprint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fhass-weenect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fhass-weenect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fhass-weenect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eifinger%2Fhass-weenect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eifinger","download_url":"https://codeload.github.com/eifinger/hass-weenect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247583710,"owners_count":20962066,"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":["hacktoberfest","hacs","home-assistant","home-assistant-hacs","homeassistant","homeassistant-integration","python","weenect"],"created_at":"2024-11-06T01:49:12.850Z","updated_at":"2025-04-07T02:35:19.512Z","avatar_url":"https://github.com/eifinger.png","language":"Python","funding_links":["https://www.buymeacoffee.com/eifinger"],"categories":[],"sub_categories":[],"readme":"# weenect\r\n\r\n[![GitHub Release][releases-shield]][releases]\r\n[![GitHub Activity][commits-shield]][commits]\r\n[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs)\r\n[![License][license-shield]](LICENSE.md)\r\n\r\n![Project Maintenance][maintenance-shield]\r\n[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]\r\n\r\n[![Community Forum][forum-shield]][forum]\r\n\r\n_Homeassistant Custom Component for [https://my.weenect.com/](https://my.weenect.com/)._\r\n\r\n**This component will set up the following platforms.**\r\n\r\nPlatform | Description\r\n-- | --\r\n`binary_sensor` | Adds sensors to show the connection status of your trackers.\r\n`button` | Shortcuts to service. Activate Super Live Mode, Ring, Vibrate and Request a Location Update.\r\n`device_tracker` | Adds your trackers as device_trackers so they appear on the map.\r\n`select` | Select the update interval.\r\n`sensor` | Adds sensors like signal and battery strength of your trackers.\r\n\r\n![example][exampleimg]\r\n![configuration][configurationimg]\r\n\r\n## Services\r\n\r\n### weenect.set_update_interval\r\n\r\nSet the tracker update interval. Disable tracking by setting interval to 0S.\r\n\r\nName | Description | Example\r\n-- | -- | --\r\n`update_interval` | `The GPS update interval. Possible values are 0S, 30S, 1M, 2M, 3M, 5M, 10M. 0S disables tracking. Battery life will be low for 30S and 1M, high for 2M and 3M and medium for 5M and 10M.` | `10M`\r\n\r\n### weenect.activate_super_live\r\n\r\nActivate the super live mode.\r\n\r\n### weenect.refresh_location\r\n\r\nRequest a location update.\r\n\r\n### weenect.ring\r\n\r\nLet the tracker ring.\r\n\r\n### weenect.vibrate\r\n\r\nLet the tracker vibrate.\r\n\r\n## Installation\r\n\r\n### HACS\r\n\r\nThe easiest way to add this to your Homeassistant installation is using [HACS](https://hacs.xyz/).\r\n\r\n### Manual\r\n\r\n1. Using the tool of choice open the directory (folder) for your HA configuration (where you find `configuration.yaml`).\r\n2. If you do not have a `custom_components` directory (folder) there, you need to create it.\r\n3. In the `custom_components` directory (folder) create a new folder called `weenect`.\r\n4. Download _all_ the files from the `custom_components/weenect/` directory (folder) in this repository.\r\n5. Place the files you downloaded in the new directory (folder) you created.\r\n6. Restart Home Assistant\r\n7. In the HA UI go to \"Configuration\" -\u003e \"Integrations\" click \"+\" and search for \"Blueprint\"\r\n\r\nUsing your HA configuration directory (folder) as a starting point you should now also have this:\r\n\r\n```text\r\ncustom_components/weenect/__init__.py\r\ncustom_components/weenect/button.py\r\ncustom_components/weenect/binary_sensor.py\r\ncustom_components/weenect/config_flow.py\r\ncustom_components/weenect/const.py\r\ncustom_components/weenect/device_tracker.py\r\ncustom_components/weenect/entity.py\r\ncustom_components/weenect/manifest.json\r\ncustom_components/weenect/select.py\r\ncustom_components/weenect/sensor.py\r\ncustom_components/weenect/services.py\r\ncustom_components/weenect/services.yaml\r\ncustom_components/weenect/translations/en.json\r\n```\r\n\r\n## Automations\r\n\r\nI have configured the following two automations to save battery on the tracker without having it to turn on/off by hand:\r\n\r\n```yaml\r\n---\r\nautomation:\r\n  - id: 743b7e7d-ffa8-4fa3-9c1c-62d9ada9ced8\r\n    alias: \"Setze Nayas Tracker Updaterate auf 1M wenn wir unterwegs sind\"\r\n    description: \"Set Nayas tracker update rate to 1m when we are not at home\"\r\n    mode: single\r\n    initial_state: true\r\n    trigger:\r\n      - platform: state\r\n        entity_id: input_boolean.is_home\r\n        from: \"on\"\r\n        to: \"off\"\r\n    action:\r\n      - service: weenect.set_update_interval\r\n        target:\r\n            entity_id: device_tracker.naya\r\n        data:\r\n          update_interval: \"1M\"\r\n  - id: 652b4b69-c951-4861-8b7d-3cbb15fc8b79\r\n    alias: \"Setze Nayas Tracker Updaterate auf 0S wenn wir zu Hause sind\"\r\n    description: \"Set Nayas tracker update rate to 0s (disable tracking) when we are at home\"\r\n    mode: single\r\n    initial_state: true\r\n    trigger:\r\n      - platform: state\r\n        entity_id: input_boolean.is_home\r\n        from: \"off\"\r\n        to: \"on\"\r\n    action:\r\n      - service: weenect.set_update_interval\r\n        target:\r\n          entity_id: device_tracker.naya\r\n        data:\r\n          update_interval: \"0S\"\r\n````\r\n\r\n\u003ca href=\"https://www.buymeacoffee.com/eifinger\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/black_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\u003cbr\u003e\r\n\r\n[buymecoffee]: https://www.buymeacoffee.com/eifinger\r\n[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge\r\n[commits-shield]: https://img.shields.io/github/commit-activity/y/eifinger/hass-weenect?style=for-the-badge\r\n[commits]: https://github.com/eifinger/hass-weenect/commits/main\r\n[exampleimg]: https://github.com/eifinger/hass-weenect/blob/main/example.png?raw=true\r\n[configurationimg]: https://github.com/eifinger/hass-weenect/blob/main/configuration.png?raw=true\r\n[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg?style=for-the-badge\r\n[forum]: https://community.home-assistant.io/t/custom-integration-weenect/300996\r\n[license-shield]: https://img.shields.io/github/license/eifinger/hass-weenect.svg?style=for-the-badge\r\n[maintenance-shield]: https://img.shields.io/badge/maintainer-Kevin%20Stillhammer%20%40eifinger-blue.svg?style=for-the-badge\r\n[releases-shield]: https://img.shields.io/github/release/eifinger/hass-weenect.svg?style=for-the-badge\r\n[releases]: https://github.com/eifinger/hass-weenect/releases\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Fhass-weenect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feifinger%2Fhass-weenect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feifinger%2Fhass-weenect/lists"}