My Garden Irrigation

Hi @klogg, many thanks for your work.
Question: is it possible to run Manual schedule few times a day using HASS automation. Is there any way to trigger it?

Cycle 3 is triggered by:

input_boolean.irrigation_cycle3_running

1 Like

So I assume this should work:

automation:

  • alias: “Turn irrigation on”
    trigger:
    - platform: time
    at: “2:00:00”
    - platform: time
    at: “6:00:00”
    - platform: time
    at: “10:00:00”
    - platform: time
    at: “14:00:00”
    - platform: time
    at: “18:00:00”
    - platform: time
    at: “22:00:00”
    condition:
    - condition: state
    entity_id:
    - input_boolean.irrigation_cycle1_running
    - input_boolean.irrigation_cycle2_running
    - input_boolean.irrigation_cycle3_running
    state: ‘off’
    action:
    - service: input_boolean.turn_on
    entity_id: input_boolean.irrigation_cycle3_running

Yes I think so, It’s a long time since I looked at the code in any detail.

You can try it and see and also remember that you can use testing mode and also run it without actually turning on the valves.

image

Yep, above code worked.

Additional question: History totals. I just see 0s on all entries … even that I used it yesterday and today. Is there anything to be done to get it working?

Hi, i’ve seen update june 2023.
What’s the procedure to update my system?
I don’t know the version of my system… how can i check it?

In my interface pop-up doesn’t work! I’ve tried removing by hacs and form integrations with no results. Any ideas?

Hello, i have a little problem with the Irrigation System:

The Lovelace Dashboard shows an “Unknown Error” and “Reload UI” right after opening it. So far I haven’t been able to find a solution. The latest HA version is used (2023.7.3).

Does anyone knows an solution for this?

@klogg do you have plans to add moisture sensor maybe per zone to check it before running schedule?
Mostly same what you have done for “master valve” Wait For Entity.

Sorry but I have no plans at the moment.
If you raise an issue on GitHub at least it will visible to me if I decide to look at adding improvements.

To be honest at the moment I have much less time for HA than I used to and as the system works so reliably for me, does a lot more than I need it to do and I assume from the lack of chatter, works for anyone else who is using it, it is slow priority for me to make any changes.

Having said that, I would like to get around to a complete rewrite one day - this version is 2 or 3 years old now - but when that will be I really don’t know.

If there are feature requests logged, there is more chance (because I will remember!) that they will be included if/when that happens (or in the unlikely event that I find myself at a loose end and looking for something to do!).

Hello,

I have installed and configured the solution.
I have 4 zone that work in manual but not in automatic.
After some search i have found that the “sensor.irrigation_sensor_zone1_switch to sensor.irrigation_sensor_zone4_switch” does not exist in the system. I think that the problem is due to this mistake.
Could someone help me to solve it ?
Thanks.

1 Like
Hello,
@klog could you please help me to solve my problem regarding some sensor/switch that are not created by the package:
 - sensor.irrigation_sensor_zoneXX_switch
 - switch.garden_irrigation_relay_zoneXX
These sensors and switchs are not avalaibl on the system.
I have correctly configured the different zones (4 zones).
It work well in manual mode.
It work also in automatic mode when I disable 'Ignore schedules if it is raining'
The 'HISTORY TOTALS' is not refreshed

Thanks.
Regards.

Hello @klogg,
I finally manage to solve the problem of zone automatic start.
However it remain the the ‘HISTORY TOTALS’ statistics which remain at 0.
I try to understand and checked the irrigation_global_zones.yaml file.
In that file I find:

  #=================================
  #=== Zone History Sensors - TODAY
  #=================================
  - platform: history_stats
    name: irrigation_zone1_total_time_today
    entity_id: switch.garden_irrigation_relay_zone1
    state: 'on'
    type: time
    start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
    end: '{{ now() }}'

The history is managed by switch.garden_irrigation_relay_zone1. This switch does not exist and it is not created by the package (I have searched in the package files).

I don’t know if it is a package issue or if the problem is due to my installation.

Thanks for your help

i still have problem with pop-ups. No pop-ups at all. Any suggestions? ideas? @klogg ?
thanks

Hello All,

My Garden Irrigation system will send me notification on my iPhone when a cycle is done. The message is like “All the afternoon cycle watering is done”. However, I never receive any notification when the cycle is started. I look into the irrigation_notifications.yaml and suspect that the trigger.to_state.state == ‘on’ is never true.

Anyone got any idea?

Any help is greatly appreciated.

Thanks!

{% if trigger.to_state.state == ‘on’ %}
I thought you’d like to know that the {{ cycle_name }} has just started.
The total watering time should be about {{ (states(‘sensor.irrigation_’ ~ trogger.id ~ ‘_duration_in_seconds’) | int / 60) | int }} minutes but I’ll let you know when it has finished.
{% else %}
All the {{ cycle_name }} watering is done.
{% endif %}

Hi, @klogg I’m here with the same error reported by @MBA78 .but I add that only the test mode works!
IMPUT_bolean

Here you go and this still works for me after trial and error…

notification

1 Like

Hi all!
I have without icon my status bar

any idea?

This notification works for me but I am not receving who much time it will irrigate.
does it works that for you?

Thanks

Hello, ive set up the irrigation with switch name input_boolean.irrigatore_1 … but nothing gets trigered, is it because it’s a boolean and not a switch?
(works ok with other integrations)

Solution: this now works by using a template switch