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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-homewizard-energy-1.1.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.13 Linux/5.13.0-1031-azure

File hashes

Hashes for python-homewizard-energy-1.1.0.tar.gz
Algorithm Hash digest
SHA256 98a4f30ac41408deb86c302317807bd1d7e240c9e36d52608ceb6dded153ab39
MD5 e8f6467087c4efd675806fe362a51534
BLAKE2b-256 38bfd26c9428834eaf40be5eed5169861958bf61018c6d6434ca1ae24a930c6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6665d48077d22f8414e35e26e17179582e6e4abb11bf3c0ee62a6212ebe52e6
MD5 41937d35c96c090ed1a163e92354acf0
BLAKE2b-256 756668b2bdb16d41ce69608b6b823ce9d794e26f2fb842bb19c517ff6c273a75

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