Abstract
This suggested research considers smart home systems based on Internet of Things (IoT). Securing these homes, keeping them private, and making them reliable is a significant challenge. This paper introduces a new smart home automation system based on machine learning, secure encryption, and blockchain technology to enhance security. The system employs real-time machine learning to identify abnormal patterns in sensor data that may indicate intrusions or equipment issues. Advanced Encryption Standard (AES) is employed to securely encrypt data, while Rivest-Shamir-Adleman (RSA) assists in securely sharing keys to secure communication between devices and the cloud. To prevent unauthorized access and secure data, a private blockchain is incorporated. This blockchain contains a tamper-proof record to store authentication and transaction information. The system was rolled out and experimentally tested over a simulated smart home environment utilizing Python, Raspberry Pi, and IoT sensors. Experimental results prove the effectiveness of the system, as the Machine Learning (ML) model was able to achieve 95.8% accuracy in detecting anomalies and showed a notable decline in unauthorized attempts at access. The addition of blockchain enhanced transparency and trust, while encryption processes ensured confidentiality of data without any loss of performance. In summary, the suggested framework presents a strong, smart, and secure smart home system. With the integration of AI-based monitoring and cryptographic mechanisms and decentralized authentication, it responds to several weaknesses in traditional automation systems and provides the way towards the next generation of robust smart environments.