Repository navigation
Plugin weather based water level netatmo
Adjusts OSPy water level using rainfall history from a configured Netatmo rain module.
| 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 |
Adjusts OSPy water level using rainfall history from a configured Netatmo rain module.
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)
Added Daily water level - in default plug-in was defined 4 - You can customize water level need by you. In status line is added history data of rain from both websites and forecast.
When weather-based water level is enabled, the weather will be checked every hour and the water level will be adjusted accordingly.
The plug-in includes a manifest declaring OSPy weather, Netatmo-network and irrigation-adjustment access, uses the shared OSPy worker lifecycle, closes Netatmo HTTP responses, removes its callback and adjustment during shutdown, and reports calculations without exposing credentials through the Diagnostics health interface.
-
Check Use Automatic Water Level Adjustment: If checked use automatic water level adjustment plugin is enabled.
-
Min percentage: Type min percentage (minimum is 0, maximum is 100).
-
Max percentage: Type max percentage (minimum is 0, maximum is 1000).
-
History days used: Type history days (minimum is 0, maximum is 20).
-
Forecast days used: Type forecast days (minimum is 0, maximum is 7).
-
Status: Status window from the plugin.
note: if you set the minimum percent to 0%, the time switch stations set to 0. In the preview program on the main page, then it looks like the program is not working.
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 water level is enabled, the weather will be checked every hour and the water level will be adjusted accordingly
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