I am currently using two lines of water, one is a fresh water and the other one is from a pump.
In both cases I control which waterline is used by a solenoid valve.
Those solenoid valves I want to trigger.
Currently I have set the powerpin for all my valves to the pin of the fresh water valve.
When I want to use my pump, I need to switch it on either manually or change the "powerpin".
If I could define multiple powerpin's I would simply activate them all and turn those off I do not need (either via the "Home" website checkmark on the water line or later hopefully triggered by a sensor, telling me if the pump has enough water to use).
Any Idea ?
yea the second line is a rain water tank. It has an automatic pump - it is always on and simply delivers water, when I open the valve. So no need for a relay to turn it on or something like that.
Basically the "Rain Tank" and the "Fresh Water" constantly delivers water.
The incoming valves are closed - depending which one of the water input lines I want to use, I will turn on one relay of the input line and one valve of the watering lines.
Currently I have defined, that every watering line valve triggers the valve of the fresh water input line (via the powerpin).
When I want to use the "rain tank" I basically turn off the fresh water line (either by shutting it off by hand or by turning it off in the "home" webpage and manually start the "rain tank" line (using the setting webpage).
Thinking about it, maybe I should just add my input lines both to my WateringPlan and turn them on together with my watering lines.
I still could then turn off whatever input line I do not want by overriding the wateringPlan on the "home" webpage