Nowadays, Building Management System, BMS, has become one of the most inseparable research and executive areas in the building. Today, due to the lack of energy resources around the world, the importance of optimal fuel consumption is increasingly being noticed. The Building Management System (BMS) is responsible for managing and controlling the status of a building in terms of cooling and heating (HVAC), lighting, access control, fire alarm system (FAS) and the logical connection of these subsystems. Generally, a set of sensors send their data wirelessly to the main board (system brains). In this board, a set of processes and changes are made on incoming data, and required software feedback is performed for controlling devices and peripherals as well as monitoring operations. In designing this system, we control all of the environmental parameters in order to minimize energy consumption at home.