API/Websocket to control Homewizard Climate devices
Project description
homewizard-climate-websocket
API/Websocket to control Homewizard Climate devices
This library allows you to control your Homewizard Climate devices. There are a multitude of brands that use Homewizard apps for their smart controls.
This was developed in oder to be used in a Home Assistant integration. It has not been thoroughly tested or worked with as a standalone code.
Supported Devices
This library is in an early stage of development and only works for the following device types returned from the Homewizard Climate API:
heaterfan
It has been tested on the following devices (even though it might work on others too):
Quick start
There's no separate requirements.txt file, the dependencies can be found and installed in setup.py
username = os.environ["HW_CLIMATE_USERNAME"]
password = os.environ["HW_CLIMATE_PASSWORD"]
api = HomeWizardClimateApi(username, password)
api.login()
devices = api.get_devices()
ws = HomeWizardClimateWebSocket(api, devices[0])
ws.connect_in_thread() # There's also a blocking `connect`
time.sleep(5)
Installation
Stable Release (PyPi): pip install homewizard_climate_websocket
Local Development: pip install .
Development
Any help to increase the number of supported devices is much appreciated as I only had access to the one mentioned above.
See CONTRIBUTING.md for information related to developing the code.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file homewizard_climate_websocket-0.0.9.tar.gz.
File metadata
- Download URL: homewizard_climate_websocket-0.0.9.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6f0b486b3a7aa01e6a7c0294585a8246ff7584e0fd3ee3cc632608fa6f17775
|
|
| MD5 |
0ee14479b36e88830f9a09b91911223b
|
|
| BLAKE2b-256 |
b9dbfc7f7a4238f6d0b1bc356c89ff37e0a37d354bfd29112dfa20fb79ce02dc
|
File details
Details for the file homewizard_climate_websocket-0.0.9-py2.py3-none-any.whl.
File metadata
- Download URL: homewizard_climate_websocket-0.0.9-py2.py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5939ac94e2150a68c75e2ebb91c67b0694d4c00f943e9b4de001434654567185
|
|
| MD5 |
021ba1638c2cd659ffce221761aeacc7
|
|
| BLAKE2b-256 |
d90f3e4aad5b515c0230cadfe72d43c544e660a22b58d0bfdbeb8081cf74b487
|