An automated greenhouse system controls the environment using sensors and actuators. The following algorithm is designed to regulate the climate conditions:
1
2 WHILE (systemActive = True) DO
3
4 RECEIVE value FROM SENSOR_TEMP
5 IF (tempValue < 18) THEN
6 SET heaterStatus TO "On"
7 END IF
8
9 RECEIVE value FROM SENSOR_MOIST
10 IF (moistureValue < 40) THEN
11 SET irrigatorStatus TO "On"
12 END IF
13
14 RECEIVE value FROM SENSOR_LIGHT
15 IF (lightValue < 200) THEN
16 SET lampStatus TO "On"
17 END IF
18
19 IF (tempValue >= 18) THEN
20 SET heaterStatus TO "Off"
21 END IF
22
23 IF (moistureValue >= 40) THEN
24 SET irrigatorStatus TO "Off"
25 END IF
26
27 IF (lightValue >= 200) THEN
28 SET lampStatus TO "Off"
29 END IF
30
31 END WHILE
State the name of the input device in the algorithm used to control the irrigation system (irrigator).