Repository navigation
Plugin weather based rain delay
Sets OSPy rain delay from measured or Netatmo rainfall and configured weather thresholds.
| 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 |
Sets OSPy rain delay from measured or Netatmo rainfall and configured weather thresholds.
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.
-
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.
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).
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.
Start
Reference
Catalog sections