Skip to main content

aioacaia

Async Python library for interacting with Acaia Bluetooth scales.

Usage

import asyncio

from aioacaia import AcaiaScale
from aioacaia.discovery import find_acaia_devices, is_new_scale


async def main() -> None:
    addresses = await find_acaia_devices()
    if not addresses:
        raise RuntimeError("No Acaia scale found")

    address = addresses[0]
    scale = AcaiaScale(
        address,
        is_new_style_scale=await is_new_scale(address),
    )
    await scale.connect()

    try:
        await scale.tare()
        await scale.start_stop_timer()
        await scale.reset_timer()
    finally:
        await scale.disconnect()


asyncio.run(main())

State Updates

Pass a no-argument callback to receive notification when the scale state changes. The latest values are available through weight, timer, flow_rate, and device_state.

timer and timer_running follow the scale's own timer: scales that report their timer with each weight reading keep timer in sync, and new-style (2021+) scales also report whether the timer is running with each settings update. This keeps both correct when the timer is started or stopped on the scale itself, or was already running when you connected.

import asyncio

from aioacaia import AcaiaScale


async def monitor(address: str) -> None:
    scale: AcaiaScale

    def state_changed() -> None:
        print(f"Weight: {scale.weight}")
        print(f"Timer: {scale.timer}")
        if scale.device_state is not None:
            print(f"Battery: {scale.device_state.battery_level}%")

    scale = AcaiaScale(address, notify_callback=state_changed)
    await scale.connect()
    try:
        await asyncio.Event().wait()
    finally:
        await scale.disconnect()


asyncio.run(monitor("AA:BB:CC:DD:EE:FF"))

connect() also accepts a raw Bleak notification callback. Supplying one bypasses the built-in parsing and state updates.

Metadata

Release files for aioacaia 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioacaia 0.2.3
File Size Uploaded
aioacaia-0.2.3.tar.gz 22.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aioacaia 0.2.3
File Interpreter ABI Platform
aioacaia-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 39.7 kB

Release files / aioacaia-0.2.3.tar.gz

Download URL aioacaia-0.2.3.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
62cbad8766a8ac4c392236acfb2241077ee5358737efea8e91ef52e6f400dae9
BLAKE2b-256 checksum
How to use checksums
3abba3952087310d761af331e6d2752b359b11e71cf4b3039743116ebdedf246
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / aioacaia-0.2.3-py3-none-any.whl

Download URL aioacaia-0.2.3-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4b40867eeabe76c828d35726c4afa1dc1378e1130fabc462402585b9423f09a
BLAKE2b-256 checksum
How to use checksums
41e35b1cd9e560a08aa3723d0819a87ab2c2fe7c6ab456d8b72936da16701790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page