Developing a Human Behavior Model at Home and Its Application