PENGEMBANGAN SISTEM KLASIFIKASI CUACA VISUAL BERBASIS IoT MENGGUNAKAN CONVOLUTIONAL NEURAL NETWORK

Authors

  • Natalina Santa Lucia Sihite Universitas Buddhi Dharma, Indonesia
  • Ceng Giap Yo cenggiap@ubd.ac.id, Indonesia

DOI:

https://doi.org/10.30646/tikomsin.v14i12.1138

Keywords:

Convolutional Neural Network, Internet of Things, ESP32-CAM, Weather Classification, Computer Vision

Abstract

Weather conditions can change rapidly and affect various outdoor activities, particularly clothes drying. Manual weather observation has limitations as it relies on human monitoring and often fails to provide up-to-date information on local conditions. This study aims to develop a visual weather classification system based on the Internet of Things (IoT) using a Convolutional Neural Network (CNN). The proposed system utilizes an ESP32-CAM to capture weather images, which are then transmitted to a local computer for the CNN inference process. Weather is classified into four categories: Cloudy, Rain, Shine, and Sunrise. The dataset consists of 1,125 weather images (300 Cloudy, 215 Rain, 253 Shine, and 357 Sunrise), which underwent resizing and normalization before training. The model was evaluated using accuracy, loss, precision, recall, F1-score, and a confusion matrix. The results indicate that the CNN model achieved a validation accuracy of 90.22% during training and a testing accuracy of 90% on a separate test dataset. The trained model was implemented with the ESP32-CAM as part of a weather monitoring system prototype. The testing results demonstrate that the model is able to effectively classify visual weather conditions and can serve as a foundation for automating a smart clothesline system.

References

[1] S. Li, M. Wang, S. Sun, J. Wu, and Z. Zhuang, “CloudDenseNet: Lightweight Ground-Based Cloud Classification Method for Large-Scale Datasets Based on Recon-structed DenseNet,” Sensors, vol. 23, no. 18, Sep. 2023, doi: 10.3390/s23187957.

[2] M. Guzel, M. Kalkan, E. Bostanci, K. Acici, and T. Asuroglu, “Cloud type classification using deep learning with cloud images,” PeerJ Comput. Sci., vol. 10, 2024, doi: 10.7717/peerj-cs.1779.

[3] D. Gragnaniello, A. Greco, C. Sansone, and B. Vento, “Real-time joint recognition of weather and ground surface conditions by a multi-task deep network,” Eng. Appl. Artif. Intell., vol. 139, Jan. 2025, doi: 10.1016/j.engappai.2024.109543.

[4] Z. Li, H. Kong, and C. S. Wong, “Neural Network-Based Identification of Cloud Types from Ground-Based Images of Cloud Layers,” Applied Sciences (Switzer-land), vol. 13, no. 7, Apr. 2023, doi: 10.3390/app13074470.

[5] H. Yin, F. Zheng, H. F. Duan, D. Savic, and Z. Kapelan, “Estimating Rainfall Intensity Using an Image-Based Deep Learning Model,” Engineering, vol. 21, pp. 162–174, Feb. 2023, doi: 10.1016/j.eng.2021.11.021.

[6] W. Zhu et al., “Classification of Ground-Based Cloud Images by Improved Com-bined Convolutional Network,” Applied Sci-ences (Switzerland), vol. 12, no. 3, Feb. 2022, doi: 10.3390/app12031570.

[7] H. Xiao, F. Zhang, Z. Shen, K. Wu, and J. Zhang, “Classification of Weather Phe-nomenon From Images by Using Deep Convolutional Neural Network,” Earth and Space Science, vol. 8, no. 5, May 2021, doi: 10.1029/2020EA001604.

[8] el Khammi Prayoga et al., “JOURNAL OF APPLIED SMART ELECTRICAL NET-WORK AND SYSTEMS (JASENS) Inte-grasi Sistem ESP32 dengan Pemantauan Cuaca Menggunakan Sensor Meteorologi Berbasis Website,” vol. 6, no. 1, pp. 23–31, 2025, [Online]. Available: http://journal.isas.or.id/index.php/JASENS

[9] C. Meng, “Weather forecast image classifi-cation based on KNN, CNN, and VGG19,” Applied and Computational Engineering, vol. 76, no. 1, pp. 167–176, Jul. 2024, doi: 10.54254/2755-2721/76/20240583.

[10] A. I. S Azis, F. Aziz, A. Taufiqurrahman Akbar, P. Teknik Robotika dan Kecerdasan Buatan, and I. Teknologi Bacharuddin Jusuf Habibie, “Advances in Computer System Innovation Journal Model Convolu-tional Neural Network yang Efektif dan Efisien untuk Segmentasi Semantik Awan Cumulonimbus,” 2025.

[11] S. D. Ramadhany and E. Yohannes, “Pre-Trained Convolutional Neural Network Benchmark For Multi-Class Weather Mod-eling,” Journal of Informatics and Computer Science, vol. 07, 2025.

[12] Mohammad Annas, F. A. Ramahdan, Tessa Handra, Achmad Hidayat Dwi Sapu-tra, and Henrik Jensen, “Application of IoT and AI Based on ESP32CAM to Support Sustainable Mobility in Smart Cities,” Blockchain Frontier Technology, vol. 4, no. 2, Feb. 2025, doi: 10.34306/bfront.v4i2.707.

[13] T. Q. Nam, “Evaluation of Stacked Ensem-ble Model on Weather Image Recognition,” in Procedia Computer Science, Elsevier B.V., 2024, pp. 1664–1671. doi: 10.1016/j.procs.2024.03.171.

[14] A. L. Hakim and R. Dewi, “Automatic Rain Detection System Based on Digital Images of CCTV Cameras Using Convolutional Neural Network Method,” in IOP Confer-ence Series: Earth and Environmental Sci-ence, IOP Publishing Ltd, Nov. 2021. doi: 10.1088/1755-1315/893/1/012048.

[15] N. C. J. -, “PROTOTIPE SISTEM PEN-JEMUR PAKAIAN OTOMATIS BERBASIS IOT DENGAN PEMANTAUAN VISUAL ESP32-CAM DAN KENDALI APLIKASI MOBILE,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 14, no. 1, Jan. 2026, doi: 10.23960/jitet.v14i1.8846.

[16] K. A. A. Pahlevi, Afu Ichsan Pradana, and Dwi Hartanti, “Rancang Bangun Sistem Jemuran Otomatis Berbasis Internet Of Things (IoT),” Adopsi Teknologi dan Sistem Informasi (ATASI), vol. 4, no. 2, Sep. 2025, doi: 10.30872/atasi.v4i2.3174.

[17] A. I. Putri, Y. Syarif, N. R. Aisyi, and N. Waeyusoh, “Implementation of Gated Re-current Unit, Long Short-Term Memory and Derivatives for Gold Price Prediction,” Pub-lic Research Journal of Engineering, Data Technology and Computer Science, vol. 2, no. 2, pp. 68–80, Jan. 2025, doi: 10.57152/predatecs.v2i2.1609.

[18] Muhammad Rizki Andrian Fitra, Neysa Talitha Jehian, Sybil Auzi, Thania Dealva Arsyad, and Hermawan Syahputra, “Sistem Jemuran Otomatis Berbasis Deteksi Visual dan Sensor Hujan dengan ESP32,” Jurnal Informatika Dan Tekonologi Komputer (JITEK), vol. 5, no. 2, pp. 131–140, Jul. 2025, doi: 10.55606/jitek.v5i2.6597.

[19] S. A. Jemuran Otomatis dengan IoT dan Gemini, N. Amalia Wibowo, and O. Had-ikaryana, “Sistem Jemuran Otomatis dengan IoT dan Gemini AI,” 2025.

[20] S. Mittal and O. P. Sangwan, “Classifying Weather Images using Deep Neural Net-works for Large Scale Datasets.” [Online]. Available: www.ijacsa.thesai.org

[21] A. Zulkifli Nusri, U. Lamappapoleonro, J. Kesatria No, and S. Sulawesi Selatan, “Rancang Bangun Sistem Jemuran Otoma-tis (Automatic Clothesline) Berbasis Mikro-kontroler”, doi: 10.25126/Rister.

[22] D. N. Bestari and A. Wibowo, “An IoT-Based Real-Time Weather Monitoring Sys-tem Using Telegram Bot and Thingsboard Platform,” International Journal of Interac-tive Mobile Technologies, vol. 17, no. 6, pp. 4–19, 2023, doi: 10.3991/ijim.v17i06.34129.

[23] I. K. Wijayanti, Nurchim, and J. Maulindar, “PERANCANGAN SMART HOME JEMU-RAN OTOMATIS BERBASIS INTERNET OF THINGS,” INFOTECH journal, vol. 9, no. 1, pp. 183–189, May 2023, doi: 10.31949/infotech.v9i1.5344.

[24] K. Purwandari, J. W. C. Sigalingging, A. A. Hidayat, T. W. Cenggoro, and B. Parda-mean, “Implementation of Computer Vision of Jakarta Weather Image Categorization Using ResNet,” in Procedia Computer Sci-ence, Elsevier B.V., 2023, pp. 813–822. doi: 10.1016/j.procs.2023.10.587.

[25] J. Li and X. Luo, “A Study of Weather-Image Classification Combining VIT and a Dual Enhanced-Attention Module,” Elec-tronics (Switzerland), vol. 12, no. 5, Mar. 2023, doi: 10.3390/electronics12051213.

[26] O. Papadimitriou, A. Kanavos, P. Mylonas, and M. Maragoudakis, “Advancing Weather Image Classification Using Deep Convolu-tional Neural Networks,” in 2023 18th Inter-national Workshop on Semantic and Social Media Adaptation and Personalization, SMAP 2023, Institute of Electrical and Electronics Engineers Inc., 2023. doi: 10.1109/SMAP59435.2023.10255190.

Downloads

Published

2026-11-06

How to Cite

Santa Lucia Sihite, N., & Yo, C. G. (2026). PENGEMBANGAN SISTEM KLASIFIKASI CUACA VISUAL BERBASIS IoT MENGGUNAKAN CONVOLUTIONAL NEURAL NETWORK. Jurnal Teknologi Informasi Dan Komunikasi (TIKomSiN), 14(2). https://doi.org/10.30646/tikomsin.v14i12.1138

Citation Check