python-homewizard-energy
Asynchronous Python client for the HomeWizard Energy
What it is and what it does
python-homewizard-energy is an asyncio-based HTTP client for HomeWizard Energy smart meter and energy socket devices. It wraps the HomeWizard Energy REST API, allowing Python applications to query device information, retrieve energy and water usage measurements, read raw P1 telegram data, and control outlets. The package assumes initial device setup is done through the official HomeWizard app; it focuses on runtime communication and control.
The library uses aiohttp for async HTTP requests, awesomeversion for version handling, backoff for retry logic, mashumaro for data serialization, and orjson for JSON performance. It targets Python 3.12 or higher and is actively maintained. Typical usage involves instantiating a context manager with a device IP address, then calling methods to interact with the device.
Use it for:
- Monitor real-time energy consumption and water usage from HomeWizard meters in home automation systems
- Retrieve raw P1 telegram data for advanced energy analytics or integration with other monitoring platforms
- Control HomeWizard Energy Socket outlets programmatically to switch devices on and off based on energy conditions
- Build dashboards or logging systems that periodically fetch device state and measurements via async calls
- Integrate HomeWizard devices into broader Python-based smart home orchestration frameworks
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Asyncio client library for communicating with HomeWizard Energy devices over HTTP, enabling queries of device state, energy measurements, and control of outlets.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. It directly solves the problem of communicating with HomeWizard Energy devices from Python. Install it if you own or manage HomeWizard Energy hardware and need programmatic access from Python; skip it if you have no HomeWizard devices or prefer synchronous APIs.
Install
python-homewizard-energy on PyPI
pip
pip install python-homewizard-energyuv
uv add python-homewizard-energypoetry
poetry add python-homewizard-energyInstalling python-homewizard-energy
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release; last commit on 2026-08-05 and repository not archived. Requires Python 3.12 or higher.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most integration scenarios.
Quickstart
pip install python-homewizard-energy
import asyncio
async def main():
from python_homewizard_energy import HomeWizardEnergyV1
async with HomeWizardEnergyV1(host="192.168.1.123") as api:
device_info = await api.device()
measurement = await api.measurement()
print(measurement.energy_import_kwh)
asyncio.run(main())
Requires Python 3.12 or higher; device must be on the same network and accessible at its IP address.
Verify before relying
- Whether the package supports HomeWizard Energy device models beyond those documented in the official API reference
- Performance characteristics when polling multiple devices or high-frequency measurement queries
- Retry and timeout behavior details beyond what backoff dependency suggests
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4.0,>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — aiohttp, awesomeversion, backoff, mashumaro, multidict, orjson |
| Maintenance | actively maintained — 79 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 75,952/month — #14,665 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_homewizard_energy-10.2.0-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
ovoenergyA Python client library for querying energy…
permissive · top 15,000 on PyPI
p1monitorAsynchronous Python client library for reading…
permissive · top 15,000 on PyPI
pydiscovergyAsynchronous Python client for querying…
permissive · top 15,000 on PyPI
pecoA Python library for querying the PECO outage…
permissive · top 15,000 on PyPI
energyzeroAsynchronous Python client for retrieving…
permissive · top 15,000 on PyPI
python-ecobee-apiA Python library for communicating with Ecobee3…
permissive · top 15,000 on PyPI
aiohueAsynchronous Python library for controlling…
permissive · top 15,000 on PyPI
gotailwindAsynchronous Python client for controlling and…
permissive · top 15,000 on PyPI
pysmaConnects to SMA solar inverters via their…
permissive · top 15,000 on PyPI
sense-energyProvides Python access to the Sense Energy…
permissive · top 15,000 on PyPI