Skip to main content

Async client for Poolex Silverline / Tuya v3.3, v3.4 and v3.5 pool heat pumps.

Project description

pysilverline

Async client for Poolex Silverline / Tuya v3.3 pool heat pumps. Speaks the local Tuya protocol (TCP/6668, AES-128-ECB) directly — no cloud, no Smart Life account at runtime.

This package is the I/O layer underneath the poolex_silverline Home Assistant integration but works standalone too.

Install

pip install pysilverline

Use

import asyncio
from pysilverline import SilverlineClient

async def main():
    client = SilverlineClient(
        host="10.0.0.50",
        device_id="bf1234567890abcdefghij",
        local_key="0123456789abcdef",
    )
    await client.connect()
    state = await client.get_status()
    print(state)
    await client.set_dp(2, 28)        # set target temp to 28 °C
    await client.set_dp(4, "BoostHeat")
    await client.disconnect()

asyncio.run(main())

Listen for spontaneous push updates from the device:

def on_update(state):
    print("push:", state.mode, state.temp_current)

unsub = client.add_listener(on_update)
# ... later
unsub()

Compatible devices

The Tuya schema is shared across the Poolex Silverline FI family and several OEM siblings: Poolex JetLine Selection FI, Steinbach Silent Mini, Brustec BR series, Phalén Calidi XP. DPs 1, 2, 3, 4, 13 are confirmed across the family; DPs 101–111 are firmware-dependent.

License

MIT

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

pysilverline-0.4.5.tar.gz (65.3 kB view details)

Uploaded Source

Built Distribution

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

pysilverline-0.4.5-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file pysilverline-0.4.5.tar.gz.

File metadata

  • Download URL: pysilverline-0.4.5.tar.gz
  • Upload date:
  • Size: 65.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pysilverline-0.4.5.tar.gz
Algorithm Hash digest
SHA256 4414d6867624f2402aa3c71919bd9f504f3dc48ffdae02761a4a09c87c0eafd1
MD5 6e1527ea559a6eec8cd92f3919a16205
BLAKE2b-256 cfa8ee97600c2be9fe8c0df798a61f5e1ffbe7536ccb846a20b16082ea3bd246

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysilverline-0.4.5.tar.gz:

Publisher: pysilverline-pypi.yaml on christianreiss/ha-silverline

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

File details

Details for the file pysilverline-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: pysilverline-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pysilverline-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 595d48e79ff60d45a7e97bf94daf3e92f61a9e968f1fe476a8ea8b87be89e46e
MD5 dc2639000716ff861818e625aa8500d9
BLAKE2b-256 d9a200af7f7d3c136c3bdbc824702c94e033de9143f2e2632649fb1e7e4737e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysilverline-0.4.5-py3-none-any.whl:

Publisher: pysilverline-pypi.yaml on christianreiss/ha-silverline

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