Electrician : Jurnal Rekayasa dan Teknologi Elektro
Vol. 20 No. 2 (2026)

Stasiun Cuaca Cerdas dengan Fitur Klasifikasi Cuaca Menggunakan Metode Gaussian Naïve Bayes

irvan budiawan (Unknown)
Yuda Bakti Zainal (Universitas Jenderal Achmad Yani)
Asep Najmurokhman (Universitas Jenderal Achmad Yani)
Kusnandar (Universitas Jenderal Achmad Yani)
Zul Fakhri (Unknown)
Sidik Herlambang (Unknown)
Rizal Algifari (Unknown)



Article Info

Publish Date
31 May 2026

Abstract

Weather affects environmental conditions and daily human activities. Rapid weather changes can disrupt activities and potentially cause disasters. Therefore, an accurate and real-time weather monitoring system is needed. However, the high price of commercial weather station devices limits environmental data in many areas. This study aims to develop a low-cost ESP32 microcontroller-based weather station without compromising measurement reliability. This system is equipped with a weather classification module based on the Gaussian Naïve Bayes (GNB) algorithm, which processes three main parameters: air temperature, air humidity, and rainfall, to determine four weather classes: sunny, partly cloudy, light rain, and heavy rain. The GNB model calculates the probability of each class based on the normal distribution of training data, producing fast predictions with low computational load, suitable for ESP32 devices. The sensors used show high accuracy: the BME280 sensor has an R² of 0.9599 for temperature and 0.9994 for humidity, the TSL2561 sensor has an R² of 0.9992, and the tipping bucket has an R² of 1. Weather classification accuracy using GNB reaches 100% based on the confusion matrix. This system provides an affordable and reliable weather monitoring solution for areas not yet covered by commercial weather stations.

Copyrights © 2026






Journal Info

Abbrev

ojs

Publisher

Subject

Control & Systems Engineering Electrical & Electronics Engineering Engineering

Description

Focus and Scope Publication of scientific research results in the field of electrical engineering which covers: ~ Power system analysis ~ Electrical energy conversion ~ High voltage technology ~ Electronics ~ Control system ~ Telecommunication system ~ Computer and interfacing ~ Information ...