Nurwarsito, Heru; Habibi, M. Tamim; Bin Mahdin, Hairulnizam; Taufik, Taufik; Oakley, Simon
ORCID: https://orcid.org/0000-0002-5757-7420.
2026
Forest microclimate stability prediction: an IoT and random forest-based approach.
International Journal of Robotics and Control Systems, 6 (6), 3252.
26, pp.
10.31763/ijrcs.v6i6.3252
Forest microclimate is sensitive to canopy disturbance, yet continuous field monitoring remains scarce in tropical forests such as UB Forest. This study reports a solar-powered, dual-path IoT data logger (MQTT to ThingSpeak and Google Sheets, with a microSD backup) that records air temperature, soil temperature, air humidity, soil moisture, and light intensity every 15 minutes at two field nodes, and evaluates a Random Forest classifier that predicts one-hour-ahead microclimate stability. The nodes rarely operated simultaneously, so 24.3% of Unit 1 and 94.5% of Unit 2 records were reconstructed, and the entire held-out test period of the first experiment lies after Unit 1’s last direct measurement. On that reconstruction-affected test set, Random Forest reached 86% accuracy (macro-F1 0.796; unstable-class recall 0.98), but a k-nearest-neighbors baseline reached 95% accuracy and a previous-label persistence rule reached 0.71 unstable-class F1, so accuracy alone does not demonstrate skill. The primary validation therefore uses only Unit 1’s directly measured window (785 test rows). There, Random Forest reaches 0.739 macro-F1 and 0.630 unstable-class F1, which is modestly above a time-of-day-only model (0.718) but below previous-label persistence (0.817). The IoT-derived sensor features therefore carry modest predictive information beyond time-of-day patterns, whereas simple temporal persistence remains a strong baseline. The dominance of the Lux_U1 feature is confounded by reconstruction, and label-threshold, calibration, and ablation analyses support a cautious interpretation. Continuously measured, multi-node data over a longer period are needed before stronger claims are justified.
Available under License Creative Commons Attribution Non-commercial 4.0.
Download (3MB) | Preview
Downloads per month over past year
Altmetric Badge
Dimensions Badge
![]() |
