Skip to main content

pysaeco

pysaeco is an early-stage Python library and CLI for communicating with Saeco-family coffee machines over Bluetooth LE.

It uses bleak for cross-platform BLE support and can emit Home Assistant MQTT discovery payloads.

Install for development

uv sync --extra dev

CLI

uv run pysaeco-server

By default the server scans for BLE machines, publishes MQTT/Home Assistant discovery to localhost:1883, and serves the HTTP API/status page at http://127.0.0.1:8080.

Library sketch

from pysaeco import SaecoClient
from pysaeco.avanti import Espresso

with SaecoClient("AA:BB:CC:DD:EE:FF", pin=1234) as client:
    status = client.read_status()
    client.brew(Espresso(coffee_ml=45))

Development notes

  • Keep BLE client details in pysaeco.client.
  • Keep Avanti protocol packets, responses, recipes, and parsed status in pysaeco.avanti.
  • Put Home Assistant discovery entities in pysaeco.homeassistant.discovery.

Metadata

Release files for pysaeco 0.1.1

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

Source distribution (sdist)

Source distribution for pysaeco 0.1.1
File Size Uploaded
pysaeco-0.1.1.tar.gz 55.0 kB Details

Built distribution (wheel)

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

Total release size: 72.9 kB

Release files / pysaeco-0.1.1.tar.gz

Download URL pysaeco-0.1.1.tar.gz
Size 55.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b6a52c38b7a081446f1b7176213ae23945c14d15cc79e7ea6d0409e543dda875
BLAKE2b-256 checksum
How to use checksums
a6c327878677dab4b138d07b5e61b5f0fbff5d3720aeac73a6a6a5bc5476d308
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.3

Release files / pysaeco-0.1.1-py3-none-any.whl

Download URL pysaeco-0.1.1-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ce8930f87d7dd01aff278b87cf644df811bb739fd5ff09610d2ef2b5e208881
BLAKE2b-256 checksum
How to use checksums
2511d38ce6dade6f53f9f96e226619cca5493b440a4f0ed05311c2c482d14b8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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