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)
| File | Size | Uploaded | |
|---|---|---|---|
| letpot-0.7.0.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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