Couple things. Not really too familiar with how to code this. Second, the investment into the Caseta ecosystem was not cheap (probably well over $1000) between electrician costs along with the equipment. Third, I am not sure how well adding a motion sensor or people to multiple rooms would go over with wife. Unless I am not understanding this correctly.