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.3.1.tar.gz (9.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-1.3.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_homewizard_energy-1.3.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.9.15 Linux/5.15.0-1022-azure

File hashes

Hashes for python_homewizard_energy-1.3.1.tar.gz
Algorithm Hash digest
SHA256 452d0ff924d87b17b8a54ada7fd1d1c6701a11e93ccd3e5b240429173b1a7036
MD5 68ecd1b7e29f777acc21e01ecd33c550
BLAKE2b-256 ce0812d52bed3b32dcea40fafd4d94373d7008e622366db264816e34ee367221

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 894897ef412b072cafdf61f81b1f6c9012b18ac1ef30a1220613eed8dcc58a03
MD5 48850176a18b8efb4c86cc4cfb7b5a09
BLAKE2b-256 b4af6d33834a1e08ba1f104d1dd4e2b9a21e2477c9f09094cbe25d3dd5b6bb48

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