Run pump periodicly

Hello,

For our pool we have a filter pump. This pump is now connected to an PE tube with a lenght of 50 meters to heat the water in the pool. This pipe is on the roof of a shed.

Now I want to turn on the pump every 30 minutes for 5 minutes. This only when a virtual switch is activated.
So that I can activate the above rule on a sunny day.

What is a good way to do this?
I always want to be able to set the pomp to: Off ,Periodic or Continue

I have tried PLTS but I can not get that to work.
This because I don’t work with PLTS normaly.

PLTS isn’t the best solution for this but PLEG would make it very easy. Something along the lines of:

Triggers
Periodic Virtual Switch X is turned on
Enable Virtual Switch Y is turned on

Schedules
Each30 Interval timer 30 minutes

Conditions
_PumpOn Enable and Periodic and Each30
PumpOff Periodic and (_PumpOn; Now > 5:00)

Actions
_PumpOn Turn on pump
PumpOff Turn off pump

You can add other triggers and conditions for additional logic (like not running it during the night!).

Ok,

I will try PLEG for this tomorow.
I let you know if it works!

No guarantees as I haven’t tested it but it should get you started. If you get into trouble, post a Status report from the PLEG so we can see what’s happening.

@RexBeckett
Good example of the the new feature for always firing an action!

@RichardTSchaefer,

Thank you. You keep adding great features and I’ll find good uses for them. ;D