  This paper addresses the design and implementation of a smart building
prototype. The implementation utilizes Internet of Things (IoT) solutions to
collect, analyze, and manage data from building systems in a smart city
environment. The developed smart building prototype is capable of real-time
interactions with the residents. The main objective is to adapt the building
settings to the residents needs and provide the maximum comfort level with
minimum operational costs. For this purpose, building parameters are collected
via the sensors and transferred to a database in real-time, which can be
accessed or visualized upon the users need. Environment properties such as
temperature, light, humidity, audio, video, surveillance, and access status are
managed through a model-based controller. The developed testbed and control
scheme are generic and modular. The prototype can also be utilized for testing
cyber-physical systems features and challenges.
