Skip to content

Plugin weather based rain delay

Martin Pihrt edited this page Oct 13, 2026 · 1 revision

Weather-based Rain Delay

Sets OSPy rain delay from measured or Netatmo rainfall and configured weather thresholds.

At a glance

Item Value
Version 1.0.0
Category Irrigation and water management
Author Martin Pihrt, Vaclav Hrabe
License GPL-3.0
OSPy 3.0.211 or newer
Python 3.8 or newer
Permissions network, system
Hardware No dedicated hardware requirement declared
Dependencies None
Python/OS packages None
Interfaces No provider or mobile API declared
Source Open the plug-in directory

What it is for

Sets OSPy rain delay from measured or Netatmo rainfall and configured weather thresholds.

How it works and how to configure it

Updated version

Tested in Python 3+

Added NetAtmo support - read data from NetAtmo API of Rain module.

Used API of Philippe Larduinat. Not necessary to install it, is included in plug-in.

Added options:

  • Use NetAtmo: Used history data of rain level from Netatmo module, must be filled all rest field.

  • NetAtmo Client ID: Client ID after registration on NetAtmo.

  • NetAtmo Client Secret: Secret key for ID.

  • NetAtmo User Name: Username of NetAtmo portal.

  • Netatmo Password: Password of NetAtmo portal.

  • NetAtmo MAC: Mac address of NetAtmo Weather Station - Main module (Indoor).

  • NetAtmo Rain MAC: Mac address of Rain module, it is extracted from serial nr. Example (serial nr. k123456 05:00:00:12:34:56)

  • Delay apply to water level in mm In mm water level during history data from Netatmo Rain module

  • Delay apply based on history rain in hours How many history hours will be used for calculate rain water level

  • Check interval How often will be checked weather

  • Use Cleanup Delay If Delay will be removed when weather in nice

This plugin checked weather forecast. When weather-based rain delay is enabled, the weather will be checked for rain every hour. If the weather reports any condition suggesting rain, a rain delay is automatically issued using the below set delay duration.

The plug-in includes a manifest declaring weather/Netatmo network and rain-delay control access, uses the shared OSPy worker lifecycle, closes Netatmo HTTP responses, and reports data source, checks, active delay and errors through the Diagnostics health interface.

Plugin setup

  • Check Use Automatic Rain Delay: If checked use automatic rain delay plugin is enabled.

  • Delay Duration (hours): Type delay duration in hours (minimum is 0, maximum is 96 hours).

  • Status: Status window from the plugin.

In-app help and settings notes

The following notes are generated from the help page shipped with this plug-in. Field names are also explained directly in the OSPy settings page.

When weather-based rain delay is enabled, the weather will be checked for rain every hour. If the weather reports any condition suggesting rain, a rain delay is automatically issued using the below set delay duration

This plug-in is based on Philippe Larduinat (philippelt@users.sourceforge.net) - for NetAtmo.

For OSPy ported Václav Hrabě (Thank you).

Support

Check OSPy → Diagnostics first and remove passwords, tokens, private addresses and other secrets before sharing logs. Report reproducible plug-in problems in the OSPy-plugins issue tracker.

Back to the plug-in catalog

Clone this wiki locally