A Python API for accessing and managing an electrical CLAGE continuous waterheater (e.g. DSX Touch) via the CLAGE Homeserver REST API
Project description
clage_homeserver (WIP)
Python client for accessing the Clage Waterheater via the local https-Rest-API-Endpoint of the clage Homeserver
Tested with the "Clage DSX Touch" with an integrated Homeserver.
Based on the API documentation version 1.3.4.
Warning: WIP - Breaking changes possible
This is the first version of the API so there are still breaking chnages possible eg. output parameter names or values.
Links
All rights of CLAGE GmbH remain unaffected.
Features
- Query the status of the homeserver & water heater
- Query the setup values of the homeserver & water heater
- Query the consumption values for water (Liter) and energy (kWh)
- Set the setpoint temperature for the heater
Install
pip install clage_homeserver
Example
from clage_homeserver import ClageHomeServer
clageHomeServer = ClageHomeServer('192.168.0.78','Your Homeserver ID','Your Heater ID')
# Request the status of the homeserver/heater
print (clageHomeServer.requestStatus())
# Request the setup values of the homeserver/heater
print (clageHomeServer.requestSetup())
# Request the consupmtion values of the homeserver/heater
print (clageHomeServer.GetConsumption())
# Set the temperature to 45.6 °C (setpoint)
clageHomeServer.setTemperature(45.6)
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
clage_homeserver-0.1.4.tar.gz
(9.8 kB
view hashes)
Built Distribution
Close
Hashes for clage_homeserver-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c9b9396d2a68dd91197a835c0c40ec96e23f7666b2f7c1dd4246b3ebc346f5 |
|
MD5 | da0cdf9ec8ac8b23348b320e832c6539 |
|
BLAKE2b-256 | 8a2e960e99906b25a981fec9fde4fa242b7c43d26581a0c43c65c0a5ddd4f8a5 |