Skip to main content

Asynchronous Python client for the HomeWizard Energy

Project description

python-homewizard-energy

Asyncio package to communicate with HomeWizard Energy devices This package is aimed at basic control of the device. Initial setup and configuration is assumed to done with the official HomeWizard Energy app.

Disclaimer

This package is not developed, nor supported by HomeWizard.

Installation

python3 -m pip install python-homewizard-energy

Usage

Instantiate the HWEnergy class and access the API.

For more details on the API see the official API documentation on https://homewizard-energy-api.readthedocs.io

Example

The example below is available as a runnable script in the repository.

from homewizard_energy import HomeWizardEnergy

# Make contact with a energy device
async with HomeWizardEnergy(args.host) as api:

    # Use the data
    print(await api.device())
    print(await api.data())
    print(await api.state())

    await api.state_set(power_on=True)

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

python_homewizard_energy-2.1.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

python_homewizard_energy-2.1.2-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file python_homewizard_energy-2.1.2.tar.gz.

File metadata

  • Download URL: python_homewizard_energy-2.1.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.18 Linux/6.2.0-1012-azure

File hashes

Hashes for python_homewizard_energy-2.1.2.tar.gz
Algorithm Hash digest
SHA256 3ad13c45176cc374ac145ad6c9f83bc928a69f3b01b0c8b74dea469875859cab
MD5 7d4d51506bc6c0c47bb2088395c4b788
BLAKE2b-256 5bff6d3d81a96723e23a6318a590ff6933d4c2a74b09b7922e73b0df2d62a605

See more details on using hashes here.

File details

Details for the file python_homewizard_energy-2.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for python_homewizard_energy-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71f6dc6cb53b793bfafa1c0ad6f4c91893c1f799d9850b72f1cbd35a758aca9d
MD5 0a385aac0fab64ce8c88e639e17f5ee6
BLAKE2b-256 3c2db275ee4a051a529db5fd5dc31b6f812550447ba1bb800e4b97fa932a80ae

See more details on using hashes here.

Supported by

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