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

IP_ADDRESS = "192.168.1.123"

# Make contact with an energy device
async with HomeWizardEnergy(IP_ADDRESS) 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-3.1.0.tar.gz (11.3 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-3.1.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_homewizard_energy-3.1.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.18 Linux/6.2.0-1015-azure

File hashes

Hashes for python_homewizard_energy-3.1.0.tar.gz
Algorithm Hash digest
SHA256 e0230b0434b5db5ce902255f327b283a3b7c187178d2004bfe041145105f9696
MD5 08bc3b6f666f6c3f19e8e5147de5f06c
BLAKE2b-256 cfbfa74d3d66ad713947709397473388ba8ea0eec10a7c96c194a4d0e139b010

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5e331832a6df06e0a6d9bd7c61d3a4fac1bb830729036efc7ed0586263a9488
MD5 5ecb01c6f892b56db3f24bf8c28b8d9e
BLAKE2b-256 f6cd1f7a2963e620e4e97175460f3ed32dbfd73c56dd4385b1046c6d6a454597

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