Understanding the Internet of Things: Towards a Smart Planet