Water and Smart Switch

Similar to some posts but want the ability to have a smart switch turn off well pump when water/freeze sensor is tripped. Thinking of getting an Aeotec smart switch for our well pump but does some good if the system automatically trips off when leak is detected. Looks like they added the Moen Flo to the devices but not wanting to spend 500 plus install when can be done for 150 since I am on my own well. Others have made similar comments about ability to create actions when situations are met.