Internet Of Things And Intelligent Technologies For Efficient Energy Management In A Smart Building Environment