pyrainbird
Rain Bird Controller
Decision gist · record as of 2026-08-14
Yes, if you own a compatible Rain Bird LNK1 or LNK2 controller and need local async control from Python. Active maintenance, no known vulnerabilities, and low install friction make it a solid choice. Verify your controller model against the Tier 1/2/3 support matrix first; Tier 3 devices carry higher compatibility risk. Requires Python 3.13+.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.13 or later; controller must be reachable on local network at a known IP address.
- Low friction install with 7 runtime dependencies.
- Active maintenance: last commit 2026-08-14, 39 days since latest release.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-07-06 (39 days) · last repo commit 2026-08-14 · 77 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,711 downloads/mo, #14,598 on PyPI
Alternatives
Verify before relying
import asyncio
import aiohttp
from pyrainbird import async_client
async def main():
async with aiohttp.ClientSession() as session:
controller = await async_client.create_controller(
session, "192.168.1.1", "password"
)
zones = await controller.get_available_stations()
states = await controller.get_zone_states()
asyncio.run(main())- Whether LNK1 plaintext HTTP communication is acceptable for your network security posture
- Compatibility with your specific Rain Bird controller model (see Tier 1/2/3 support matrix in docs)
What it is and what it does
pyrainbird is an async Python client for Rain Bird WiFi LNK irrigation controllers. It communicates directly with LNK1 (HTTP, port 80) and LNK2 (HTTPS, port 443) modules over local IP to query and control irrigation zones, retrieve controller settings, and manage active programs. The library handles the device password-based payload encryption and implements inter-request pacing (100ms default) and exponential backoff retry logic to work around hardware constraints in modern LNK2 modules that synchronize with Rain Bird's cloud every 5 minutes.
The package depends on aiohttp for async HTTP, pycryptodome for encryption, PyYAML and mashumaro for configuration parsing, python-dateutil for scheduling, ical for calendar handling, and aiohttp_retry for resilient requests. It supports a range of Rain Bird controllers with varying protocol families: Tier 1 (ESP-TM2, fully tested), Tier 2 (ESP-Me, RC2, ARC8, likely to work), and Tier 3 (ESP-RZXe, LXME2, TBOS-BT, untested with higher risk of compatibility issues).
Use it for
- Automate sprinkler schedules and manually trigger zones from a home automation platform or custom app.
- Monitor active irrigation zones and controller state in real-time for diagnostics or water usage tracking.
- Build a command-line tool or dashboard to query and control multiple Rain Bird controllers on a local network.
- Integrate irrigation control into a broader smart-home system that manages outdoor watering based on weather or soil sensors.
- Test and debug Rain Bird controller behavior by querying raw API responses and device state.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you own a compatible Rain Bird LNK1 or LNK2 controller and need local async control from Python.
Active maintenance, no known vulnerabilities, and low install friction make it a solid choice. Verify your controller model against the Tier 1/2/3 support matrix first; Tier 3 devices carry higher compatibility risk. Requires Python 3.13+.
Install
pyrainbird on PyPI
Before you install
Low friction install with 7 runtime dependencies. Active maintenance: last commit 2026-08-14, 39 days since latest release. Repository has 77 stars and is not archived.
Requires Python 3.13 or later; controller must be reachable on local network at a known IP address.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
import asyncio
import aiohttp
from pyrainbird import async_client
async def main():
async with aiohttp.ClientSession() as session:
controller = await async_client.create_controller(
session, "192.168.1.1", "password"
)
zones = await controller.get_available_stations()
states = await controller.get_zone_states()
asyncio.run(main())
Verify before relying
- Whether LNK1 plaintext HTTP communication is acceptable for your network security posture
- Compatibility with your specific Rain Bird controller model (see Tier 1/2/3 support matrix in docs)
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.13 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagespycryptodomePyYAMLmashumaropython-dateutilicalaiohttpaiohttp_retry |
| Maintenance | Actively maintained 39 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,711 / month, #14,598 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pyrainbird-6.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “rain bird irrigation control”
- pyrainbirdCommunicates with Rain Bird WiFi LNK irrigation controllers over…
- RachioPyRachioPy provides a Python interface to the Rachio smart irrigation…
- pydrawisePydrawise is an asynchronous Python library for controlling Hydrawise…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also pydrawise · RachioPy · pyworxcloud · gardena-bluetooth · python-izone · flux-led · airtouch4pyapi · zigpy-zigate · PyRIC · pylnk3