2023 Nov 23, 01:18 AM
Hey Dan, I added to my plugin the capability to run/enable/disable programs when a water tank reaches a user-specified water level.
I would also like to add the capability to run a station for a specific amount of time or until a sensor reports that the water in the tank has reached a specific level. The scenario I have in mind is if my water tank gets filled by a pump, I would set a station to be the pump, and when the water gets to a certain low level, run the station i.e. the pump until the water in the tank rises to a certain high level.
So my question is how can I programmatically run and stop a station?
I would also like to add the capability to run a station for a specific amount of time or until a sensor reports that the water in the tank has reached a specific level. The scenario I have in mind is if my water tank gets filled by a pump, I would set a station to be the pump, and when the water gets to a certain low level, run the station i.e. the pump until the water in the tank rises to a certain high level.
So my question is how can I programmatically run and stop a station?