OpenSprinkler Forums Third-Party Software Bash script for zone control with OpenSprinkler Pi Reply To: Bash script for zone control with OpenSprinkler Pi

#42667

Robert
Participant

That link provides removal instructions which seem a bit like a sledgehammer. Maybe I’ll hack on the code. Worst case, I can just stop it, run my program (cobbled together some perl (calls the bash script rather than doing it myself because I was lazy…) for what I wanted), and then start OpenSprinkler back up. I’d prefer to not stop it at all though as that provides some insurance that should something go wrong with my other program, it’s still running.

I had considered doing API calls to OpenSprinkler, but the combo of fooling with things like the password hash for a local program and dealing with the fact that I was uncertain whether the call would trigger only the valves I wanted or also trigger the master attached to them (not wanted), I decided I wanted a little more direct interface to the valves.

Thanks for the confirmation on the OpenSprinkler behavior though.