I'm building a new house, how should I implement HA?

Yes, my code looks at the weather forecast and will not water if:

  1. the actual rainfall in the last 24hrs is above my set limit
  2. the percentage chance of rain later today is above my set limit
  3. the amount of rain predicted to fall today is above my set limit.

I have those limits adjustable via input_numbers and also have an override function if I choose to ignore the rain forecast for whatever reason.

Here in Australia we are limited to which days of the week (and time of day) that we can water which is assigned to us based on our street number. So I can only water on those days if I choose, or cancel the watering all together if there is rain. During winter we aren’t allowed to water at all.

There is some code on this forum by Klogg which goes further to dynamically adjust the watering duration based on weather. Very technical and well done but I didn’t bother getting too carried away with mine

1 Like