Skip to content
Open access

Multi-Sensor IoT Smart Home Anomaly Detection Using Random Forest Algorithm

Aug 2026 · Indonesian Journal of Computer Science · Vol 15 · 0 citations

TL;DR

The experimental results achieved an accuracy of 96.75%, precision of 94.65%, recall of 93.82%, and F1-score of 94.23%, demonstrating that Random Forest is effective for identifying anomalous conditions in smart home IoT environments.

Abstract

The increasing adoption of Internet of Things (IoT) technology in smart home environments generates large volumes of dynamic and heterogeneous multi-sensor data, creating challenges in accurately detecting anomalous conditions. This study aims to implement and evaluate the Random Forest algorithm for anomaly detection in IoT-based smart home systems using multi-sensor data. The dataset consists of temperature, humidity, light, motion, carbon monoxide (CO), liquefied petroleum gas (LPG), smoke, door/window status, and energy consumption collected from three IoT devices. Data preprocessing included cleaning, labeling, and Min-Max Scaling normalization, followed by an 80:20 training-testing split. Model performance was evaluated using a confusion matrix, accuracy, precision, recall, and F1-score. The experimental results achieved an accuracy of 96.75%, precision of 94.65%, recall of 93.82%, and F1-score of 94.23%, demonstrating that Random Forest is effective for identifying anomalous conditions in smart home IoT environments.

Read PDF

Similar papers

Open access Sep 2026

Multimodal sensor data fusion and event recognition in IoT

A novel hybrid multimodal approach called RF–LSTM–ANN which combines the Random Forest model for feature selection, the Long Short-Term Memory (LSTM) model for temporal dependency modeling and the Artificial Neural Network model for nonlinear binary classification is suggested.

Zhi-Meng Cai, Mei-Ling Huang, Ming-Ming Chen · 0 citations
Open access Sep 2026

Intelligent Data Management in IoT: A Machine Learning-Based Approach

The rapid proliferation of Internet of Things (IoT) devices has resulted in massive, heterogeneous, and high-velocity data streams, making accurate data management and device classification increasingly challenging—especially under class imbalance. This study proposes a lightweight and scalable classification pipeline...

T. Gümüş, Adham Madrooj Khaleefah Al Obaidi · 0 citations
Open access Sep 2026

An Internet of Things (IoT)-Driven Hybrid Random Forest–Long Short-Term Memory (LSTM) Framework for Real-Time Pest Infestation Prediction in Smart Poultry Farms

The research introduces a novel Internet of Things (IoT)-based hybrid intelligent approach that can detect and predict pest infestations in poultry farms (IoTHISDPIPF). In this context, the research combines IoT-based smart sensors with an ESP32 microcontroller and cloud computing to continuously collect data on temper...

G. James, Edidiong E. Nkang, Ime A. Edet et al. · 0 citations
Conference Aug 2026

Smart Tenaga: IoT Backboned and AI Integrated Energy Efficient and Carbon Footprint Alert System

Smart Tenaga is an IoT (Internet of Things) enabled energy analytics framework for live monitoring, short term forecasting and high consumption detection in shared environments. This system consists of the integration of ESP32 microcontroller and PZEM-004 sensor to check electrical parameters and transfer the same to t...

Amiera Jannah, Ganesh Kumar, M. H. Hasan et al. · 0 citations
Aug 2026

An integrated internet of things and machine learning framework for real-time wildfire monitoring and prevention

Forest fires are among the most destructive natural hazards, posing significant threats to ecosystems, infrastructure, and human life. In Mediterranean regions such as Algeria, the frequency and intensity of wildfires have increased due to climate change and human activities. This article proposes a cloud-centric hybri...

Ali Kourtiche, Souad Belhia, Mahmoud Fahsi et al. · 0 citations
Open access Aug 2026

Machine Learning-Driven IoT System for Patient Monitoring

In this paper, a healthcare monitoring system is introduced under IoT based on WiFi enabled Arduino boards to deliver patient data to the cloud through the ThingSpeak platform. It checks abnormalities in health, such as body temperature, level of oxygen, heart rate and vibration, which are checked by the system. A Long...

Adham Mohsen Saeed, Y. Alagrash, Meriam Jemel et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.