Skip to main content

zendure

Async Python client for Zendure energy devices over the local-network zenSDK HTTP protocol — no cloud, no MQTT, no app token.

The device is reached directly on the LAN: GET /properties/report to read all state, POST /properties/write to control it. This library is standalone and never imports homeassistant; the Home Assistant zendure integration is a thin layer on top of it.

pip install zendure

Status

Early development (0.x): the public API may still change between minor versions. Read and control are supported for:

Model Reported product Verified on real hardware
SolarFlow 2400 AC+ solarFlow2400AC+ Yes
SolarFlow Max 5000 Pro SolarFlowMax5000Pro Not yet (same property set as 2400 AC+)

Protocol values are derived from a real 2400 AC+ report and the public zenSDK docs. Items whose meaning is not yet confirmed on hardware are marked candidate in the catalog and locked by tests until verified.

Requirements

  • Python 3.14.2+
  • The device must already be added to HEMS (its local HTTP interface is then on)

Development

uv pip install -e ".[dev]"
ruff format --check .
ruff check .
mypy
pytest

scripts/live_device_check.py --host <device-ip> runs a one-shot check against a real device. It briefly changes lampSwitch and outputLimit, then restores them.

License

Apache-2.0. See LICENSE.

Metadata

Release files for zendure 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zendure 0.1.1
File Size Uploaded
zendure-0.1.1.tar.gz 43.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zendure 0.1.1
File Interpreter ABI Platform
zendure-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 82.3 kB

Release files / zendure-0.1.1.tar.gz

Download URL zendure-0.1.1.tar.gz
Size 43.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2637d9667d7d886abc320bc7663e82e0c9d90729708dbe89124a9ece4303e88f
BLAKE2b-256 checksum
How to use checksums
24f385e3888a254ed7eb7ae7126dac70852ea4ed0c7b2aadae1132465af200c1
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 15, 2026.

Transparency log

Release files / zendure-0.1.1-py3-none-any.whl

Download URL zendure-0.1.1-py3-none-any.whl
Size 38.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f90a68a4985728686c5d59e4aebc2d1a4f07ced9281096e60f117d0f8c79a86c
BLAKE2b-256 checksum
How to use checksums
733bfc717b865d1d40117cee2b28988f3c69e7c0edb1c458ab9ec3fb2102aff2
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 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page