Chili, mustard greens, and tomatoes have always been farmers' favored crops, despite their high water and labor demands. Adapt to these conditions by utilizing smart agriculture systems (SAS) agricultural techniques that involve technology such as automatic irrigation that regulates watering based solely on routine, regardless of land conditions. This type of control during the transitional season can lead to root rot and fungisarium disease on chile plants. In the form of an embedded system with internet of things (IoT) monitoring, a system incorporating artificial intelligence such as fuzzy logic is proposed as a solution. Fuzzy logic will regulate irrigation based on the land's humidity and temperature using computational mathematics. Beginning with the fuzzyification stage to map the sensor's temperature and humidity input values, fuzzy logic is applied. The creation of an inference engine in the NodeMcu 8266 microcontroller to interpret fuzzy rule statements in the form of aggregation of minimum conditions with the AND operator, followed by the combination of a single set value of 0 and 1 in the fuzzy system to produce an appropriate actuator response After the entire system has been prototyped, testing is conducted to determine the responsiveness of the fuzzy program code to changes in the simulated agricultural cultivation land ecosystem. This study found that the fuzzy logic program code embedded in the nodeMCU8266 microcontroller effectively controls the spraying duration of the pump in response to various simulated environmental conditions within 3.6 seconds.