An Environmental Control HW/SW Framework for Daily Living of Elderly and Disabled People