This Project Deals With An Effective Use Of LOT For Environmental Condition Monitoring And Controlling In Homes.It Provides Fault Detection And Correction In Any Devices Connected To This System Automatically. Now A Day's Due To Huge Advancement In Wireless Sensor Network And Other Computation Technologies, It Is Possible To Provide Flexible And Low Cost Home Automation System. However There Is No Any System Available In Market Which Provide Home Automation As Well As Error Detection In The Devices Efficiently. In This Project, We Use Prediction To Find Out The Required Solution If Any Problem Occurs In Any Device Connected To The System. To Achieve That We Are Applying Data Mining Concept. For Efficient Data Mining We Use Naive Bayes Classifier Algorithm To Find Out The Best Possible Solution. This Gives A Huge Upper Hand On Other Available Home Automation System, And We Actually Manage To Provide A Real Intelligent System.