An irrigation controller for determining a connection status of at least one valve in an irrigation system, the irrigation controller comprising: a first valve port electrically coupled with the at least one valve; a second valve port electrically coupled with the at least one valve; a switch electrically coupled with at least one of the first valve port and the second valve port, the switch configured to selectively connect the at least one valve to a power supply via the at least one of the first valve port and the second valve port; and a processor configured to control the switch to selectively connect the at least one valve to the power supply; characterized in that: the irrigation controller further comprises: at least one transmitter electrically coupled with the first valve port, wherein the at least one transmitter is configured to transmit a detection signal to the at least one valve; and at least one receiver electrically coupled with the second valve port, wherein the at least one receiver is configured to receive the detection signal from the at least one valve; and the processor electrically coupled with the at least one transmitter and the at least one receiver, the processor is further configured to: determine the connection status of the at least one valve based on whether the detection signal is received by the at least one receiver. a first valve port electrically coupled with the at least one valve; a second valve port electrically coupled with the at least one valve; a switch electrically coupled with at least one of the first valve port and the second valve port, the switch configured to selectively connect the at least one valve to a power supply via the at least one of the first valve port and the second valve port; and a processor configured to control the switch to selectively connect the at least one valve to the power supply; characterized in that: the irrigation controller further comprises: at least one transmitter electrically coupled with the first valve port, wherein the at least one transmitter is configured to transmit a detection signal to the at least one valve; and at least one receiver electrically coupled with the second valve port, wherein the at least one receiver is configured to receive the detection signal from the at least one valve; and the processor electrically coupled with the at least one transmitter and the at least one receiver, the processor is further configured to: determine the connection status of the at least one valve based on whether the detection signal is received by the at least one receiver. the irrigation controller further comprises: at least one transmitter electrically coupled with the first valve port, wherein the at least one transmitter is configured to transmit a detection signal to the at least one valve; and at least one receiver electrically coupled with the second valve port, wherein the at least one receiver is configured to receive the detection signal from the at least one valve; and at least one transmitter electrically coupled with the first valve port, wherein the at least one transmitter is configured to transmit a detection signal to the at least one valve; and at least one receiver electrically coupled with the second valve port, wherein the at least one receiver is configured to receive the detection signal from the at least one valve; and the processor electrically coupled with the at least one transmitter and the at least one receiver, the processor is further configured to: determine the connection status of the at least one valve based on whether the detection signal is received by the at least one receiver.