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.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48905c2ce3afa17b4e29075a814623882f9faccdf10f5b069cfa1436604f737d |
|
MD5 | ad16c28a70e18521073d627cbeb80bf2 |
|
BLAKE2b-256 | 6a49bb62b012115cf32ff692d1ecb9383c5f9b61cc0999bf1690c7d2d718eec8 |
Close
Hashes for python_homewizard_energy-1.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40d009896823fb4d59d8b8c871c8bb49b0f94df30ef45baece5a7a9f5f2a4c52 |
|
MD5 | 84852a3916ed8dfa365b455276027e7c |
|
BLAKE2b-256 | 7fa6b4ad8b29914c53ec9255fecbb3f9f08b0f7a79b060c65ceaff7be635e280 |