My Garden Irrigation

I made a template switch for the Irrigation System to start the pump and watering and also check if the soil is dry enough (with my miflora sensor). If there would be a implementaion for a humidity sensor I would love it :grinning: The rest is running perfectly on a new installation (only running temperatur settings). Thanks klogg!

for example:

switch:
  - platform: template
    switches:
      bewaesserung_oben_sensor:
        friendly_name: 'Bewässerung Oben mit Sensor'
        value_template: "{{ is_state('switch.relais4k_1', 'on') }}"
        turn_on:
          service: switch.turn_on
          data_template:
            entity_id: >
              {% if states('sensor.flora3_moisture') | float < 15 %}
                switch.relais4k_1, switch.relais4k_3
              {% else %}
                switch.null
              {% endif %}
        turn_off:
          service: switch.turn_off
          data:
            entity_id: switch.relais4k_1, switch.relais4k_3
1 Like

I take it you only have 1 solenoid valve to open in addition to the pump?
I guess I can modify this for my 4 zones?

I got all problems solved so far, all sensors integrated… It runs fine on manual cycle but the schedules wont run… Any ideas where to look?

Hi everyone,
@klogg congratulations for the excellent work.
I’ve just one problem.


Any idea how i can solve it? This error appears after each session.
For now i excluded the “Controller WiFi Signal” card from section_settings_general.

Thanks

Regards

Hello,

Has anyone got running with esphome on a sonoff 4ch pro r3?

Thanks

1 Like

have you already looked here?

Hi @shakin89 ,
Thanks for your answer.
Unfortunatelly i don’t have those in my section_settings_temperature.yaml file.
No custom:mini-graph-card and sensor.dark_sky

I don’t know why schedules do not work… i deleted all files and reinstalled everything new twice but always the same error… only manual run works

When the schedule starts nothing happens… getting warm here and i need this to work, please help

if i rember correctly you should restart Ha twice to make everything work. Have you already tried?

Restarted x times… more than 20 times

Hello, I downloaded the whole package this morning and after uploading it I found myself with a bunch of errors:

ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'var statestr = (entity === undefined || entity.state === undefined) ? 'undefined' : entity.state; ...'

===============================================

ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'var zone = 'zone9'; return states['input_text.irrigation_' + zone + '_name'].state + '&nbsp-&nbs...'

ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'var zone = 'zone10'; return states['input_text.irrigation_' + zone + '_name'].state + '&nbsp-&nbs...'

ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'var zone = 'zone11'; return states['input_text.irrigation_' + zone + '_name'].state + '&nbsp-&nbs...'

ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'var zone = 'zone12'; return states['input_text.irrigation_' + zone + '_name'].state + '&nbsp-&nbs...'

ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'var zone = 'zone13'; return states['input_text.irrigation_' + zone + '_name'].state + '&nbsp-&nbs...'

ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'var zone = 'zone14'; return states['input_text.irrigation_' + zone + '_name'].state + '&nbsp-&nbs...'

ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'var zone = 'zone15'; return states['input_text.irrigation_' + zone + '_name'].state + '&nbsp-&nbs...'

ButtonCardJSTemplateError: TypeError: Cannot read property 'state' of undefined in 'var zone = 'zone16'; return states['input_text.irrigation_' + zone + '_name'].state + '&nbsp-&nbs...'

how can i solve?
thank you very much

I haven’t really look at this sorry, but a super quick thought with the spare 30 seconds I have…

Have you named all the zones, and put switches against them? (legitimate or fake)

Hi,
are you using rainfall and weather forecast?
If not ensure “Ignore schedules if it is raining” is set to OFF.

I’m not using it, and on my case the scheduling only works when the “Ignore schedules if it is raining” is off. If it’s on then it won’t start automatically, even if all the rainfall sensors are with 0.

Hope this helps.

No i’m not using rainfall and weather forecast and it’s off yet …

I have set up only one zone …

Well, it sounds a little bit strange that it’s looking for zone 9 to 16, MGI v2 should support only eight zone. So be sure to delete entities with that name.

the weird thing is that I don’t have those entities on the entity list

Hi. Any Ideas how to delete every own setting?

After i delete all files, restart and reinstalling the files all own names are back. I don’t know if that causes my problem but i would like to get it solved and have the basic settings back…

probably I have to clear something at the cache level … but I don’t think it’s the browser one

No, it’s off…