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
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-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7308905fd95fa1660fc6b8b6ed9ff1787d9c4f6069280c2f71355460146f3ee4 |
|
MD5 | 000d8fd63203f4524407a12c3db13dfc |
|
BLAKE2b-256 | 9b0e10b53883e9ec7c615aa10815cc0254bf2e12d3c2a0523d5e7f712fca5b95 |
Close
Hashes for python_homewizard_energy-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baafba3596577b6970acc7ad1654dbf3ec089d88673ad57d6b2c7a09b1c00ed2 |
|
MD5 | d366bf35483d823b442d6d02dbe1f32b |
|
BLAKE2b-256 | 44079cd97c3dd1da25f239d665ab1dac8f678edc27c3b061a819334921f53d80 |