the principal system of smart house system working