Design and implementation of a universal smart energy management gateway based on the Internet of Things platform | IEEE Conference Publication | IEEE Xplore