rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
309 stars 100 forks source link

Confused with how Sprinklers works. #198

Open avfoto opened 10 months ago

avfoto commented 10 months ago

Hi, I'm trying to figure out how Sprinklers works. I have Zone 1 defined as the general pump for irrigation of the rest of the zones, is this correct? I understand that the rest of the zones may be assigned to different solenoid valves, so I do not mark those zones as pumps. If I generate a schedule to turn on the pump (Zone 1) and at the same time open the solenoid valve that allows water to pass to zone 2, it does not work. First it starts the pump and when the allotted time ends, it stops the pump and then opens the zone 2 solenoid valve. How can I configure Sprinkle so that the zone 1 pump works on each schedule and at the same time opens the solenoid valve of the zone I want to water? Thank you

g-work commented 10 months ago

I haven't used sprinklers_pi for a long time, but if I remember it correctly, you have to tick 'Pump' separetly for a schedule when using one. Pump is a seperate output, not 'Zone 1'. The zones are sprinkled one after another.

nhorvath commented 10 months ago

Correct pump is zone 0 and you have to check the box on zones that use it.

From the wiki: The actual GPIO lines associated with each zone are 0 (pump), 1 (Zone 1), 2 (Zone 2) .... 15 (Zone 15). A chart detailing which GPIO line is associated with which pin on the Raspberry Pi headers is here: http://wiringpi.com/pins/

On Sun, Sep 3, 2023, 8:38 AM g-work @.***> wrote:

I haven't used sprinklers_pi for a long time, but if I remember it correctly, you have to tick 'Pump' separetly for a schedule when using one. Pump is a seperate output, not 'Zone 1'. The zones are sprinkled one after another.

— Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/198#issuecomment-1704295268, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIJXBZA3XTLD5ENCWNDYLXYR25FANCNFSM6AAAAAA4JFTKDI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

avfoto commented 10 months ago

Thanks to both. Now I just saw that the pump is common and goes on pin gpio 11, so the pump and a solenoid valve can be powered, although for this to work, the pump operating time in the schedule must be left at 0. Thank you.

avfoto commented 10 months ago

In any case, what does it mean that the "pump" option is activated or deactivated in each of the zones?

nhorvath commented 10 months ago

It will only run the pump for that zone if it's checked.

On Sun, Sep 3, 2023, 10:00 AM avfoto @.***> wrote:

In any case, what does it mean that the "bomb" option is activated or deactivated in each of the zones?

— Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/198#issuecomment-1704314149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIJXHZELHD5FJPIM6HFSTXYSEPDANCNFSM6AAAAAA4JFTKDI . You are receiving this because you commented.Message ID: @.***>