Skip to main content

python-izone

Python library for the iZone air conditioning system.

Used by the Home Assistant iZone integration.

Install

pip install python-izone

Overview

The main entry points are Controller and Zone for device control, and DiscoveryService for UDP discovery on the local network.

Synchronous property reads return cached device data and do not raise ConnectionError. Async command and refresh methods perform HTTP I/O and raise ConnectionError when the device cannot be reached. They raise ControllerCommandError when the device responds but rejects the request ({ERROR} body or HTTP 4xx).

Dependencies

Requires aiohttp>=3.14.1. Home Assistant pins aiohttp==3.14.1; that version includes the HTTP POST coalescing fix (aiohttp#10991) needed for iZone controllers that read the request in a single operation.

Protocol documentation

The iZone Ethernet interface is documented in AC-DOC-1401-11_iZoneEthernetInterface.pdf.

Troubleshooting / issue reports

If Home Assistant can load the iZone integration, prefer Download diagnostics from the integration page.

When that is not possible (or you need a live HTTP/UDP survey of the bridge), run the stdlib probe from a machine on the same LAN:

curl -fsSL -o izone_v1_probe.py \
  https://raw.githubusercontent.com/Swamp-Ig/pizone/main/scripts/izone_v1_probe.py
python3 izone_v1_probe.py <bridge-ip> --with-content-type > izone-v1-probe.log

Attach izone-v1-probe.log to the GitHub issue. The CLI host (IP or hostname) and IPv4/IPv6 literals in the log are redacted to **REDACTED** by default (including UDP IP_… payloads); use --show-ips only for local debugging. Stop Home Assistant (or other listeners on UDP 7005) first if the UDP listen step fails to bind.

Development

  1. Install uv.
  2. uv sync --all-extras --group dev
  3. ./scripts/check — lint, type-check, test, and build (same as CI)
  4. ./scripts/coverage — test coverage report (advisory; not part of the CI gate)

Individual commands:

  • uv run pytest tests/
  • uv run ruff check pizone tests
  • uv run ruff format pizone tests
  • uv run mypy pizone
  • uv build

To run integration tests against a controller on your network:

uv run pytest tests/test_fullstack.py -m hardware -o addopts=

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_izone-1.3.10.tar.gz (652.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_izone-1.3.10-py3-none-any.whl (42.5 kB view details)

Uploaded Python 3

File details

Details for the file python_izone-1.3.10.tar.gz.

File metadata

  • Download URL: python_izone-1.3.10.tar.gz
  • Upload date:
  • Size: 652.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for python_izone-1.3.10.tar.gz
Algorithm Hash digest
SHA256 ec9ecb2f3ef42e8ad0dd26e30ccc053a791dd9f3f4f513185768b89706480e67
MD5 d73e8b6f9ff56f4c1cc3e77b58e931b9
BLAKE2b-256 89713faa0d1d80c376b17483f03d2456c02e8c76034b9a351bfb6f293608618a

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_izone-1.3.10.tar.gz:

Publisher: main.yml on Swamp-Ig/pizone

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_izone-1.3.10-py3-none-any.whl.

File metadata

  • Download URL: python_izone-1.3.10-py3-none-any.whl
  • Upload date:
  • Size: 42.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for python_izone-1.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 88e9d40650567b8a7f75f6a007755e07dfa5990402d418be312d99e3cc547a7c
MD5 b0745e1cb9aa0ba474201c570276fb11
BLAKE2b-256 6c92b72102d8ba60947b1e907b7b4196790e9cad3dad73b5ed0fcaeefa773ca5

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_izone-1.3.10-py3-none-any.whl:

Publisher: main.yml on Swamp-Ig/pizone

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.3.10 This release

2 files

1.3.9

2 files

1.3.8

2 files

1.3.7

2 files

1.3.6

2 files

1.3.5

2 files

1.3.4

2 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.3b4

2 files

1.2.10

2 files

1.2.9

2 files

1.2.7

2 files

1.2.5

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.0

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page