Skip to main content

pysaltsentry

Async Python client for the Salt Sentry water softener sensor.

Installation

pip install pysaltsentry

Usage

import aiohttp
from pysaltsentry import SaltSentryDevice, SaltSentryConnectionError, SaltSentryInvalidDataError

async with aiohttp.ClientSession() as session:
    device = SaltSentryDevice("192.168.1.100", session)
    try:
        status = await device.get_status()
        print(status.unique_id)
        print(status.measurement_cm)  # None if the device reported an out-of-range measurement
        print(status.firmware_version)
        print(status.hardware_revision)
    except SaltSentryConnectionError:
        print("Could not connect to device")
    except SaltSentryInvalidDataError:
        print("Device did not return a unique_id")

License

MIT

Metadata

Release files for pysaltsentry 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysaltsentry 0.2.0
File Size Uploaded
pysaltsentry-0.2.0.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysaltsentry 0.2.0
File Interpreter ABI Platform
pysaltsentry-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.0 kB

Release files / pysaltsentry-0.2.0.tar.gz

Download URL pysaltsentry-0.2.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bbec6e443a627c9fd7a8cd07b607bbcbbd0d2e8ac7d7dcadfb628e1ec973b063
BLAKE2b-256 checksum
How to use checksums
a030cc6dae36135c602a414f4663b5f7431319f1cbe60f803cd2715e49278894
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release files / pysaltsentry-0.2.0-py3-none-any.whl

Download URL pysaltsentry-0.2.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79c34204bc13f5c0bb8a2046d3397012a5b5f6c318d8e3f5b356d38316bd6e14
BLAKE2b-256 checksum
How to use checksums
aff0c0fced45f93bfc7e4d8cde6f2bde0e4ac3713409955f068fe6c48636bf32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page