Hello Jan,
I guess the positioning issue could be related to this comment from @ysc .
However I’m not sure how to solve it.
I implemented the “rain automatic” feature in my watering system last year in OH2.5 using old DSL rules.
I use the data from Netatmo for old/current rain and OpenWheather Binding for forecasts.
With this I calculated whether I can decrease the water in case of less rain, or skip the watering at all.
I set a watering interval (e.g. every 5 days) and rain threshold (e.g. 10mm).
At the scheduled watering time I checked the rain in the past 24hrs, 3days, days set as interval. In case the total volume of rain was exceeded the threshold, then I rescheduled the watering by 1 day.
The next day I did the same check, and so on. Once the rain volume was lower than threshold, I start watering, if no rain was forecasted. (taken the amount to forecasted rain into account).
This worked very well in OH2.5, but now I need to migrate this to OH 3.0 - but now using Phyton script.