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.1

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_homewizard_energy-2.0.1.tar.gz
  • Upload date:
  • Size: 11.6 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.1.tar.gz
Algorithm Hash digest
SHA256 69eacdbc4fbb1fc7c51fb06462206ad94387e3c35548728f6287605a62a377b4
MD5 9de4374240330f7fd53e8c0f643fa003
BLAKE2b-256 2dfa5301afc922cc74f939cb4b8c76c0033f676e16f00d3b7209530be2bd853d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8871aec808f9ba22e640c96798304b78db9eb2cfc2015b595a5cece7c3bcd7ca
MD5 8c5877c2e53bea52c9994fd95fbc83eb
BLAKE2b-256 630fc0a1f6eb6799c1a6b77bfd3cb20e3b8173c995bfd719fde26db73dbc888a

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