Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aquastilla_softener-0.3.1.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aquastilla_softener-0.3.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

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

Hashes for aquastilla_softener-0.3.1.tar.gz
Algorithm Hash digest
SHA256 eaaa297701946fda82fdecebc31d7de617d36dfce4f5fc917938362d85530991
MD5 013f466cf2a34c326f6819e4a1baac50
BLAKE2b-256 0b924eb68126cd51cb44224acf8ff4f1b7b19becd92061afae6018598c86c8cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for aquastilla_softener-0.3.1.tar.gz:

Publisher: workflow.yml on alakdae/aquastilla-softener

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aquastilla_softener-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aquastilla_softener-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 491030b80dcc4016b51c717de443fb6c3611d5305010894e32005c3f21eb5c88
MD5 cbc1da134fcb48312980a980442e5e5f
BLAKE2b-256 f2ad3530aec0750d2374b72b5a09a7332c092126fb22370698ddb7e781d75f45

See more details on using hashes here.

Provenance

The following attestation bundles were made for aquastilla_softener-0.3.1-py3-none-any.whl:

Publisher: workflow.yml on alakdae/aquastilla-softener

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page