This research focuses on the design and construction of an automatic rain detection device that utilizes an Arduino Uno R3 as its primary microcontroller. The research was motivated by the need for a system capable of detecting rainfall in real time and providing automatic responses, such as driving a servo motor to close the clothesline roof. This device is designed to address weather uncertainty and help people protect their belongings from rain without the need for manual monitoring. By using a rain sensor, the system automatically detects the presence of water droplets and sends a signal to the Arduino to activate the closing mechanism.This research aims to address delays and uncertainties in rain detection, which can damage goods and clothing. Although existing systems use raindrop sensors, their slow response often hinders users from acting quickly. To address this issue, fuzzy logic methods are used to improve accuracy and speed. This system is implemented using Internet of Things (IoT) technology, with the main components being an Arduino Uno R3, ESP32, a raindrop sensor, and a stepper motor. Testing was conducted using Black Box Testing to ensure proper functionality. The Blynk application on a smartphone is used as an interface to control and monitor the system in real time.The results of my research show that the system can detect rain with high accuracy and provide a quick response by closing the canopy. With this system, it is hoped that the application of IoT technology in modern households can increase efficiency in managing unpredictable rainfall and provide better protection.