This document describes an IoT-based home energy control system called RECoS that aims to minimize home energy consumption. The system uses smart sockets connected to appliances via Zigbee communication. It monitors energy usage in real-time and uses a backpropagation neural network algorithm to learn usage patterns and set adaptive energy limits to automatically shut off devices during idle periods. Experimental results found the system could reduce total home energy usage by around 45% per week. The system provides remote monitoring of appliance energy usage via a mobile app and cloud server.