These have four wires going to compressor unit, black & red seem to be pretty obviously power and earth for motor.
Do you know about the yellow and blue wires going to a sealed black box on comp unit ? Are they switch wires or do they need power also ?
ta,