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

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.1.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.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-homewizard-energy-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 236214582b5495e8c454de0f387f5db70f65729f8b6d6d1d1e2f20fd9b014d3e
MD5 74349f919bec38d4e22be908ddbfeb33
BLAKE2b-256 28fe18a89e5d286e03ee4d495e9bd2120911b61081c7b384b552ad549737b7fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_homewizard_energy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b688e82964c762def6368e35355da142254781b4d4900f3173cad84da575cf9e
MD5 1f10e78e5ae60d2a3dc35ddccdd86216
BLAKE2b-256 4b6ac95557d286b16e0f81470dc3a8ed4c52c645d023b6f885ff6ceb604dda66

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