This document proposes applying big data techniques to smart cities to better utilize vast amounts of data from various sensors. It presents a general IoT architecture with four layers and describes two scenarios: 1) Using data from campus sensors to improve energy efficiency and comfort in smart buildings. This achieved 23% average energy savings per month. 2) Analyzing transportation card data to detect travel patterns and improve planning for public tram services. The ongoing work aims to incorporate human behavior data to further optimize smart city services.