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.GetConsumptionTotals())
# 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.13.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for clage_homeserver-0.1.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a880b57af8fa15f59d3312db950135b2a70f015fd0461cdfa48376a96dbe2c79 |
|
MD5 | 5889483810fd0ace90c4af314fb27f61 |
|
BLAKE2b-256 | 1e96f774c6cb379431a6e11cea1b8623019ffcab14624761bc30ec203cb33d4b |