Watering garden script

Moderator: leecollings

Post Reply
HJvD
Posts: 6
Joined: Wednesday 24 October 2018 14:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Watering garden script

Post by HJvD »

I have a watering system in my garden that gets its water from a pump. The pump is switched by a zwave switch.

First thing I would like to do is make a script that:

- waters my garden twice a week
- half an hour each time
- only at night at 2:00

Then secondly it would be nice to expand the script with rain parameters from Weather Lookup.

Any experience with these kind of scripts, any ideas?
iganin
Posts: 47
Joined: Tuesday 28 October 2014 17:55
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: Aalter, Belgium
Contact:

Re: Watering garden script

Post by iganin »

There are several nice topics in this forum which are meet your needs or even more. Just perform search using "irrigation" word.
ebretteville
Posts: 39
Joined: Sunday 10 January 2016 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.3530
Location: Cherbourg - Caen | France
Contact:

Re: Watering garden script

Post by ebretteville »

I did it myself. Just use the planning function.

Image
oliviers
Posts: 73
Joined: Wednesday 16 September 2015 22:10
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Paris area, France
Contact:

Re: Watering garden script

Post by oliviers »

Hi,
Not so difficult ... I am using a Gardena system with 5 different irrigators that need to be activated one after each other (not enough pressure / waterflow to activate them all simultaneously, this is not the Versailles park!). To switch to ne next circuit, I just need to close/reopen the water valve. I did it with a simple scenario :
Capture32.JPG
Capture32.JPG (118.48 KiB) Viewed 1996 times
Paris area
Raspberry Pi 4 - RFXComm 433 - IrTrans - Zwave
HJvD
Posts: 6
Joined: Wednesday 24 October 2018 14:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: Watering garden script

Post by HJvD »

Thanks, don't know why, but I even didn't thought about using a timer. It's quite simple that way.
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Watering garden script

Post by Egregius »

It's simple yes, but is it sufficient? Shouldn't you look wether it rained in the last 2 days? Or that rain is expected in the next 24 hours?
I think you need to use a more advanced script for irrigation, like suggested before there are several good options in lua, dzVents or Pass2php.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests