Skip to main content

Python module to talk to HomeWizard Energy Devices.

Project description

AIOHWENERGY

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 aiohwenergy

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 aiohwenergy import HomeWizardEnergy
# Make contact with a energy device
device = HomeWizardEnergy(args.host)

# Update device value
await device.update()

# Use the data
print(device.device.product_name)
print(device.device.serial)
print(device.data.wifi_ssid)

# Close connection
await device.close()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiohwenergy-0.8.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

aiohwenergy-0.8.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file aiohwenergy-0.8.0.tar.gz.

File metadata

  • Download URL: aiohwenergy-0.8.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for aiohwenergy-0.8.0.tar.gz
Algorithm Hash digest
SHA256 25e9deb61ceb32194b79de250440e669c9e15a4af1b79500802d7f5c541e1904
MD5 3a8a22f1a5cee108e9876c3e66de5459
BLAKE2b-256 d9b09a02abe09b40ea1fade86b50426477421c8b0891854510ee6ab10f2ec008

See more details on using hashes here.

File details

Details for the file aiohwenergy-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: aiohwenergy-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for aiohwenergy-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcb0f77be37b76b8911adbb8fde42aea3b61303d7f45b683762d8387854da506
MD5 18bc74db70c16905d90877b2592c84a3
BLAKE2b-256 b8e3b7f5ee6d771e61062432ff4b81a6b6fcdeee3a278074297f665fa8c39eb0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page