The great technology advance over the last few years has led to a great increase in the quantity and availability of information. Having the means to obtain the required information, the main challenge is to make the best use of such information, by extracting as much knowledge as possible. The building security management process is no exception. With the emergence of IoT and the mature approach of SCADA, it is possible to guarantee a higher level of security, by analyzing the data that they are able to provide. However, a careful analysis is required to make the system able to correctly distinguish a normal situation from an undesired one. A given situation can be normal in a given context but reason for alarm in another. For this purpose, this paper presents a building security alarm enhanced with context-awareness which allows it to correctly identify an undesired situation in a given context.