Termoweb
Python client library for controlling Termo thermostats via web interface.
Installation
pip install termoweb
Usage
from termoweb import Termoweb
# Initialize client with your credentials
client = Termoweb(email="your_email@example.com", password="your_password")
# Connect to the service
client.connect()
# Get all heaters/radiators
heaters = client.get_devices()
print(heaters)
# Set heater temperature and mode
client.set_heater(heater_id=1, mode="heat", target_temp=21.5)
API Reference
Termoweb(email, password)
Initialize the client with your Termoweb credentials.
connect()
Authenticate and establish connection to the Termoweb service.
get_devices()
Returns a dictionary of all connected heaters with their current settings:
{
1: {
"name": "Living Room",
"mode": "heat",
"target_temp": 21.0,
"room_temp": 20.5
}
}
set_heater(heater_id, mode, target_temp)
Set the mode and target temperature for a specific heater.
Exception Handling
The library includes custom exceptions:
TermowebError: Base exceptionAuthenticationError: Authentication failuresAPIError: API request failures
Supported Devices
| Device Type | Supported |
|---|---|
| Heaters/Radiators | ✅ |
| Thermostats | ❌ |
| Power Monitors | ❌ |
Metadata
Release files for termoweb 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| termoweb-0.1.3.tar.gz | 5.0 kB | Without provenance | Details for termoweb-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| termoweb-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for termoweb-0.1.3-py3-none-any.whl |
Total release size: 9.4 kB
Release files / termoweb-0.1.3.tar.gz
| Download URL | termoweb-0.1.3.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6902b40df5ac822e2af634b42ac2a67ca37362c73a3b1c5eb5bc5f9f448e456e
|
|
BLAKE2b-256 checksum How to use checksums |
7f8bae842715427c3c48378c0bdfc38554a42c5c82b4bf28ff5a66cd121166d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|
Release files / termoweb-0.1.3-py3-none-any.whl
| Download URL | termoweb-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de0f24850bba4ee60d43998731feaffc80b9a4ecff7ac3a4a4762e93037ca944
|
|
BLAKE2b-256 checksum How to use checksums |
a44f164013545b81498b6b87f52059a90cd9e57a9925e9995d258cb992480d9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|
Security for termoweb 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.