You say that you use expected precipitation but do you count/use entire rainfall from the whole day for a final calc of daily_adjusted_run_time ? or it is also based on expected precipitation only ? Thanks for joining in, let’s figure this out together. Also, of course use your common sense - does running each line 10 minute seem excessive to you and is 10 minutes in total (2 minutes per line) more what you normally would do? See readme for the details on the calculations. Because the calculation is based on the precipitation_rate which calculates how many mm of moisture the system adds per minute across the whole area (m2). ![]() If that is not possible, then for 10 minutes for each of the lines. ![]() So basically, if you have a total throughput of 150 l / minute for all zones (either by setting number_of_sprinklers=1 and flow=150 or number_of_sprinklers=5 and flow=30 or whatever as long as you end up with number_of_sprinklers*flow=150) and the system says it needs to irrigate for 10 minutes, you should see that as 10 minutes for the whole system - all lines at once. The calculations I do are for the whole system, all of the zones. I have just one zone, so never thought of this. I read it from the HA general settings, together with elevation and imperial/metric system.I am considering also adding in support for another sensor to provide the actual precipitation in case OWM is not specific enough. I use the expected precipitation from Open Weather Map.Should I set in automation 10 min for each sprinkler’s line or 10/5=2min per each line ? my systems have to irrigate one zone after another, never simultaneously. So now … let’s say that component will calculate that i should irrigate 10 min today. I measured real water consumption of each line and got average of 30 l / min per line, so in total it is 150 l / min if all lines would run simultaneously. Each line can be represented by one sprinkler in your component (that is fine). I do have 8 zones in my system (5 sprinkler’s based and 3 drip lines) I decided to skip drip lines (as i will set fixed time for them in my automation) and focused only on zones with sprinklers. More details, including formulas and links to scientific papers are on the GitHub: GitHub - jeroenterheerdt/HAsmartirrigation: Smart Irrigation custom component for Home Assistant.įAQ: If you want to go back and change your settings afterwards, you can either delete the instance and re-create it or edit the entity registry under config/.storage at your own risk.Ĭool idea and great work I will definitely make use of it …ĭo you use expected or actual/real precipitation ?įrom where do you get proper GPS cords for OpenWeather ? from location of HA set in HA UI or ? (btw: do you know by chance how to check where is located weather station used by OpenWeather for specific location ? just trying to figure out how precise and from how far from my location precipitation data are used ) Seconds: ''Īs you can see this is fairly straightforward. Here is a sample automation: - alias: Smart Irrigationĭescription: 'Start Smart Irrigation at 06:00 and run it only if the adjusted_run_time is >0 and run it for precisely that many seconds'Įntity_id: sensor.smart_irrigation_daily_adjusted_run_time Also, after any irrigation is done the automation is expected to notify the component irrigation was completed so the net value can be reset to 0. The component does all the calculations, but the user is expected to build the automation using the adjusted run time the component provides. The reason for this is I wanted to keep maximum flexibility in hardware choice and integration with other solutions. ![]() Note that the component does not control your irrigation. If the net value is lower (more moisture added through precipitation than has evaporated) irrigation is not required and the net value is carried over to the next day (to account for the situation of heavy rain followed by hot, dry days - you don’t need to water right away then). Then, if the moisture evaporated is higher than the precipitation (rain+snow) the component calculates the number of seconds the irrigation needs to run to bring the balance back to zero (no moisture lost). ![]() There is a lot to this, but the gist of it is: the component calculates evapotranspiration (evaporation) of moisture and compares it with any rain- and snowfall. It is available through HACS (Smart Irrigation) and here: GitHub - jeroenterheerdt/HAsmartirrigation: Smart Irrigation custom component for Home Assistant. I have built a custom component that builds on the work of others (specifically to precisely control my lawn/garden irrigation.
0 Comments
Leave a Reply. |