Enhancing Security and Energy Efficiency in Smart Energy Management Systems through IoT Device Detection and Machine Learning Techniques | IEEE Conference Publication | IEEE Xplore