The function of a Building Automation System (BAS) is to control and monitor building services responsible for a wide range of systems including but not limited to heating, ventilation, air conditioning, lighting, security, and access control. Building Automation Systems undergo changes…