Metadata-Version: 2.4
Name: aioWiserHeatAPI
Version: 1.7.10
Summary: An AsyncIO API for controlling the Drayton Wiser Heating system
Home-page: https://github.com/msp1974/aioWiserHeatAPI
Author: Mark Parker
Author-email: msparker@sky.com
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: zeroconf>=0.131.0
Requires-Dist: aiohttp>=3.9.3
Requires-Dist: aiofiles>=23.2.1
Requires-Dist: pyyaml>=6.0.1
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Drayton Wiser Hub API Async

An asynchronous Python API for the Drayton Wiser heating system used in the UK.
It supports one-, two-, and three-channel HeatHubs, Smart Plugs, shutters, lights,
and other Wiser devices.

## Requirements

Python 3.12 or later.

## Installation

```sh
python -m pip install aioWiserHeatAPI
```

## Hub setup

### 1. Find your HeatHub secret key

1. Press the setup button on your HeatHub. The light will start flashing.
2. Connect your computer or phone to the Wi-Fi network named `WiserHeatXXXXXX`,
   where `XXXXXX` is the last six digits of the hub's MAC address.
3. Open `http://192.168.8.1/secret` in a browser. Save the returned string as your
   hub's secret key.
4. Press the setup button again to return the HeatHub to normal operation.

See the [HeatHub connection guide](https://it.knightnet.org.uk/kb/nr-qa/drayton-wiser-heating-control/#controlling-the-system)
for more information.

### 2. Find your HeatHub IP address

Use your router's connected-device list to find the HeatHub's IP address. The hub
usually identifies itself as `WiserHeatXXXXXX`.

Hub discovery is also available through the API; see
[discovery.py](aioWiserHeatAPI/discovery.py).

## Documentation

- [API documentation](docs/info.md)
- [API implementation](aioWiserHeatAPI/wiserhub.py)
- [Release history](CHANGELOG.md)
