Skip to main content

python-letpot

Asynchronous Python client for interacting with LetPot hydroponic gardens and watering systems via the manufacturer's cloud. You can listen for status updates (push) and change device settings.

The following models should be supported, although only LPH-AIR is tested:

  • Hydroponic gardens
    • LPH-AIR
    • LPH-MAX
    • LPH-MINI
    • LPH-PRO
    • LPH-SE
  • Watering systems
    • DI-2/DI-3 (Automatic Watering System 2.0)

Example usage

import aiohttp
import asyncio

from letpot.client import LetPotClient
from letpot.deviceclient import LetPotDeviceClient


async def main():
    async with aiohttp.ClientSession() as session:
        client = LetPotClient(session)

        auth = await client.login("email@example.com", "password")
        # store auth for future use, and use in constructor

        devices = await client.get_devices()
        print(devices)

        device_client = LetPotDeviceClient(auth)
        device_serial = devices[0].serial_number
        await device_client.subscribe(device_serial, lambda status: print(status))
        await device_client.request_status_update(device_serial)
        
        # do work, and finally
        device_client.unsubscribe(device_serial)


asyncio.run(main())

Metadata

Release files for letpot 0.7.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 letpot 0.7.0
File Size Uploaded
letpot-0.7.0.tar.gz 12.0 kB Details

Built distribution (wheel)

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

Total release size: 26.1 kB

Release files / letpot-0.7.0.tar.gz

Download URL letpot-0.7.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6c042d3c249b3d8465cb5e35ae1df1744c45506e65cc8c5cd90a27d0bd5c3f08
BLAKE2b-256 checksum
How to use checksums
e7abab365821398b2664b23addfcae3bc84c4c6e0af4c0a538cdce7e0d99d563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 5, 2026.

Transparency log

Release files / letpot-0.7.0-py3-none-any.whl

Download URL letpot-0.7.0-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0137ec25ca4c365dd64d9e0ecded8141a81d4cf8cef47ea169a7adca6e822e0b
BLAKE2b-256 checksum
How to use checksums
5373592ea1fb076ff7315986c0ac4950002aaf1112048c3609e63be0d8c068ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.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