When connected to the controller were both LEDs ON when the sensor was not activated?The LEDs (and 1.2k resistors) were placed after the diodes; 1 to show the circuit had power and the other to show there was power supplied from the sensor etc. It all worked perfectly at home,
