This document presents a model-based embedded control system design for a smart home. It discusses using model-based design approaches like Model-in-Loop and Hardware-in-Loop testing to model and test the control systems for smart home devices like a water heater, air conditioner, and ceiling fan before implementation. The proposed system would implement sensor networks and wireless technologies to remotely control home appliances from a central processing unit. It aims to provide a reliable, flexible and economical way to automate a home using model-based control system design approaches.