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.10.tar.gz
(10.8 kB
view hashes)
Built Distribution
Close
Hashes for clage_homeserver-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1ec5421907bb06aae0f11026dab76befbeda2631344d63c5c687124e99b87cf |
|
MD5 | e2e57979d424ef3a0850a89d71ad8e82 |
|
BLAKE2b-256 | 9462744f9688fc2f247c8ed55b4091ddb0e7ed29e9c5f73b14682584003b95c1 |