Python library for interacting with the PowUnity BikeTrax GPS tracker.
Project description
aiobiketrax
Python library for interacting with the PowUnity BikeTrax GPS tracker.
Introduction
This library is mainly written to work with a custom component for Home Assistant.
The PowUnity BikeTrax is a GPS tracker for electric bicycles. It provides real-time updates every when the bike is in motion, using a 2G modem. It works in Europe, and requires a subscription after a trial period of one year.
Features
- Multi-device support.
- Traccar and admin API support.
- Live updates using websocket.
Not implemented:
- Geofencing.
- Global configuration, such as webhooks.
Usage
from aiobiketrax import Account
import aiohttp
async with aiohttp.ClientSession() as session:
account = Account(
username="someone@example.org",
password="secret",
session=session)
await account.update_devices()
for device in account.devices:
print(device.name)
Contributing
To contribute to this repository, use GitHub pull-requests.
- Dependencies are managed using poetry.
- Code is formatted using black.
- Your branch is linear (rebase) and logical.
The models have been generated using quicktype. See
the contrib/generator/
folder for more information.
License
See the [LICENSE](LICENSE.md)
file (MIT license).
Disclaimer
Use this library at your own risk. I cannot be held responsible for any damages.
This page and its content is not affiliated with PowUnity.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aiobiketrax-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c8559622bba4da009654fed8008b41a37902b2593f9f4760b69e579aaf94975 |
|
MD5 | c2178e92426dc328add574ad616069f2 |
|
BLAKE2b-256 | 27d20dfb9a5af9fa56dc8dc23f45f75766bbfb91c1e2fced9def0ea023fa2da0 |