Metadata-Version: 2.1
Name: python-homewizard-energy
Version: 0.1.1
Summary: Asynchronous Python client for the HomeWizard Energy
Home-page: https://github.com/dcsbl/python-homewizard-energy
License: Apache-2.0
Author: DCSBL
Maintainer: DCSBL
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: aiohttp (>=3.0.0)
Project-URL: Bug Tracker, https://github.com/dcsbl/python-homewizard-energy/issues
Project-URL: Changelog, https://github.com/dcsbl/python-homewizard-energy/releases
Project-URL: Documentation, https://github.com/dcsbl/python-homewizard-energy
Project-URL: Repository, https://github.com/dcsbl/python-homewizard-energy
Description-Content-Type: text/markdown

# 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
```bash
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.

```python
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()
```

