I’m a noob in in this world.I can’t help now…
Maybe i found where is the issue. Chectking the log there are some error , we need to update some things
Hi all
anynone moved to HA 2022.7.x (I’m trying 2022.7.7) and having issues with “My garden irrigation” lovelace?
I’m getting unknown error and my main lovelace (that includes also irrigation) does not show up
This is the error I get and finally I found that excluding the “My garden irrigation” lovelace all is working again.
It looks like something is returning a list
as the name instead of a string.
It was all working fine until 2022.6.7
@klogg what can I check?
Thanks
I’m on 2022.7.5 and am not having any issues.
I am sorry but I am not able to give HA any time right now, I’m not sure if I will even have time in the next few weeks to move to 2022.8
(EDIT: I just realised 2022.8 isn’t released at the time of writing!!)
I will definitely check it out when I can though.
Sorry…
Hi @klogg
I found some kind of similar error and in that case the issue was a special character (&) used in a Title, while that particular character is a special one for YAML.
So maybe there is something that, starting from 2022.7.x, is seen as an error.
Which lovelace files from this project I can check to see if there is something like this?
All my others lovelace (main and specific ones) are working fin, so since I had the irrigation system as a tab of my main dashboard, I decided to move as a separate one, otherwise I get the “unknown error” in the main dashboard.
Thanks
I’m on 2022.8.1 and all is working correctly.
I have found the solution. If you update HA to the latest version, you need to update the configuration file with mqtt entities as well, I leave you my file as an example.
# Loads default set of integrations. Do not remove.
default_config:
scene:
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
homeassistant:
packages: !include_dir_named packages
browser_mod:
sensor: !include sensors.yaml
lovelace_gen:
lovelace:
mode: storage
dashboards:
lovelace-irrigazione:
mode: yaml
title: Irrigazione
icon: mdi:flower
show_in_sidebar: true
filename: irrigazione.yaml
switch:
#irrigazione giardino-siepi
mqtt:
switch:
state_topic: "stat/garden/POWER1"
command_topic: "cmnd/garden/POWER1"
name: "siepe"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: false
#irrigazione giardino finestre
mqtt:
switch:
state_topic: "stat/garden/POWER2"
command_topic: "cmnd/garden/POWER2"
name: "finestre"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: false
#irrigazione cipressi
mqtt:
switch:
state_topic: "stat/garden/POWER3"
command_topic: "cmnd/garden/POWER3"
name: "cipressi_piante"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: false
# #irrigazione gazebo piante
mqtt:
switch:
state_topic: "stat/garden/POWER4"
command_topic: "cmnd/garden/POWER4"
name: "gazebo"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: false
Hi All.
I was looking for a simple solution from HiHome:
Hihome Zigbee Smart Watercontoler
Sounds like a great device but I cannot find any info about integration in Home Assistant.
Anyone knows more about this?
Thanks
Hi to all,
i’ve installed this wondefull add-on and it worlks as it should.
Only three questions:
First::
Can anyone explain me better what’s meaning this setting?
How have you set it?
Second:
Why yesterday rain has unknown text?
I’ve set my recorder to keep 4 days, so it should keep all data in memory.
Third:
Should i create two input text files?
An example please?
I’ve edit irrigation_notification.yaml like this:
#===================
#=== Input Booleans
#===================
input_boolean:
irrigation_notify_user1:
name: Notify Alessandro of events
icon: mdi:message-text-outline
irrigation_notify_user2:
name: Notify Letizia of events
icon: mdi:message-text-outline
#================
#=== Automations
#================
automation:
#===================================================
#=== Notify about irrigation events
#===================================================
- alias: Irrigation Notify About Irrigation Events User1
trigger:
- platform: state
entity_id:
- input_boolean.irrigation_cycle1_running
- input_boolean.irrigation_cycle2_running
condition:
- condition: state
entity_id: input_boolean.irrigation_notify_user1
state: 'on'
action:
- service: notify.telegram_alessandro
data_template:
target: !secret chat_id
title: '*IRRIGATION SYSTEM*'
message: >
{% if trigger.entity_id == 'input_boolean.irrigation_cycle1_running' %}
{% set cycle = 'cycle1' %}
{% else %}
{% set cycle = 'cycle2' %}
{% endif %}
{% set cycle_name = states('input_text.irrigation_' ~ cycle ~ '_name') %}
{% if trigger.to_state.state == 'on' %}
{% set ns = namespace(total_time = 0) %}
{% for zone in states.input_number if zone.entity_id.startswith('input_number.irrigation_' ~ cycle ~ '_zone') and
zone.entity_id.endswith('_duration') %}
{% if is_state('input_boolean.irrigation_' ~ cycle ~ '_zone' ~ loop.index ~ '_skip', 'off') %}
{# Adjust for rainfall #}
{% if is_state('input_boolean.irrigation_' ~ cycle ~ '_adjust_for_rainfall', 'on') %}
{% set ns.total_time = ns.total_time * states('input_number.irrigation_rainfall_multiplier') | float %}
{% elif is_state('input_boolean.irrigation_' ~ cycle ~ '_adjust_for_temperature', 'on') %}
{% set ns.total_time = ns.total_time * states('input_number.irrigation_temp_multiplier') | float %}
{% else %}
{% set ns.total_time = ns.total_time + states(zone.entity_id) | float %}
{% endif %}
{% endif %}
{% endfor %}
I thought you'd like to know that the {{ cycle_name }} cycle has just started.
The total watering time should be about {{ (ns.total_time * 60) | timestamp_custom('%H:%M', false) }} but I'll let you know when it has finished.
{% else %}
All the {{ cycle_name }} cycle watering is done.
{% endif %}
#===================================================
#=== Notify about irrigation events
#===================================================
- alias: Irrigation Notify About Irrigation Events User2
trigger:
- platform: state
entity_id:
- input_boolean.irrigation_cycle1_running
- input_boolean.irrigation_cycle2_running
condition:
- condition: state
entity_id: input_boolean.irrigation_notify_user2
state: 'on'
action:
- service: notify.telegram_alessandro
data_template:
target: !secret chat_id
title: '*IRRIGATION SYSTEM*'
message: >
{% if trigger.entity_id == 'input_boolean.irrigation_cycle1_running' %}
{% set cycle = 'cycle1' %}
{% else %}
{% set cycle = 'cycle2' %}
{% endif %}
{% set cycle_name = states('input_text.irrigation_' ~ cycle ~ '_name') %}
{% if trigger.to_state.state == 'on' %}
{% set ns = namespace(total_time = 0) %}
{% for zone in states.input_number if zone.entity_id.startswith('input_number.irrigation_' ~ cycle ~ '_zone') and
zone.entity_id.endswith('_duration') %}
{% if is_state('input_boolean.irrigation_' ~ cycle ~ '_zone' ~ loop.index ~ '_skip', 'off') %}
{# Adjust for rainfall #}
{% if is_state('input_boolean.irrigation_' ~ cycle ~ '_adjust_for_rainfall', 'on') %}
{% set ns.total_time = ns.total_time * states('input_number.irrigation_rainfall_multiplier') | float %}
{% elif is_state('input_boolean.irrigation_' ~ cycle ~ '_adjust_for_temperature', 'on') %}
{% set ns.total_time = ns.total_time * states('input_number.irrigation_temp_multiplier') | float %}
{% else %}
{% set ns.total_time = ns.total_time + states(zone.entity_id) | float %}
{% endif %}
{% endif %}
{% endfor %}
I thought you'd like to know that the {{ cycle_name }} cycle has just started.
The total watering time should be about {{ (ns.total_time * 60) | timestamp_custom('%H:%M', false) }} but I'll let you know when it has finished.
{% else %}
All the {{ cycle_name }} cycle watering is done.
{% endif %}
but without success.
Thank you so much.
Regards,
Alessandro
Hi @alessandro.bardi, i’ìm not the creator of this project, so i’m going to answer your question from what i’ve understood using My garden irrigation.
- when you use rainfall and temperature adjustment, if you look at the calculation done by the software, it can run a zone from a minimum to a maximum amount of time you set. e.g. if it’s rained a lot, and the garden doesn’ need water, it gives a cycle of 3 second to every zone.
- i have your same problem, don’t know how make it work.
- yes, you have to setup one or two input_text helpers called notifications_user1_name
your irrigation notification automation should work when you setup two input_text helpers.
fabrizio
PLEASE READ THIS
I’ve just seen the new version (2) of browser_mod
.
The Garden Irrigation package makes extensive use of browser_mod
and I have no doubt at all that if you choose to upgrade browser_mod
it WILL break the Garden Irrigation.
I will not be able to upgrade my browser_mod
for AT LEAST two weeks and then I will need some time to make all the necessary changes to the package (and I think it will be a lot!) but when I do, I will post a new set of files.
You have been warned
Thanks for reply @shakin89
Unfortunately i’ve an issue with schedule.
If i run in manual mode all work as it should. If i run in automatic mode (with schedule) it doesn’t work.
This is my actual configuration:
What’s wrong?
I’ll wait to install browser_mod v.2 …too problems for me
Thanks in advance,
Alessandro
Thanks for the warning.
Hi,
i’m here again.
Is there anyone help me with Garden irrigation add-on?
Because it works in manual mode but not in automatic mode.
Which could it be the issue?
Time sensor is configured:
Like sun sensor:
input_text users not configured but i don’t know how:
Thanks again,
Alessandro
Uh yes, i can confirm this. With Browser Mod 2 no popup is working anymore in the irrigation system and I think you can not revert back. I´m looking forward for a fix and thanks for your great work!
I didnt see this warning and updated to browser mod v2. You can not revert back from hacs but you can do it manually.
Delete <your config dir>/custom_components/browser_mod/
folder from Home Assistant
Download this file https://github.com/thomasloven/hass-browser_mod/archive/refs/tags/1.5.3.zip
copy the contents of custom_components/browser_mod/
from the downloaded zip to <your config dir>/custom_components/browser_mod/
.
restart home assistant, you may may need to clear you browser cache to get it to work again.
Oh, that did the trick. My plants and me are thanking you!
https://github.com/kloggy/HA-Irrigation-Version2/files/9545895/lovelace.zip
I have changes all the files I believe are required to make this compatible with browser mod v2.
you need to copy the files from the zip into <your config dir>/lovelace/
folder and overwrite the existing files.
Then restart
Let me know if you find anything still not working.
P.S make sure to clear browser cache
Edit:
browser mod v1 to v2
works perfectly! it even has removed some errors i got^^
good to hear.