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
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


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

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-homewizard-energy-0.2.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-0.2.0.tar.gz
Algorithm Hash digest
SHA256 61542a2c8d58601d67393a35fbc456224a70a355303d46f90382e8b029a30850
MD5 57f058e3678b763e70b951f734249615
BLAKE2b-256 cb431e1751f810d1c30933d387a4c3e7abcaa9d2542037a6cda7b54edbce59b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edc4006287530161e28ab7b9a8e49b8d44e8b7846adc42d1fa71e26afb6c4f98
MD5 123bf9c95fed8658e74e5405ea00600c
BLAKE2b-256 cd387f21941d82cbf803bfe8172c8a9b32d9e7deaf57ea98244110a30f93396a

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