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-1.0.3.tar.gz (9.0 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-1.0.3-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file python-homewizard-energy-1.0.3.tar.gz.

File metadata

  • Download URL: python-homewizard-energy-1.0.3.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.12 Linux/5.13.0-1022-azure

File hashes

Hashes for python-homewizard-energy-1.0.3.tar.gz
Algorithm Hash digest
SHA256 da5e8e8c90f09fcdfd73c6d2838976ef7aa9d4c4393130363bf5bf1408a74e95
MD5 23aba7166d7a480343fd66bd5a973726
BLAKE2b-256 f85b2b6f72c76e30cf9667acb233deaab8eb46174dccfed0201801fddceeef8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ef1eece090ba04542a6ba6177d5ac949109b744c388e6d7b70d74ee1ce949293
MD5 4658b142a263f8b92ef05398e7271335
BLAKE2b-256 472bf9fc1032f80f98d3899f45b2e44a3d69abd9043dcdc2872de316c5029e3e

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