My Garden Irrigation

Do you mean this?

image

image

Damn, damn, daaaaamn!!! What the…
Sorry @klogg
Thanks a lot for the reply!

1 Like

for some reason notifications of end of cycle don’t have the updated next cycle info (sensor.irrigation_next_run) but the sensor.irrigation_next_run value of the currently ended watering cycle.
am I the only one?

l

last line in the second message should mention “Morning cycle”

EDIT: just realized i had edited /config/packages/garden_irrigation/irrigation_notifications.yaml so this is a prob on my end. :laughing:

@klogg turns out there is a typo in the latest garden_irrigation/irrigation_logging.yaml that was messing up my above notifications:

need to change every

irrigation_cycle' ~ cycle ~ '_name

to

irrigation_' ~ cycle ~ '_name
1 Like

My history totals are always 0 both for today and yesterday.
I’ve tried looking for a solution here, but…I couldn’t.
How can I troubleshoot this?

Look here My Garden Irrigation - #1800 by Nimloth

Hi, everytime i switch inside “irrigation panel” i get this button js errors.
It happens with tablet, with pc and with smartphone…
To get it work i need to refresh the browser page…
Any suggest? Someone else with same “problem”?

Also i see that the “irrigation panel” is slow to load… Probably too much custom cards etc?

My suggestion for a “v3 version”:

  • remove font selection (it is not strictly necessary)
  • add a possible language.json file to localize the panel
  • HACS to stay updated

@brook thanks for pointing me here.
I’ve checked and every entity has it’s own switch name in it.
For example irrigation_zone1_switch_entity_id has the value switch.dietro_voliera which is the correct switch.
Do you mean that I should replace irrigation_zone1_switch_entity_id with switch.dietro_voliera? I’ve tried but the UI didn’t load at all.
Thanks again for your support!

search “Zone History Sensor TODAY” section in irrigation_global_zones.yaml

  #=================================
  #=== 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() }}"

replace the entity_id with the name of your switch

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

Do this for every switch you are using.
Then do the same for the “Zone History Sensors - YESTERDAY” section.
Reboot and it will update the history zone after the next cycles

look here My Garden Irrigation - #1735 by klogg

1 Like

Unless I’m mistaken you seem to be using the irrigation_logging.yaml for notifications rather than irrigation_notifications.yaml

For some reason I seem to have coded these two functions slightly differently and yes if you are doing as I suspect then your change is needed.

Both work for me as is

Hello,
I’ve a problem again with this custom component I’ve used for years.
Even updating HA and the component to latest (HA 2024.07.02 and git clone fresh rom github the irrigation), it doesn’t work in scheduled mode.
I’ve disabled every feature (rain and temperature), tried test on or off, but, as soon i set a start time, it’s shown as NEXT RUN with correct time, but as soon the time comes, it switches to no schedule immediatly without starting anything.
Manual run works fine.
How can i debug? I even tried to enable logging, but the log is not written.
Ideas @klogg ?
Thanks!
Simon

1 Like

I have the same issue, but when i change the start time manually then works. Why?

Hi All,
I am having an issue getting cycle2 to run when I have it set to wait on entity. I have cycle 1 set to start via a sunrise offset, I want cycle 2 to start immediately after cycle 1 ends. I have cycle 2 set for an offset that calculates to be just before cycle 1 will end and for it to wait on “input_boolean.irrigation_cycle1_running” to be “off”, but cycle 2 never runs. Any help would be appreciated or any examples of a working schedule set to wait on an entity.

Good morning everyone,
I have a simple question, I would be grateful if anyone could answer me. Since I tried to install HA Irrigation and had many problems with the “!include” function, I prepared on a version of Ubuntu 22.04 LTS on which I installed HA core 2022 5.4 with Python 3.8.1 and subsequently Python 3.9.5 without obtaining the possibility as packets are missing during the relevance check. Could you give me a list of the software and versions needed to correctly install the irrigation system on Ubuntu? Thanks to anyone who wanted to answer me

Hi,
well the packets needed for irrigation is not system packet (those installed with apt).
What you nedd is an updated version of HA, preferrably HAOS or HA supervised with docker (there is an installation script that will set things up for you). I don’t understand why you’re going to use a version which is 2 years old.

When you have installed HA then you need to install HACS and then from there you will install all the needed packets mentioned in the docs.

Take in account you’re going to install a system a little bit old.
You can make the same things with an esp32 and the sprinkler controller.
Don’t know what’s your knowledge of HA, but meanwhile My garden irrigation is a wonderful product, it’s not so mantained and some pieces should be rewritten.

Hi,
Thank you very much, you were very kind in replying, I chose a version that is now 2 years old due to the fact that I read about this (fantastic) irrigation system from this site where it contains a guide and refers to an installation in 2022. I tried to integrate Irrigation V2 into my HA system which is as shown in the photo but when I compile it gives me many errors on the use of the “!include” function so after a lot of wasted time I tried using the guide in the link below but also using this one obsolete version nothing to do. Now I will try again from scratch starting from your suggestions.
Tks
Sorry for my English but I’m Italian…

My actual Version: Home Assistant Core Version 2024.9.0

Home Assistant Operating System Version 13.1

Link : https://lamiacasaelettrica.com/irrigazione-home-assistant/?doing_wp_cron=1714632282.5898211002349853515625#Irrigazione_Smart_su_Home_Assistant_con_HA_Irrigation_Version2

Don’t worry, i’m italian too.
The installation process is a trial error process.
I’ve got it working and i’m keeping it active, but i’m in the process of changing it because it’s not so responsive on the mobile, and even on the browser.
It requires a lot of additional components from hacs.
I had followed this guide to make it work
https://www.domoticadiy.it/2020/06/irrigazione-smart-my-garden-irrigation-home-assistant/

Are you working with an esp controller? or another system?

Start by installing all the required components, then go with the rest.

Hi shakin89,

Thanks for your support, I’m following your advice and starting from zero, this is the version of Home Assistant
Core 2024.11.3
Supervisor 2024.11.4
Operating System 13.2
Frontend 20241106.2.

I installed HACS and downloaded the required packages, the problem I have now is that I find myself with a graphic that you see in the attachment and which does not correspond to that of the project, despite having configured and installed Lovelace-gen as per the manual. I just don’t understand where I’m wrong. furthermore, if I go to open different files I’ll end up in the Lovelace folder. E.g. /homeassistant/lovelace/view_garden_irrigation.yaml
Many syntax errors are encountered with the !include function.
In the first post you told me that there is a script that should configure everything, but I didn’t understand what this script is.
If you have any advice for me I would appreciate it very much.
Sorry for the inconvenience

[image]

final