skillfed

python-homewizard-energy

Asynchronous Python client for the HomeWizard Energy

python-homewizard-energy v10.2.0 76.0K downloads/30d#14,665 on PyPI25
Permissive license Apache-2.0 Active released

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-energy

uv

uv add python-homewizard-energy

poetry

poetry add python-homewizard-energy

Installing 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

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

homewizard energy api clientasyncio smart meter integrationenergy monitoring pythonp1 meter data retrievalhome automation device controlhomewizard python libraryasync energy device communication
smart-homeenergy-monitoringasyncio

More Monitoring packages