semvec/pypi-packages huggingface dataset:
clage-homeserver 0.1.14
A Python API for accessing and managing an electrical CLAGE continuous waterheater (e.g. DSX Touch) via the CLAGE Homeserver REST API
Requires Python: >=3.6

[![Python application](https://github.com/klacol/clage_homerserver/actions/workflows/pythonapp.yml/badge.svg)](https://github.com/klacol/clage_homerserver/actions/workflows/pythonapp.yml) [![PyPI](https://img.shields.io/pypi/v/clage-homeserver)](https://pypi.org/project/clage-homeserver/)

# 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](https://www.clage.de/de/produkte/e-komfortdurchlauferhitzer/DSX-Touch)" with an integrated Homeserver.

Based on the [API documentation version 1.3.4](https://github.com/klacol/clage-homerserver-api/blob/master/api-docs/CLAGE%20HomeServer%20API%20v1.3.4.pdf).

# 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
[Project Homepage](https://github.com/klacol/clage_homeserver)

[PyPi Package](https://pypi.org/project/clage_homeserver)

[Openapi Document](https://app.swaggerhub.com/apis/klacol/ClageHomeServer/1.0.0) 

[Product Homepage](https://www.clage.de/de/produkte/e-komfortdurchlauferhitzer/DSX-Touch)

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

```python
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)
```
tkmetro 1.1.0
tkinter with metroframework
Requires Python: >=3

# tkforms
来自WinForms界面扩展库做出来的组件

## Metro 
> 免费使用，但是UI风格比较原始

> `Windows XP SP1/SP2/SP3`
> `Windows Vista`
> `Windows 7`
> `Windows 8`
> `Windows 10`

```python
# 基础示例1
import tkmetro
from tkinter import Tk

root = Tk()
button = tkmetro.Button()
button.pack(fill="both", expand="yes", padx=5, pady=5)
root.mainloop()
```

```python
# 基础示例2
import tkmetro
from tkinter import Tk

root = Tk()
button1 = tkmetro.Button()
button1.pack(fill="both", expand="yes", padx=5, pady=5)
button2 = tkmetro.Button()
button2.configure(theme="dark")  # theme设置组件主题配色，可设置为 "light" 或 "dark"
button2.pack(fill="both", expand="yes", padx=5, pady=5)
root.mainloop()
```

```python
# 高级示例1
import tkmetro
from tkinter import Tk

root = Tk()
titlebar = tkmetro.TitleBar(root)
titlebar.show()
root.mainloop()
```

```python
# 高级示例2
import tkmetro
from tkinter import Tk

root = Tk()
titlebar = tkmetro.TitleBar(root)
titlebar.configure(theme="dark")
titlebar.close_button.configure(theme="dark")
titlebar.title.configure(theme="dark")
titlebar.show()
root.mainloop()
```