This release is a pre-release and may not be stable for production use.
aioecam
Async, local-first Python client for De'Longhi ECAM coffee machines with Coffee Link Wi-Fi (Ayla module), e.g. PrimaDonna Soul (ECAM610/612) and Eletta Explore (ECAM452).
- Local first: talks to the machine directly over Ayla LAN mode; no add-on, no extra server process.
- Cloud second: the De'Longhi/Ayla cloud is only used to fetch the LAN key during onboarding and, optionally, as a fallback for waking the machine.
- Pure asyncio, dependencies limited to
aiohttpandcryptography, built to be embedded in Home Assistant.
Status: beta. See docs/plan.md for architecture and milestones. The protocol findings this library is built on are documented publicly in ecam-lan-protocol.md.
Hardware validation
Live testing has been performed on a PrimaDonna Soul ECAM610.75. Verified operations include LAN wake-up, settings and recipe reads, tank and milk accessory monitoring while awake, auto-off writes with restoration, profile switching, and a one-off 100 ml hot-water command.
Other models have not been tested on hardware by this project. This includes other ECAM610/612/613 variants and the Eletta Explore (ECAM452). Their coverage is limited to codec, captured-frame and simulated-device tests; passing these tests does not confirm that they work on a real machine. Model-specific behaviour needs confirmation from owners of those machines. Eletta write sessions are not implemented.
Not every code path has been verified live, even on the ECAM610.75: the final recipe-polling fix is covered by simulated-device tests, and whether monitor changes require polling remains open. Detailed results and limitations are documented in the M7 protocol notes.
Command line
python -m aioecam --device 192.168.1.50 status --watch 30
python -m aioecam --device 192.168.1.50 on # confirmed by the monitor
python -m aioecam --device 192.168.1.50 brew espresso
python -m aioecam --device 192.168.1.50 stats # full A2 table
The LAN key comes from ~/.config/aioecam.json ({"lan_key": "..."}) or
AIOECAM_LAN_KEY.
Development
python -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/ruff check . && .venv/bin/mypy && .venv/bin/pytest
Credits
Protocol knowledge builds on cremalink (AGPL-3.0) and the public protocol write-ups of the De'Longhi community. Not affiliated with De'Longhi or Ayla Networks.
License
AGPL-3.0-or-later
Passive catalogue and receipt diagnostics
EcamDevice.catalog.snapshot() reports only catalogue properties already received
on the LAN link. It sends no reads, writes or session announcements. Descriptor
(B0 F0), recipe (A6 F0), priority (A8 F0) and name-metadata frames are checked for
length, CRC and payload structure. Unknown parameter tags stay numeric; priority
lists do not establish availability. Source properties, reception/last-valid times
and validation errors are included. Bad updates retain the last valid data with
an explicit error. Reversed min/max bounds remain errors. Raw defaults outside those bounds are
preserved with default_in_range: false; their meaning remains unconfirmed.
Storage is bounded to 512 properties and resets with the device object.
Household names are redacted at parse time; serial, PIN and settings frames are
excluded. The catalogue does not enable drinks or change brew validation.
last_datapoint_at, last_monitor_at and monitor_query_* distinguish receipt,
state changes and the last monitor-read outcome. Repeated valid frames count as
new receipts. Successful reads may still return cached standby data; reception
time does not prove a new physical state. machine_info keeps only observed,
allowlisted model/firmware properties. Missing metadata remains unknown.
Metadata
Release files for aioecam 0.1.1b1
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 | Actions |
|---|---|---|---|---|
| aioecam-0.1.1b1.tar.gz | 90.2 kB | With provenance | Details for aioecam-0.1.1b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aioecam-0.1.1b1-py3-none-any.whl | Python 3 | none | any | Details for aioecam-0.1.1b1-py3-none-any.whl |
Total release size: 155.9 kB
Release files / aioecam-0.1.1b1.tar.gz
| Download URL | aioecam-0.1.1b1.tar.gz |
|---|---|
| Size | 90.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b3305f2ba234baecbe7df7135a6ca38c2aa54fc244978a06e78b4f701c68f63
|
|
BLAKE2b-256 checksum How to use checksums |
22de36bc33168ec0793af82e802b5d42c9e5d78ba06ad31bda6f178d4651ff23
|
| 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 27, 2026.
Transparency logRelease files / aioecam-0.1.1b1-py3-none-any.whl
| Download URL | aioecam-0.1.1b1-py3-none-any.whl |
|---|---|
| Size | 65.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf166e5909a71298993da23c9cc64a74672854910cfb896964d371d60786ddfd
|
|
BLAKE2b-256 checksum How to use checksums |
f21d48ef4554f3c008ed4b88e38826f99697eedc7322f191576a97d786d9fe81
|
| 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 27, 2026.
Transparency logSecurity for aioecam 0.1.1b1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for aioecam-0.1.1b1.tar.gz
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 27, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.