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
Close
Hashes for python_homewizard_energy-1.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9ca3616aa1878b94d65de79df66991a247de97a9f829117302f685248dc4a70 |
|
MD5 | 894aa090bbc5960fb51d1c377b17ebd8 |
|
BLAKE2b-256 | 9287311851a9ac4625c96d9aa856a0c820070eb6d5f304fd64d4a2601f2363b2 |
Close
Hashes for python_homewizard_energy-1.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dd9a7a691844b284698fb07448c15fef3d1bdf6f48d84d66293e27d08911661 |
|
MD5 | 35410e35cb8f78ac740a6c4fc262c294 |
|
BLAKE2b-256 | 890520b0c78b9934e3eb19ef9af39ba1ccda2fa3379c4531521d7f647d5f5731 |