pydanfoss-cloud
Access library for the unofficial Danfoss Ally cloud API (path 1a, the mobile app's one — with
no developer app and no shared quota), extracted from the Home Assistant integration
danfoss_ally_cloud. No Home Assistant dependency.
It provides:
CloudClient— email/password login (+ installation secrets), list of heads, guarded writes (tuya.m.custom.wkf.settings.change), robust re-authentication.decode/DanfossDevice— decoding of the Tuyadpsinto a normalised model (product schema03wvrwpv), decoding of the E1–E15 fault codes.writes— value validation before sending and a per-model guard-rail.keys— fetching the gateways'localKey+ LAN IP from the cloud.local/— local Zigbee tunnel (DP 198→199, tinytuya): attribute read/write (preheat 0x0025), weekly schedule.
Extraction status (roadmap v0.6)
Single source: this folder (custom_components/danfoss_ally_cloud/api/). It is packaged under
the name pydanfoss_cloud by the repo's pyproject.toml, without moving files:
- the Home Assistant integration keeps "vendoring" this code (relative import
from .api import …), which keeps the HACS install self-contained; - the MCP connector (
danfoss-ally-mcp) can depend on it viapip install pydanfoss-cloudonce the library is published to PyPI, then the integration will switch to arequirementsdependency inmanifest.json.
Development install:
pip install -e . # exposes the pydanfoss_cloud package
pip install -e '.[local]' # + tinytuya for the local tunnel
Dependencies
pycryptodome, requests (core); tinytuya (extra local, Zigbee tunnel). Python ≥ 3.12.
Disclaimer
Undocumented API, obtained by observing the app's protocol: it can change or be cut off. Secrets
(session token, localKey, credentials): never logged or committed.
Metadata
Release files for pydanfoss-cloud 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 | Actions |
|---|---|---|---|---|
| pydanfoss_cloud-0.2.0.tar.gz | 67.9 kB | Without provenance | Details for pydanfoss_cloud-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydanfoss_cloud-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pydanfoss_cloud-0.2.0-py3-none-any.whl |
Total release size: 108.0 kB
Release files / pydanfoss_cloud-0.2.0.tar.gz
| Download URL | pydanfoss_cloud-0.2.0.tar.gz |
|---|---|
| Size | 67.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77cbd0f8beda15ba391937b214c8433e1953f94ed0287647246f7be2f5eafaaa
|
|
BLAKE2b-256 checksum How to use checksums |
b2ac58632f01213cc27e4c8583dae6f28243fb4d2e46912ebd16dd551e8980e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / pydanfoss_cloud-0.2.0-py3-none-any.whl
| Download URL | pydanfoss_cloud-0.2.0-py3-none-any.whl |
|---|---|
| Size | 40.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91a6d6331de4f8addfe170c3ced8e8e4218ea4f4b337f5ad1a709cfbdb96a5ee
|
|
BLAKE2b-256 checksum How to use checksums |
6d0978f7da4691b0b7f752f8bead562f1e757a513c9385fd76f61e074feb1278
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for pydanfoss-cloud 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.