The most important and which neuralgic subsystem in a smart building is security. In the smart home, security is not a simple alarm but an intelligent system that learns from the way the user lives and creates the appropriate security conditions so that all its members are protected.