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

This version

2.1.0

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.0.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.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_homewizard_energy-2.1.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.17 Linux/5.15.0-1041-azure

File hashes

Hashes for python_homewizard_energy-2.1.0.tar.gz
Algorithm Hash digest
SHA256 c4613ff3250df153b67e29c59c2b6401b939d4ef17e915073b44ba3cc82255d0
MD5 526c39e03b018d0e46b40adaaadefe2a
BLAKE2b-256 d998fe97985a4986cdfa4b1084d1253452be4fc2c5d6f1f16ba4177f16bafa6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 988b4737966cfb4f6b155e9064fc732934ba808302f142ba4b930979dc8a7c41
MD5 19c772a3286b68e645fc231db10dbc3c
BLAKE2b-256 cce1585e4b06440b69e0b3eb70ad1501be1af4067029639e776918c102dd293e

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