Smart Irrigation - save water by precisely watering your lawn/garden

How can i automate the lawn if i only what the valve run two times per week, 2 days apart.

And only if its not raining yesterday and it does not need to run next day.

hi @DkAutomater thatā€™s not how this component works (although you could use the ā€˜rainā€™ attribute). look at ā€˜netto precipitationā€™ and read the docs here: jeroenterheerdt/HAsmartirrigation: Smart Irrigation custom component for Home Assistant (github.com)

HI how should i run ā€œtryā€ whether automation works when dam start manually nothing it does automation i have github and changed switch but sprayers donā€™t go sensor.smart_irrigation_daily_adjusted_run_time is above 0

not sure what you mean - can you please explain a bit more?

I copied your automation ā€œExample automation 1: one valve, potentially daily irrigationIā€ rewrote the switch but when I click to start automation the sprayer does not work

have you read about how this component works? the sprinkler only starts when the bucket is < 0.

ā€œI understood bucketā€ I would like to ask, I have 14 sprinkles and they are divided to 3 zones. Smart irrigation calculated time: 5 minutes for all 14 sprinkles, is it okay? Because I have that 3 zones. Could you please give me an advice, what I have to do?

i would need example of automation for 2 or more zones

Are your zones exactly equal by number of sprinklers and lpm/gpm? What config did you put in? For all the zones or just one? Most people make an instance of this component per zone, so you get exact times per zone. Then you just execute each zone for that duration one after the other.

No, I donĀ“t have equal waterflow. So, I have to create for each zone the new integration?

yes, for each zone add an instance of this integration and configure it to match the area covered for each zone and sprinkler config.

Can I use the VEML6070 sensor as solar radiation sensor?
How would I need to convert it?

hey @chris-kuhr I am not sure about that one - you would need to figure out the unit of the sensor and convert it to W/m2

Congratulations on a great job, Iā€™ve been testing the custom components for about a month and I really like it. In the last few days, a doubt has arisen related to two rainy events that occurred two days apart.
Iā€™ll explain my current situation: on Tuesday it rained 37mm of rain and on Friday it rained almost 50 mm of rain, today, Saturday, the bucket is at the level of 70 mm. In this period a beautiful day without rainfall the bucket drops almost 5mm at day.
We come to my doubt, if it no longer rains I shouldnā€™t irrigate my lawn for 70/5 = 14 days (correct?) Which seems exaggerated to me (I live in Liguria, north-west Italy). It seems to me that the bucket does not have a system of ā€œlossā€ of efficiency that takes into account the loss of infiltration of the soil (I think it depends on the type of soil, sandy, clayey etc). Probably Iā€™m wrong, I tried to search in the tread but I could not find anything about it.
Thanks for everything

1 Like

Thanks for checking in. Not sure how you got from the bucket to 14 days of irrigation though. If your bucket is at 70mm then it will decrease over time as moisture is lost from the soil due to evaporation. That might take a while, and depends on temperature, sun intensity, wind speed and many other factors. So, just because you saw a loss of 5mm on a day doesnā€™t mean it does the same the next day. Then when the bucket is < 0 it will irrigate again to add that amount of moisture to the ground.

Hope this explains.

I arrived at forecast of 14 days without irrigation starting from the level of the bucket (70 mm), and from the max daily delta measured in these days of the basket (-5 mm) in warm e beatfull day. I took the worst (or best ā€¦) case, so if in the next 15 days it was always nice and hot I wouldnā€™t have to water. It seems to me too long a delay in this period of May, mine but I accept the challenge, weather permitting ā€¦ :cloud_with_lightning_and_rain:

1 Like

happy to make adjustments, if you look up the scientific paper on the fao method you can actually do the calculations yourself - chances are I made a mistake somewhere!

Iā€™m completely lost. Somehow the addon stopped working properly and I got no idea why.
All automations are there, hourly adjusted values work, but at 23:00 there is no update on irrigation time values.
How would I debug this?

image

image

Which HA version are you on? And did you check the logs for anything that can help us debug?

Hi,

I have the same issue as iz3man. I could find this error within the logs:

2021-05-18 23:00:00 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/smart_irrigation/sensor.py", line 137, in <lambda>
    lambda event: self._bucket_updated(  # pylint: disable=unnecessary-lambda
  File "/config/custom_components/smart_irrigation/sensor.py", line 301, in _bucket_updated
    self.update_adjusted_run_time_from_event()
  File "/config/custom_components/smart_irrigation/sensor.py", line 275, in update_adjusted_run_time_from_event
    sun_rise = datetime.datetime.strptime(sun_rise, "%Y-%m-%dT%H:%M:%S%z")
  File "/usr/local/lib/python3.8/_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/local/lib/python3.8/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '2021-05-19T03:26:15.743189+00:00' does not match format '%Y-%m-%dT%H:%M:%S%z'

Thanks, this was fixed in v0.0.67 so please update to the latest version and update your ha install as well.