Advice for flow in Node Red

Hi all,

I’m just starting with Node Red, so I’m kind of a noob.
But I’made a couple of flows already, you have to start somewhere…

I just made a very basic flow for the pump of my Intex swimming pool in the backyard.
It’s working, but I think i can be made easier than what I’ve done.

What do I want to achieve with this flow?

  • At given times, (10:00, 13:00, 16:00, 19:00, 22:00 hrs) the smartplug in which the pump is plugged in goes ‘on’ so the pump will start running. Lastly, a notification will be sent to my smartphone.
  • After 90 minutes, the smartplug switches off. Again, a notification will be sent to my smartphone.

Then the above will happen again at the next time indicated, etc.

I think I made the flow harder and bigger than necessary.
How can I make this flow more simple? And with what nodes?

This is the flow I created:

Some advice would be greatly appreciated! :slight_smile:

Make all the grey ones go into a single set of the blue ones that are the same.

You can also make a delay after a pump on node nd them put a delay followed by a pump off node.

Thank for your reply!
This is how the flow is atm:

Working perfectly :slight_smile: