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.0.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.0.0.tar.gz (11.5 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.0.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_homewizard_energy-2.0.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.16 Linux/5.15.0-1035-azure

File hashes

Hashes for python_homewizard_energy-2.0.0.tar.gz
Algorithm Hash digest
SHA256 08f187538e406350896d7eee05a8db0f06a1015559d5a4bd27551449181bbf60
MD5 9c09aebd60fcf03e63530b1d2b217792
BLAKE2b-256 bd38672b08a37c7ce234c70ccbd254465ed007579727b408cf683721e8730f7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1260050aafcfc7c2d4250f8218c91075dcf40fd7e05bb61b43f4d896e95d4ccc
MD5 7751060ad0346855dca6164b19d267b7
BLAKE2b-256 295ccafc4b910850ba226c2568eafe4bdac0bcc4e4180b44242f8ebc6eeb933b

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