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.9.tar.gz (651.7 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.9-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python_izone-1.3.9.tar.gz
Algorithm Hash digest
SHA256 4a913374b7ac1b43e8278f79d3a614320634f24720a4ae93f766bd3f72a1ddc8
MD5 785510bac8c01b4b50ba7af4e1efa6c0
BLAKE2b-256 929d42cf0d64a7d1113b012389969d90f06a32f8c4cf60e6f7c706cacae04605

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_izone-1.3.9.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.9-py3-none-any.whl.

File metadata

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

File hashes

Hashes for python_izone-1.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bc181596ea7cfd5a4ad1be5b88e67d88ae93152e549903c1e7cd54d1b78de267
MD5 f933ed404a7e9928a920c527d3cd30c2
BLAKE2b-256 05354c73bfbfdd1e5ee7ba0decbe06849b1c6b645d6e5763650214945cd02286

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_izone-1.3.9-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

1.3.10

2 files

This release

1.3.9 This release

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