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
async with HomeWizardEnergy(args.host) 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_homewizard_energy-2.0.2.tar.gz.
File metadata
- Download URL: python_homewizard_energy-2.0.2.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.9.17 Linux/5.15.0-1041-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f29d740fad8425913678bba6dfb929724f62da0d2b0b490d0b2695ab3d3fd01
|
|
| MD5 |
623f11252b18073dbeb2826fff72860f
|
|
| BLAKE2b-256 |
6d92dd6e357b77c12993e51ef52ae3625be5c0645556c9e82539f867bb4bb1b5
|
File details
Details for the file python_homewizard_energy-2.0.2-py3-none-any.whl.
File metadata
- Download URL: python_homewizard_energy-2.0.2-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.9.17 Linux/5.15.0-1041-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03345f8b8ae24c18b74a99110a0642c0284862da9ae87cd5e9bfdb87856b9da8
|
|
| MD5 |
f60ad33bcfc507323a56e25af275b32f
|
|
| BLAKE2b-256 |
eade7fb63df767c9e1254a5e57c29f91b4e63336eea0f4230766e5a21f9dd087
|