Creating intelligent buildings with the Internet of Things