[snip]
So that said, if I could find/(build with help) a relay that detects power off on the output side of the pump controller (BTW, 220V) and sends a 6-18v DC pulse to the power flash then at least my program code and irrigation controller would know the pump has stopped and why based on the c ode sent.
In the simpliest case, some control function(program or device) will send an X10 signal that will cause a low voltage to turn on the pump controller but I see nothing that notifies that control function that the pump has powered off.
Please exxcuse my lack of electrical engineering and X10 knowledge, I spent much of my 45 years in the computer business as a programmer or programming manager. I speak bits and bytes, not electrons. :-)
Regards,
Jim
Not sure this completely answers your requirements but will give something to chew on. I used a similar set-up years ago on a 220V deep well pump.
For the input side of your control
Connect this 220V volt transformer to your pump motor supply line. The transformer is a 50Hz unit, but I doubt that 9 or 10 extra hertz will cause it to run hot since your load is minuscule. If it does you will have to find a 60Hz for North America usage.
http://www.allelectronics.com/make-a-store/item/DCTX-2292/BRIT.DC-ADAPT-9VDC-200MA/-/1.htmlAnd connect transformer to this DPDT 9V DC relay. Connect the appropriate relay contacts to an X10 Powerflash module. Since the relay will provide either Normally Open or Normally Closed contacts when the pump is supplied with power, you can wire the relay/Powerflash assembly to give you an X10, House Code Unit Code "ON" or a HCUC "OFF" when the pump runs. This only detects that the pump has power, not that the pump actually runs.
http://www.allelectronics.com/make-a-store/item/RLY-523/9V-DPDT-MINI-RELAY/1.htmlFor the output side, connect a X10 Universal Module to your pump controller, the Universal Module will provide a closure when you send it a HCUC ON signal. Use the closure for the controller trigger.
Everything in between the input and the output is bit banging...right up your alley. You could use the CM15A controller and AHP software from X10 for your logic. You could use pressure sensors and more powerflash modules to provide high pressure/low pressure limit inputs to your logic.
Bare in mind X10 protocol is not the most reliable. I would plan to send redundant OFF signals to the pump controller, and if damage could occur if the pump ran too long, create a fail safe backup to shut off pump.