An event driven Smart Home Controller enabling cost effective use of electric energy and automated Demand Side Management | IEEE Conference Publication | IEEE Xplore