IoT enabled smart building