Skip to main content

python-pooldose

PyPI version Python License: MIT Pylint Mypy Tests

Unofficial async Python client for SEKO Pooldosing systems. SEKO is a manufacturer of various monitoring and control devices for pools and spas. Some devices from VÁGNER POOL and BWT are compatible as well.

This client uses an undocumented local HTTP API. It provides live readings for pool sensors such as temperature, pH, ORP/Redox, as well as status information and control over the dosing logic.

Disclaimer: Use at your own risk. No liability for damages or malfunctions.

Features

  • Async/await support for non-blocking operations
  • Dynamic sensor discovery based on device model and firmware
  • Dictionary-style access to instant values
  • Structured data API with type-based organization
  • Device analyzer for discovering unsupported device capabilities
  • PEP-561 compliant with full type hints for Home Assistant integrations
  • Command-line interface for direct device interaction and testing
  • Secure by default - WiFi passwords excluded unless explicitly requested
  • Comprehensive error handling with detailed logging
  • Cloud connection status
  • WiFi RSSI signal

Each method queries the device live and returns the current value.

  • SSL/HTTPS support for secure communication

Prerequisites

  1. Install and set-up the PoolDose devices according to the user manual.
    1. In particular, connect the device to your WiFi network.
    2. Identify the IP address or hostname of the device.
  2. Browse to the IP address or hostname (default port: 80).
    1. Try to log in to the web interface with the default password (0000).
    2. Check availability of data in the web interface.
  3. Optionally: Block the device from internet access to ensure cloudless-only operation.

Installation

(i) Release Version (PyPI)

Install the latest stable release from PyPI:

pip install python-pooldose

(ii) Development Version (GitHub)

Install the latest development state directly from the main branch:

pip install "git+https://github.com/lmaertin/python-pooldose.git@main"

If you want to work on the code locally (editable install):

git clone https://github.com/lmaertin/python-pooldose.git
cd python-pooldose
pip install -e .

macOS/Linux Quick Installer

For convenience, the repository also provides a bootstrap script that downloads the latest source archive from GitHub, installs it into a local virtual environment, and creates a launcher on the Desktop.

curl -fsSLO https://raw.githubusercontent.com/lmaertin/python-pooldose/main/install-unix.sh
bash install-unix.sh

The installer creates:

  • macOS: ~/Library/Application Support/python-pooldose and ~/Desktop/PoolDose.command
  • Linux: ~/.local/share/python-pooldose and ~/Desktop/PoolDose.sh

Network access hint:

  • macOS: If prompted, allow Local Network access for Terminal/iTerm/Python.
  • Linux: If a firewall is enabled, allow local network access for Terminal/Python.

Run the same installer again later to update to the latest source from GitHub. The generated launcher can also forward normal CLI arguments:

~/Desktop/PoolDose.command --host 192.168.1.100
~/Desktop/PoolDose.command --help

On Linux, use ~/Desktop/PoolDose.sh instead of ~/Desktop/PoolDose.command.

Windows Quick Installer

Use the PowerShell installer to download and install the latest source into a local virtual environment and create a Desktop launcher.

Invoke-WebRequest https://raw.githubusercontent.com/lmaertin/python-pooldose/main/install-windows.ps1 -OutFile install-windows.ps1
powershell -ExecutionPolicy Bypass -File .\install-windows.ps1

The installer creates:

  • %LOCALAPPDATA%\python-pooldose for source and virtual environment
  • %USERPROFILE%\Desktop\PoolDose.cmd as a launcher

If Python is not installed yet, the script stops and shows instructions to install Python first (python.org installer or winget).

Network access hint:

  • If Windows Firewall prompts for Python/Terminal network access, click Allow.

Quick Start

import asyncio
from pooldose.client import PooldoseClient
from pooldose.request_status import RequestStatus

async def main():
    client = PooldoseClient(host="192.168.1.100")
    status = await client.connect()
    if status != RequestStatus.SUCCESS:
        print(f"Connection failed: {status}")
        return

    # Dictionary-style access
    status, values = await client.instant_values()
    if status == RequestStatus.SUCCESS and values:
        print(f"Temperature: {values['temperature']}")
        print(f"pH: {values.get('ph', 'N/A')}")

    # Structured data (grouped by type)
    status, data = await client.instant_values_structured()
    if status == RequestStatus.SUCCESS:
        for sensor, info in data.get("sensor", {}).items():
            print(f"{sensor}: {info['value']} {info.get('unit', '')}")

asyncio.run(main())

Command Line Usage

# Connect to device
pooldose --host 192.168.1.100

# With HTTPS
pooldose --host 192.168.1.100 --ssl

# Analyze device capabilities
pooldose --host 192.168.1.100 --analyze

# Mock mode (testing without hardware)
pooldose --mock path/to/data.json

# Show help / version
pooldose --help
pooldose --version

See docs/cli.md for full CLI documentation and device analysis details.

Supported Devices

Device PRODUCT_CODE FW Code Notes
SEKO PoolDose Double PDPR1H1HAW100 539187
SEKO PoolDose Double Spa PDPR1H04AW100 539292
SEKO POOLDOSE pH+ORP CF Group Wi-Fi PDPR1H1HAW102 539187 Alias for PDPR1H1HAW100 mapping
SEKO PoolDose pH PDPH1H1HAW100 539176 pH-only device
SEKO PoolDose ORP PDRX1H1HAW100 539176 Alias for PDPH1H1HAW100 mapping (ORP-only entity set)
BWT MEDO CONNECT Wi-Fi PDPH1H1HAW1B0 539494 Based on SEKO PoolDose pH mapping
BWT Manager Connect Duo PDPR1H1HAW1B0_I 539472 Uses PDPR1H1HAW1B0 data-key mapping
VÁGNER POOL VA DOS BASIC PDHC1H1HAR1V0 539224
VÁGNER POOL VA DOS EXACT PDHC1H1HAR1V1 539224 Own dedicated mapping (incl. chlorine); raw data keys use PDPR1H1HAR1V0 prefix
KEMI DOSE AQUAVIVA pH-ORP KDPR5050AWH00 539191 pH/ORP device (no chlorine); untested
KEMI DOSE AQUAVIVA pH-ORP-CL KDHC5050AWH01 539191 pH/ORP/chlorine device; resolves to KDPR5050AWH00 data-key mapping

Other models may work but are untested. See docs/device-support.md for how to request support for new devices.

Documentation

Topic Description
API Reference Constructor, methods, properties, data formats
CLI & Device Analysis Command line usage and device analyzer
Examples Basic and advanced usage examples
Mock Client Testing without hardware using JSON files
SSL/HTTPS SSL configuration and migration guide
Security Data classification and sensitive data handling
Type Hints & HA PEP-561 compliance and Home Assistant integration

Changelog

For detailed release notes and version history, please see CHANGELOG.md.

Release files for python-pooldose 0.9.14

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

Source distribution (sdist)

Source distribution for python-pooldose 0.9.14
File Size Uploaded
python_pooldose-0.9.14.tar.gz 62.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-pooldose 0.9.14
File Interpreter ABI Platform
python_pooldose-0.9.14-py3-none-any.whl Python 3 none any Details

Total release size: 110.4 kB

Release files / python_pooldose-0.9.14.tar.gz

Download URL python_pooldose-0.9.14.tar.gz
Size 62.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dd35718063bc34a989aa1a6d4f3152654b718490af8e6f7deb1ef9793afbeb1e
BLAKE2b-256 checksum
How to use checksums
88380b126aa7eeab286926495e1d78df369f6f5a0932f1680aa62d7473f8d94f
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 Sep 18, 2026.

Transparency log

Release files / python_pooldose-0.9.14-py3-none-any.whl

Download URL python_pooldose-0.9.14-py3-none-any.whl
Size 48.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ca94ea3af0810e2c89d16b8db99bbe4d37b079f0a91d7d36e5cba12cc3cb569
BLAKE2b-256 checksum
How to use checksums
787ca90747c14e066aa03f84ae7780e2c7d33809d6c90ba0a854f67dc9838969
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 Sep 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.15

2 release files

This release

0.9.14 This release

2 release files

0.9.13

2 release files

0.9.12

2 release files

0.9.11

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.6

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.9

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.0

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

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