Hi, I've setup Hydrosys4 on a raspberry Pi zero connected to 24 relays to run different irrigation lines at a plant nursery. The sprinklers will only work well if one line is on at any given time. Ideally I would like to add watering lines in the schema setup section of Hydrosys4 software so I can program different start times for each of the 24 relays. The only way I can do that at the moment is to add delays into the watering plans, but, as each line will operate for 30 minutes the delay on line 2 would be 30x60=1800 seconds and the delay on line 24 would be 43000seconds. Not sure if this would max out the possible delay period on the pi zero. I tried editing the addata.txt file in the configuration files to add more line names but this did not work. Any advice would be much appreciated. Thanks
top of page
bottom of page
Okay Angelo, if that's the case then I'll keep using the delay and see what happens. That way I can more easily adjust timings over a remote connection. I'll keep my eye out for your new hardware too. Cheers!
Hi, to add more names, you can modify the addata.txt, or better the defaddata.txt file. (If you modify the defaddata.txt, remember to delete the addata.txt the first time). The files are in json format and have a "name" reference field.
You need to add a new name here:
{"1": "P1", "2": "P2", "3": "P3", "4": "P4", "5": "P5", "6": "L1", "7": "L2", "name": "listelements"}
Then you need to add one row with the irrigation data, you can copy one of them and change the name with the new name:
{"Friday": [["00:00", "0", "", ""], ["00:00", "0", "", ""], ["00:00", "0", "", ""], ["00:00", "0", "", ""], ["00:00", "0", "", ""]], "Monday": ......... ...... , "name": "P1"}
Should be feasible.
On the other hand, I do not see problems with the number 43000, until is inside 24hours, it is still fine :).