rszimm / sprinklers_pi

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

enable or disable Shedules via HTTP request #161

Closed neodee closed 4 years ago

neodee commented 4 years ago

Hello,

I would like to enable or disable Shedules remotly from my home automation, like this could be done with zones "sprinklerspi:8080bin/shedules?zone=zc&state=off"

Is this possible?

Also It looks like only one zone could be active at a time, if I switch on Zone 1 and the Zone 2, Zone 1 will be switched of and vice versa.

Thanks for any hint.

Regards

Dominik

taHC81 commented 4 years ago

Hello, usually the pump is not capable to feed more than one section, that could be a reason.

For the automation , use following: sprinklerspi:8080/manual?zone=ze&state=on

Where e seems to be like: a - zone 0, master b - zone 1 c - zone 2... etc

Exact code can be obtained via Webdeveloper tools (Firefox): image

neodee commented 4 years ago

Hello,

thanks for hint with the automation. Found out that with: sprinklerspi:8080/bin/run?system=on or sprinklerspi:8080/bin/run?system=off

the global Schedule could be enabled or disabled remotely.

For enabling or disabling an individual Schedule (on page sprinklerspi:8080/ShSched.htm?id=0) this is not working this way.

About the Pump issue, yes, I thinking this was implemented this way as usual the pressure and/or flow is not enough to drive more than one sprinkler at one time.

In my case I am using a micro drip system so pressure or flow is not a problem in my case.

It would be nice to have all valves running the same time in my case...

nhorvath commented 4 years ago

If you want all of them to run at the same time, why not connect to the same relay?

On Sun, Apr 12, 2020, 3:58 PM neodee notifications@github.com wrote:

Hello,

thanks for hint with the automation. Found out that with: sprinklerspi:8080/bin/run?system=on or sprinklerspi:8080/bin/run?system=off

the global Schedule could be enabled or disabled remotely.

For enabling or disabling an individual Schedule (on page sprinklerspi:8080/ShSched.htm?id=0) this is not working this way.

About the Pump issue, yes, I thinking this was implemented this way as usual the pressure and/or flow is not enough to drive more than one sprinkler at one time.

In my case I am using a micro drip system so pressure or flow is not a problem in my case.

It would be nice to have all valves running the same time in my case...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/161#issuecomment-612668072, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIJXC43IFYQCOZYZXGKVTRMIMPTANCNFSM4MFWXBJQ .

neodee commented 4 years ago

Sorry maybe this was a misunderstanding. I have three zones. One of them is under the roof, so they are getting no rain and have to watered every day. The two others are "outdoor" and getting rain from time to time, but have to run different times, depending on the sun intensity.

As the Zones have to run very long sometimes, it would be nice to turn on them simultaneously, but not every day each zone have to run the same amount time...

Also I am thinking if I could use the not used relays from the board to turn on and of my garden light (12V VAC) and my fountain, but this is only an idea for now…

nhorvath commented 4 years ago

I agree that it could be a valid use case but unfortunately it would require major changes to be able to accommodate running multiple zones simultaneously.

neodee commented 4 years ago

ok thank you for this information. I will try to make the best of the possibilities.