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

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-homewizard-energy-1.0.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.10 Linux/5.11.0-1028-azure

File hashes

Hashes for python-homewizard-energy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 39780817693e954fa3f23a4a028588a3f033111438f02c5e0c90baa58e61a7a1
MD5 aa45ae62b881ea141dea24173e8f1f30
BLAKE2b-256 c3cec9291d421da5a33de84b3688034f33ebcf3ef845efffefbdc15d33a027f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8bdc9c751ceb012c863355adb7137bfb2c61bbd47787c82028834db862df3da
MD5 cb5b7605c8d4f145306ad380e4e195d2
BLAKE2b-256 76766ceb5d3f0c32352b4d640721b6a3d210d2f4d21d98df2128c0647892d38a

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