My Garden Irrigation

There are also issues with pop-ups caused by a combination of v113 and the latest browser_mod

I’ll be looking at that soon too…

1 Like

Does anyone have an update to confirm this is a temporary solution?

FWIW, I think it should be.

I’m having a bit of issue getting this going in HA 113, is this the correct format below adding mode: parallel ?

Continuing the discussion from My Garden Irrigation:

Hello, I tried today to connect the ESP32 to a 4 Relay Board to actuate some real pumps but I am having some really strange problems.
I made the following connections:
ESP32 is powered with a Micro USB cable
VIN and GND from ESP32 connected to VCC and GND of Relay Board
Pins 14, 27, 26, 25 connected to the Relay Inputs.
I used EspHome to code the pins as switches, of course inverted and low active.

Now for the problems:
The ESP32 does not connect to WiFi and seems to be blocked if I the relay board is connected while booting the ESP32.
If I disconnect the VCC to the Relay board during booting, then the ESP32 connects to WiFi, then I connect the VCC and I can actuate all the relays, but if I for example let a 12V pump work for I minute, the EspHome board will become unavailable a few times and then the relays are stopped.
What I already tried is to connect the VCC and GND to a separate 5V and GND from another USB but even like this the ESP32 will not connect to WiFi.
I suppose most of you are using ESP32 to do the irrigation and maybe you had similar problems so maybe you can help.
I understood that it could be an incompatibility between the 3.3V from the ESP32 and the Relay Board, but still this does not justify the problems that I have when booting the ESP32.
Of course I could provide VCC to the Relay board after the ESP32 boots up with a transistor, but still why the disconnects during the actuation.
WiFi is not really so weak.

Are you in HA 113 when trying this?

Hello, what board you use? Nodemcu?
how many amps does the source have?

With version 0.113.1, the problem “Zone changing” has not been solved.
Both the daily and manual scedulation runs the first cycle and then locks.
If I run the single manual program, and this is not the first, the execution does not start.
Same thing if I set the tesing mode.

With version 0.113.1, the problem “Zone changing” has not been solved by adding “mode: parallel” just above each “sequence:” in garden_irrigation_start.yaml
Both the daily scedule and manual program runs the first cycle and then locks with "Zone changing” message blinkink.
If I run the single manual program, and this is not the first, the execution does not start.
Same thing if I set the testing mode.
I tried to set the other modes options (single, restart, queued) but the problem remains.
I also tried to add “mode: parallel” before all “sequence:” but also this time the problem remains.

Weird - It was working for me on 113.0, but also seem to have stopped working on 113.1

Will keep digging for a work around.

Ha! I never upgrade to a point zero release!

I just upgraded and should have some time to look into this today. I think I will be rewriting a couple of the scripts to make use of the repeat.

1 Like

A quick update…

I thought I had it all rewritten but it didn’t work. It seems like there may be a small bug in the new scripting integration. It is being worked on now I believe.

That means there won’t be a new version until v0.113.2 of HA comes out at the earliest and that is only if the scripting bug fix gets in that version. And if my changes work :slight_smile: But they haven’t been properly tested yet of course!)

1 Like

Oi! Thank you for the feedback. Lets hope the scripting bug gets priority :slight_smile:

Till then I will be the timer again…

UPDATE: https://github.com/home-assistant/core/issues/38232

Thanks 1000

Yep.
If you look at the reference at the bottom of that issue it points to my forum query :wink:

1 Like

Saw that - Thank you for all the effort with this! It is much appreciated…

1 Like

Same here, identical behaviour.

Update Released: https://github.com/home-assistant/core/releases/tag/0.113.2

Hopefully it solves the issue… I’m running a supervised install - will test as soon as the update becomes available.

UPDATE: @klogg Seems to still get stuck after the first zone at “Changing Zones”

UPDATE2: I updated the GitHub issue too

I’m on 113.2 0 problem is not fixed for me.
I also can’t confirm that adding simply adding “mode: parallel” is a workaround.
Confirmed that worked
ha core update --version=0.112.4

I ran out of my time for this today too.
Can anyone test cutting out the delay at garden_irrigation_start.yaml ?

  #=== Pause between zones
  - delay: >
      00:00:{{ pause }}

113.2 fixes a bug in HA.
I have not yet made the changes to this package so nothing has changed.
mode: parallel might be a workaround but there are other changes I need to make as well.

I have made all the changes on my local version ready for testing after I have upgraded to 113.2 tomorrow.

1 Like

Update for HA v0.113.2 (Breaking)

I am about to upload all the changes to make this package work with HA v0.113.

Please note the following

  • This version will NOT work with any version of HA less than 0.113.2
  • When you take a copy of the files from GitHub be aware that a couple of files have been added / renamed.
  • I have also updated some of the Lovelace files to deal with the new way that popups work. This is not complete, I’m not happy with all the formatting and the user defined font does not work everywhere. There will be further changes once I have worked it all out but everything is currently useable.

Finally, I only have one instance of HA and one garden so testing this is difficult for me now as everything is ‘live’ (and we have had tons of rain here recently!). I have tested using the option to disable the switches but I don’t think that should make any difference.

image

Depending on how critical this package is to you, you might want to keep a copy of the pre v113 package so that you can roll back if necessary. Obviously that will mean rolling HA back to v112 as well.

I will post here once I have finished uploading all the new files.

Please feedback your experience so that I know that it all works. Or doesn’t. :wink:

2 Likes