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

This version

0.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-0.1.0.tar.gz (8.8 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.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python-homewizard-energy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7308905fd95fa1660fc6b8b6ed9ff1787d9c4f6069280c2f71355460146f3ee4
MD5 000d8fd63203f4524407a12c3db13dfc
BLAKE2b-256 9b0e10b53883e9ec7c615aa10815cc0254bf2e12d3c2a0523d5e7f712fca5b95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 baafba3596577b6970acc7ad1654dbf3ec089d88673ad57d6b2c7a09b1c00ed2
MD5 d366bf35483d823b442d6d02dbe1f32b
BLAKE2b-256 44079cd97c3dd1da25f239d665ab1dac8f678edc27c3b061a819334921f53d80

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