Metadata-Version: 2.4
Name: pydanfoss-cloud
Version: 0.4.4
Summary: Pure-Python Danfoss Ally Cloud (path 1a), local Zigbee tunnel, Zigbee2MQTT dialect contract, and standalone danfoss2mqtt bridge daemon.
Author: aghulas
License-Expression: MIT
Project-URL: Homepage, https://github.com/aghulas/pydanfoss-cloud
Project-URL: Repository, https://github.com/aghulas/pydanfoss-cloud
Project-URL: Issues, https://github.com/aghulas/pydanfoss-cloud/issues
Keywords: danfoss,ally,thermostat,zigbee,tuya,mqtt,home-assistant,heating
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Home Automation
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pycryptodome>=3.20
Requires-Dist: requests>=2.31
Provides-Extra: local
Requires-Dist: tinytuya>=1.15; extra == "local"
Provides-Extra: mqtt
Requires-Dist: paho-mqtt<3,>=1.6.1; extra == "mqtt"
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: pytest-asyncio>=0.24; extra == "dev"
Requires-Dist: ruff>=0.8; extra == "dev"
Requires-Dist: mypy>=1.13; extra == "dev"
Requires-Dist: build>=1.2; extra == "dev"
Dynamic: license-file

# pydanfoss-cloud

Pure-Python library for **Danfoss Ally** (unofficial cloud path 1a, local Zigbee tunnel, Tuya cloud MQTT 2.3 frames, Zigbee2MQTT dialect contract, and standalone `danfoss2mqtt` bridge daemon).

Zero Home Assistant dependency. Powers:
- [`aghulas/danfoss2mqtt`](https://github.com/aghulas/danfoss2mqtt) — Home Assistant Add-on & standalone Docker bridge
- [`aghulas/ha-danfoss-ally`](https://github.com/aghulas/ha-danfoss-ally) — Home Assistant integration & MQTT Companion v2
- [`aghulas/danfoss-ally-mcp`](https://github.com/aghulas/danfoss-ally-mcp) — MCP server for Danfoss Ally

## Installation

```bash
pip install pydanfoss-cloud               # core (cloud HTTP client, decode, writes, z2m_contract)
pip install "pydanfoss-cloud[mqtt]"       # + paho-mqtt (danfoss2mqtt daemon & Tuya cloud MQTT)
pip install "pydanfoss-cloud[local]"      # + tinytuya (local Zigbee tunnel via Ally gateway)
```

## CLI (`danfoss2mqtt`)

```bash
danfoss2mqtt --mqtt-host localhost --base-topic danfoss2mqtt --dry-run
```

## Security

No credentials, installation secrets (`sign_key`, `ch_key`), or `device_id` are ever committed to this repository. When omitted, `danfoss2mqtt` generates and persists its own dedicated 44-hex `device_id` locally (`0600`).

## License

MIT — see [`LICENSE`](LICENSE).
