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 order 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
infraredheater
heater
It has been tested on the following devices (even though it might work on others too):
- Princess Smart Heating and Cooling Tower (01.347000.01.001)
- Princess Smart Infrared Panel Heater 350 (01.343350.02.001)
- Princess Smart Glass Panel Heater (01.342001.09.001)
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
File details
Details for the file homewizard_climate_ws-0.0.26.tar.gz
.
File metadata
- Download URL: homewizard_climate_ws-0.0.26.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eb2777a2167cd0acf910a011fdb6496b77330860f195fe559f01b9d2e5cda12 |
|
MD5 | 142da729e9a14939c7ec88d9a1cc7e49 |
|
BLAKE2b-256 | bec1fd70145760b7b3da1bdae18ab7be9c5a232792d9e82b916cf08435859e48 |