# iobroker.rainbird

> rain bird

Latest version **2.1.2** (published 2026-06-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install iobroker.rainbird
pnpm add iobroker.rainbird
yarn add iobroker.rainbird
bun add iobroker.rainbird
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 2.1.2 |
| Published | 2026-06-04 |
| First published | 2020-01-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 22 |
| Dependencies | 2 |
| Unpacked size | 100.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 12 |
| Author | Marius Burkard |
| Maintainers | patrickwaltherh, dutchmannl, apollon77, meistertr, prinzeisenherz1, bluefox, nisiode, alcalzone, zefau, garfonso, forelleblau, buzzy1337, raintonr, pdbjjens, unclesamswiss, thiemoh, sven-s-ter, ruhr70, arteck, mcm1957, issi, foxriver76, pmant, dkleber89, simatec, matten-matten |
| Keywords | ioBroker, rain bird, Smart Home, home automation, irrigation |

## Links

- npm: https://www.npmjs.com/package/iobroker.rainbird
- Repository: https://github.com/iobroker-community-adapters/ioBroker.rainbird
- Issues: https://github.com/iobroker-community-adapters/ioBroker.rainbird/issues
- npm.io page: https://npm.io/package/iobroker.rainbird

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.88.0
- [@iobroker/adapter-core](https://npm.io/package/@iobroker/adapter-core.md) ^3.3.2

## Recent versions

- 2.1.2 (latest) — 2026-06-04
- 2.0.0-alpha.0 (next) — 2024-12-12
- 2.1.1 — 2026-05-10
- 2.0.2 — 2024-12-27
- 2.0.1 — 2024-12-15
- 2.0.0 — 2024-12-13
- 1.0.1 — 2024-06-06
- 1.0.0 — 2024-06-06
- 1.0.0-alpha.1 — 2024-06-06
- 1.0.0-alpha.0 — 2024-06-06
- 0.2.2 — 2020-04-14
- 0.2.1 — 2020-04-13
- 0.2.0 — 2020-04-11
- 0.1.2 — 2020-01-21
- 0.1.1 — 2020-01-16
- … 1 more at https://npm.io/package/iobroker.rainbird/versions

## README

![Logo](admin/rainbird.png)

![Number of Installations](http://iobroker.live/badges/rainbird-installed.svg) [![Downloads](https://img.shields.io/npm/dm/iobroker.rainbird.svg)](https://www.npmjs.com/package/iobroker.rainbird)

[![NPM](https://nodei.co/npm/iobroker.rainbird.png?downloads=true)](https://nodei.co/npm/iobroker.rainbird/)

![Stable](http://iobroker.live/badges/rainbird-stable.svg)
[![NPM version](https://img.shields.io/npm/v/iobroker.rainbird.svg)](https://www.npmjs.com/package/iobroker.rainbird)
[![Build Status](https://travis-ci.org/StrathCole/ioBroker.rainbird.svg?branch=master)](https://travis-ci.org/StrathCole/ioBroker.rainbird)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/StrathCole/iobroker.rainbird/blob/master/LICENSE)

# ioBroker.rainbird

An ioBroker adapter for Rain Bird with LNK WiFi adapter. This project has no affiliation with Rain Bird.

Based on the python library "pyrainbird" from https://github.com/jbarrancos/pyrainbird and completely ported to NodeJS. The adapter makes a direct connection to the device through WiFi connection and is not using the Rain Bird cloud service.


## States

`rainbird.X.device.commands.advanceZone` - When current program is running, advance to the next irrigation zone and stop the current one.  
`rainbird.X.device.commands.runProgram` - Run the specified program manually (1 to X) as previously configured in the device.  
`rainbird.X.device.commands.stopIrrigation` - Immediately stop the irrigation in all zones.  

`rainbird.X.device.irrigation.active` - The irrigation is currently active. If false this can mean that you set the switch on the device to "Stop".  
`rainbird.X.device.irrigation.station` - Number of the zone that is currently irrigated.  

`rainbird.X.device.sensors.rain` - True if a rain sensor is attached and rain is detected.  

`rainbird.X.device.settings.rainDelay` - The current irrigation delay (in days) set for the device.  
`rainbird.X.device.settings.seasonalAdjust` - The current seasonal adjust for the water budget.  

`rainbird.X.device.stations.Y.available` - True if zone Y is available in the device.  
`rainbird.X.device.stations.Y.irrigation` - True if zone Y is currently irrigated.  
`rainbird.X.device.stations.Y.remaining` - Remaining irrigation time in seconds
`rainbird.X.device.stations.Y.runZone` - Manually run irrigation on zone Y for the specified amount of minutes.  
`rainbird.X.device.stations.Y.testZone` - Test zone Y.  


## Credits

This adapter would not have been possible without the great work of Marius Burkard <m.burkard@pixcept.de>, who previous releases of this adapter.

## IQ4 Cloud devices

Because the LNK device has a limit of one connection simultaniously you need to disconnet it from the IQ4 cloud to respond properly. To accomplish that
you need a firewall which will drop for example the whole traffic to the Internet only for you LNK IP address. After that you can connect with this adapter
as expected.

## Changelog
<!--
	Placeholder for the next version (at the beginning of the line):
    ### **WORK IN PROGRESS**
-->
### 2.1.2 (2026-06-04)
- (mobster80) Fixed default protocol handling (default to http) if configuration setting is missing

### 2.1.1 (2026-05-10)
- (copilot) Adapter requires node.js >= 22 now
- (copilot) Adapter requires admin >= 7.7.22 now
- (copilot) Adapter requires js-controller >= 6.0.11 now
- (mobster80) Https support for Rainbird LNK added. Migrated LNK devices to IQ4 cloud, please see additional information in section "IQ4 Cloud devices".

### 2.0.2 (2024-12-27)
* (Feuersturm) @strathcole/iob-lib has been migrated to local repository (#27)
* (mcm1957) Dependencies have been updated

### 2.0.1 (2024-12-15)
* (Feuersturm) Some minor corrections to installations news and some internal changes at pacakging have been applied.

### 2.0.0 (2024-12-13)
* (Feuersturm) BREAKING: The password is stored encrypted now. Please reenter you password at configuration page. This is required only once after migration from release < 2.0.0 to release 2.0.0 or newer.
* (mcm1957) Adapter requires node.js 20 now
* (mcm1957) Adapter requires js-controller 5 and admin 6  now
* (Feuersturm) switch adapter config to jsonconfig
* (mcm1957) Dependencies have been updated

[Older changelogs can be found there](CHANGELOG_OLD.md)

## License

The MIT License (MIT)

Copyright (c) 2024-2026 iobroker-community-adapters <iobroker-community-adapters@gmx.de>  
Copyright (c) 2022 Marius Burkard m.burkard@pixcept.de

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

---
_Source: https://npm.io/package/iobroker.rainbird · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
