Skip to main content

A Python API for accessing an electrical Clage Waterheater via the Clage Homeserver REST API

Project description

Python application

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

Product Homepage

Openapi Document

Project Homepage

PyPi Package

Features

  • Query Heater Status
  • Set Heater Temperature

Install

pip install clage_homeserver

Example

from clage_homeserver import ClageHomeServer
clageHomeServer = ClageHomeServer('192.168.0.78','Your Homeserver ID','Your Heater ID') 
 
print (clageHomeServer.requestStatus())

# Set temperature to 45.6 °C
clageHomeServer.setTemperature(456)

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

clage_homeserver-0.0.8.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

clage_homeserver-0.0.8-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

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