vitafit-ble
Bluetooth library for Vitafit devices. See supported devices for the models it works with.
Unofficial; not affiliated with Vitafit.
Install
pip install vitafit-ble
Use
from bleak import BleakClient
from vitafit_ble import async_measure
async with BleakClient(address) as client:
measurement = await async_measure(client)
It returns a Measurement with weight_kg, impedance_ohm and display_unit, or None if no stable weight arrives within 30 s. Weight is always in kg. impedance_ohm is None if impedance isn't measured, for example through socks or if you step off early.
Pass weight_only=True to skip impedance (the Vitafit app's "Weight Only Mode"). The scale keeps this mode for later offline weigh-ins.
VitafitBluetoothDeviceData wraps the same session for Home Assistant; its async_poll passes weight_only through.
See usage for details.
Licence
MIT. The protocol is based on openScale's VT701 handler.
Metadata
Release files for vitafit-ble 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| vitafit_ble-0.2.0.tar.gz | 7.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vitafit_ble-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.6 kB
Release files / vitafit_ble-0.2.0.tar.gz
| Download URL | vitafit_ble-0.2.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0c6090e8cd1332aa8779b6ba7a67e3ad7451e76cd2724b2934fd7dcc41bd55b
|
|
BLAKE2b-256 checksum How to use checksums |
57dfc051e3047a86d33ade4a0a48e2537c9ce2b359f2b70de420f0db703b2260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vitafit_ble-0.2.0-py3-none-any.whl
| Download URL | vitafit_ble-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07f42351e7e2473a6c1c16d9fcdedd15c113546fc9f9e26d3c089c7f4e295c92
|
|
BLAKE2b-256 checksum How to use checksums |
4d1ccada0869a7d2ada4f2841646579a280a9f1b6ab1f93831cd558fbf890754
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for vitafit-ble 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.