A magical system with integration of Internet of Things (IoT) and cloud-based technology designed for smart building implementation. It tracks public toilet usage to enable optimization of toilet cleaning resources and provides toilet occupancy status updates to individual application users.