What I am trying to do is turn on a sump pump every 25 minutes, run it for 120 seconds and then turn it off. Also, I need to be notified when it turns on and turns off via some message capability. I have my phone registered. I would be okay with a push to my iPhone. I just need to get this up and running before it rains again. I assume Rule Machine.
I am trying to get a simple answer and everyone is helpful but I am getting overwhelmed by the complexity of the Hubitat.
Can someone who knows how this can be done please help?
How about something like this? This was created in Rule Machine (RM). It is going to run every 30 minutes (limitation of RM's Periodic Trigger), but it should be a decent start. Just be aware, it is going to run ALL THE TIME. The notifications to your phone will become very annoying very quickly.
If you want to know when it's actually pumping water you'll need some form of feedback from the pump.
Either a power/voltage monitoring device or a vibration sensor are popular choices.
I use a typical float switch to activate the pump and a vibration sensor taped to the discharge pipe. This rule turns on/off a virtual switch when it cycles. You can use that switch to created a notification or log. Additionally I use a webCoRE graph to visualize the activity. You can tell it's been raining here.
Again, this is just a starting point to help you become more familiar with Hubitat.
Does you sump pump have a float switch? If so, not sure the above rule is going to be of much help as the built-in float switch will turn on the pump as needed. I would not want to depend any home automation system for this use-case. What would happen if the Hubitat Hub failed during a rain storm? Always best to let the device itself be in control, to eliminate other points of failure.
Why not use a mechanical float switch to turn it on and off? That would be much more reliable and not depend on any other systems working.
My sump has a float and the whole thing is plugged into a Zen15 for monitoring. The Zen15 stays on all the time and I use the power info to know when it runs, how often, if it gets stuck on, etc….
Also wouldn’t it be bad for the motor to run it all the time on a schedule if there is no water in the pit? I assume it uses the water for a cooling effect, maybe not.