Is DC motor on relay coil side ok?
The relay coil should be connected in parallel with the motor, and the relay contacts connected in series with the irrigation solenoid, like so:







simulate this circuit &ndash; Schematic created using CircuitLab