Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

homewizard_climate_websocket-0.0.11.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

homewizard_climate_websocket-0.0.11-py2.py3-none-any.whl (11.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file homewizard_climate_websocket-0.0.11.tar.gz.

File metadata

File hashes

Hashes for homewizard_climate_websocket-0.0.11.tar.gz
Algorithm Hash digest
SHA256 b13a87995a4b604975c868d8d04557c76c2fc74ed91a3c6bfadd49d9ca455cce
MD5 e55836efb6999d8f55e80f1acfb4b229
BLAKE2b-256 969c3fa75aab54a863c255db664bd8617fc3f9fe73aeb58e0af3127579d9f859

See more details on using hashes here.

File details

Details for the file homewizard_climate_websocket-0.0.11-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for homewizard_climate_websocket-0.0.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 405581efc5f17944cbdd7d61f3a3e42e8133b06b846effa5a267a7c323cbfbe7
MD5 3f731c58e16d9bab217d0a4668473cb2
BLAKE2b-256 df650b5aab3e2640208d6f5d3e575fc4fbca074941fe82a6ba156f7eb29678c8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page