Library to fetch data from Aquastilla softener from Viessmann API
Project description
aquastilla-softener
A Home Assistant integration and Python library for interacting with Aquastilla water softeners via their API.
📦 Installation
You can install the package using pip:
pip install aquastilla-softener
🚀 Usage
from aquastilla_softener import AquastillaSoftener
softener = AquastillaSoftener(email="user@example.com", password="your_password")
devices = softener.list_devices()
print("Devices:")
for device in devices:
print(f"UUID: {device['uuid']}, Model: {device['model']['model']}")
if devices:
for device in devices:
device_data = softener.get_device_data(device)
print(f"\nDevice UUID: {device_data.uuid}")
print(f"Model: {device_data.model}")
print(f"State: {device_data.state}")
print(f"Salt Level: {device_data.salt_level_percent}%")
print(f"Salt Days Remaining: {device_data.salt_days_remaining}")
print(f"Water Available: {device_data.water_available_liters} l")
print(f"Max Water Capacity: {device_data.max_water_capacity_liters} l")
print(f"Expected Regeneration: {device_data.expected_regeneration_date}")
print(f"Current Water Usage: {device_data.current_water_usage_liters} l")
print(f"Today Water Usage: {device_data.today_water_usage_liters} l")
print(f"Last Regeneration: {device_data.last_regeneration}")
softener.close_water_valve(device)
softener.set_vacation_mode(device, 1) # 0 - vacation_mode off, 1 - vacation_mode on
softener.postpone_regeneration(device)
softener.force_regeneration(device)
🧠 Features
✅ Login to the Aquastilla cloud API
✅ Fetch current softener status
✅ Set vacation mode
✅ Close water valve (not possible to remotely open valve, need to open physically on the device)
✅ Force regeneration
✅ Postpone regeneration by 48h
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aquastilla_softener-0.3.1.tar.gz.
File metadata
- Download URL: aquastilla_softener-0.3.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaaa297701946fda82fdecebc31d7de617d36dfce4f5fc917938362d85530991
|
|
| MD5 |
013f466cf2a34c326f6819e4a1baac50
|
|
| BLAKE2b-256 |
0b924eb68126cd51cb44224acf8ff4f1b7b19becd92061afae6018598c86c8cc
|
Provenance
The following attestation bundles were made for aquastilla_softener-0.3.1.tar.gz:
Publisher:
workflow.yml on alakdae/aquastilla-softener
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aquastilla_softener-0.3.1.tar.gz -
Subject digest:
eaaa297701946fda82fdecebc31d7de617d36dfce4f5fc917938362d85530991 - Sigstore transparency entry: 199587428
- Sigstore integration time:
-
Permalink:
alakdae/aquastilla-softener@b78c249b17b8a517974201666e6fe04ba3da3f6d -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/alakdae
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@b78c249b17b8a517974201666e6fe04ba3da3f6d -
Trigger Event:
push
-
Statement type:
File details
Details for the file aquastilla_softener-0.3.1-py3-none-any.whl.
File metadata
- Download URL: aquastilla_softener-0.3.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
491030b80dcc4016b51c717de443fb6c3611d5305010894e32005c3f21eb5c88
|
|
| MD5 |
cbc1da134fcb48312980a980442e5e5f
|
|
| BLAKE2b-256 |
f2ad3530aec0750d2374b72b5a09a7332c092126fb22370698ddb7e781d75f45
|
Provenance
The following attestation bundles were made for aquastilla_softener-0.3.1-py3-none-any.whl:
Publisher:
workflow.yml on alakdae/aquastilla-softener
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aquastilla_softener-0.3.1-py3-none-any.whl -
Subject digest:
491030b80dcc4016b51c717de443fb6c3611d5305010894e32005c3f21eb5c88 - Sigstore transparency entry: 199587430
- Sigstore integration time:
-
Permalink:
alakdae/aquastilla-softener@b78c249b17b8a517974201666e6fe04ba3da3f6d -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/alakdae
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@b78c249b17b8a517974201666e6fe04ba3da3f6d -
Trigger Event:
push
-
Statement type: