Research Article

An Evaluation and Implementation of Rule-Based Home Energy Management System Using the Rete Algorithm

Algorithm 1

An example of rule.
for electrical_appliance_in_entrance ,
 sensor_data_in_living_room
If   .type = “light” and
.status = “OFF” and
.type = “human detection” and
.value = true
Then
 turn on