The document presents a method to improve electricity efficiency using an infrared sensor and IoT technology, with a focus on household energy consumption. By employing a microcontroller system with Arduino and Raspberry Pi, the method successfully reduced electricity bills by 7.7-8.2% over two months. This approach simplifies sensor usage and highlights the potential for further research in energy savings for households.