Jurnal Sistem Cerdas
Vol. 9 No. 1 (2026)

Random Forest Regression for Energy Consumption Prediction on Raspberry Pi Edge Computing

Arifianto, Mada Jimmy Fonda (Unknown)
Nugroho, Waluyo (Unknown)
Afianto (Unknown)



Article Info

Publish Date
18 May 2026

Abstract

Efficient energy management in smart homes is critical for cost reduction and sustainability, yet conventional cloud-based monitoring systems often face challenges related to network latency, bandwidth consumption, and data privacy. This study proposes an Edge Computing architecture to predict electrical energy consumption locally using a Raspberry Pi, thereby eliminating the dependency on continuous cloud processing. The system integrates a PZEM-004T sensor to acquire real-time voltage, current, and power data, while the core intelligence is built upon the Random Forest Regression (RFR) algorithm trained and deployed directly on the Raspberry Pi to forecast short-term energy load based on historical usage patterns and Internet of Things (IoT). Experimental results demonstrate that the proposed edge system achieves high prediction accuracy with an R2 score of 0.94 and a Mean Absolute Percentage Error (MAPE) of 4.25%, and a Root Mean Square Error (RMSE) of 12.80 Watts using a model configuration of 100 estimators, confirming that Raspberry Pi based edge computing is a viable, low latency, and privacy preserving solution for intelligent energy management

Copyrights © 2026






Journal Info

Abbrev

jsc

Publisher

Subject

Automotive Engineering Computer Science & IT Control & Systems Engineering Education Electrical & Electronics Engineering

Description

Jurnal Sistem Cerdas dengan eISSN : 2622-8254 adalah media publikasi hasil penelitian yang mendukung penelitian dan pengembangan kota, desa, sektor dan kesistemam lainnya. Jurnal ini diterbitkan oleh Asosiasi Prakarsa Indonesia Cerdas (APIC) dan terbit setiap empat bulan ...