Related Experiment Video
Updated: Sep 29, 2025

Measuring Light-Switching Behavior Using an Occupancy and Light Data Logger
Published on: January 16, 2020
Using Stream Data Processing for Real-Time Occupancy Detection in Smart Buildings
Hamza Elkhoukhi1,2, Mohamed Bakhouya1, Driss El Ouadghiri2
1LERMA-Lab, College of Engineering and Architecture, International University of Rabat, Sala El Jadida 11103, Morocco.
Abstract:
Controlling active and passive systems in buildings with the aim of optimizing energy efficiency and maintaining occupants' comfort is the major task of building management systems. However, most of these systems use a predefined configuration, which usually do not match the occupants' preferences. Therefore, occupancy detection is imperative for energy use management mainly in residential and industrial buildings. Most works related to data-driven-based occupancy detection have used batch learning techniques, which need to store first and then train the data. It is not appropriate for a non-stationary environment. Therefore, this work sheds more light on the use of non-stationary machine learning techniques. To this end, three machine learning algorithms for stream data processing are presented, tested, and evaluated in term of accuracy and resources performance (i.e., RAM, CPU), with the aim of predicting the number of occupants in smart buildings. A platform architecture that integrates IoT technologies with stream machine learning is implemented and deployed. The experimental results show the effectiveness of this approach and illustrate that the number of occupants can be predicted with an accuracy of more than 83% and without resource wasting (i.e., time of CPU use varied between 0.04s and 3.85 ⋅ 10-11 GB of RAM could be exploited per hour).
Related Concept Videos
Movement Joints in Buildings
The simplest type of movement joints, working joints, are...
Energy and Power Signals
Pipe Flowrate Measurement
The orifice meter is a simple,...

