I am looking for a simple way to trigger a zone from another PC on the same network. A python script would be great but it doesn’t have to be python. I have looked at a few more complex pieces of code but got lost in the code so am looking for a really simple example to get started with. I don’t need feedback to know if an error happened but if it was available I might use it somehow. This is the application – I have a creek pump that supplies water and to get it started the first time I need to go to the pump, which is some distance from the controller, and make sure it is primed. This requires that I start it, perhaps more than once, until it creates pressure. So I want to be able to trigger a zone for 1 minute. The pump is out of wifi range so I can’t use the web interface directly but I have other ways of running scripts on a linux box on the same network.
Most programming languages support HTTP GET command. You can also use the command line wget (or curl) as BinaryOS described. Or you can directly type in that command to the browser URL and that will cause the browser to send the HTTP GET command too.